| Package | Description |
|---|---|
| com.google.api.services.chat.v1.model |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
Annotation.clone() |
Annotation |
Annotation.set(String fieldName,
Object value) |
Annotation |
Annotation.setCustomEmojiMetadata(CustomEmojiMetadata customEmojiMetadata)
The metadata for a custom emoji.
|
Annotation |
Annotation.setLength(Integer length)
Length of the substring in the plain-text message body this annotation corresponds to.
|
Annotation |
Annotation.setRichLinkMetadata(RichLinkMetadata richLinkMetadata)
The metadata for a rich link.
|
Annotation |
Annotation.setSlashCommand(SlashCommandMetadata slashCommand)
The metadata for a slash command.
|
Annotation |
Annotation.setStartIndex(Integer startIndex)
Start index (0-based, inclusive) in the plain-text message body this annotation corresponds to.
|
Annotation |
Annotation.setType(String type)
The type of this annotation.
|
Annotation |
Annotation.setUserMention(UserMentionMetadata userMention)
The metadata of user mention.
|
| Modifier and Type | Method and Description |
|---|---|
List<Annotation> |
Message.getAnnotations()
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.setAnnotations(List<Annotation> annotations)
Output only.
|
Copyright © 2011–2025 Google. All rights reserved.