Enum MarkupSyntax (0.63.0)

public enum MarkupSyntax extends Enum<MarkupSyntax> implements ProtocolMessageEnum

Specifies the markup syntax used to format the Chat message text. Applies to the text field of the Message resource.

Protobuf enum google.chat.v1.MarkupSyntax

Implements

ProtocolMessageEnum

Static Fields

Name Description
MARKUP_SYNTAX_CHAT

Uses Google Chat's markup syntax. See https://developers.google.com/workspace/chat/format-messages#format-texts for more information.

MARKUP_SYNTAX_CHAT = 1;

MARKUP_SYNTAX_CHAT_VALUE

Uses Google Chat's markup syntax. See https://developers.google.com/workspace/chat/format-messages#format-texts for more information.

MARKUP_SYNTAX_CHAT = 1;

MARKUP_SYNTAX_MARKDOWN

Uses Markdown syntax. This syntax is based on the CommonMark specification, with additional extensions. See https://developers.google.com/workspace/chat/format-messages#format-texts for more information.

MARKUP_SYNTAX_MARKDOWN = 2;

MARKUP_SYNTAX_MARKDOWN_VALUE

Uses Markdown syntax. This syntax is based on the CommonMark specification, with additional extensions. See https://developers.google.com/workspace/chat/format-messages#format-texts for more information.

MARKUP_SYNTAX_MARKDOWN = 2;

MARKUP_SYNTAX_UNSPECIFIED

Represents the unspecified value.

MARKUP_SYNTAX_UNSPECIFIED = 0;

MARKUP_SYNTAX_UNSPECIFIED_VALUE

Represents the unspecified value.

MARKUP_SYNTAX_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()