| Package | Description |
|---|---|
| com.google.api.services.chat.v1 | |
| com.google.api.services.chat.v1.model |
| Modifier and Type | Method and Description |
|---|---|
HangoutsChat.Spaces.Messages.Create |
HangoutsChat.Spaces.Messages.create(String parent,
Message content)
Creates a message.
|
HangoutsChat.Spaces.Messages.Update |
HangoutsChat.Spaces.Messages.update(String name,
Message content)
Updates a message.
|
| Constructor and Description |
|---|
Create(String parent,
Message content)
Creates a message.
|
Update(String name,
Message content)
Updates a message.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.clone() |
Message |
DeprecatedEvent.getMessage()
The message that triggered the event, if applicable.
|
Message |
Message.set(String fieldName,
Object value) |
Message |
Message.setActionResponse(ActionResponse actionResponse)
Input only.
|
Message |
Message.setAnnotations(List<Annotation> annotations)
Output only.
|
Message |
Message.setArgumentText(String argumentText)
Plain-text body of the message with all bot mentions stripped out.
|
Message |
Message.setAttachment(List<Attachment> attachment)
User uploaded attachment.
|
Message |
Message.setCards(List<Card> cards)
Rich, formatted and interactive cards that can be used to display UI elements such as:
formatted texts, buttons, clickable images.
|
Message |
Message.setCreateTime(String createTime)
Output only.
|
Message |
Message.setFallbackText(String fallbackText)
A plain-text description of the message's cards, used when the actual cards cannot be displayed
(e.g.
|
Message |
Message.setName(String name)
Resource name, in the form "spaces/messages".
|
Message |
Message.setPreviewText(String previewText)
Text for generating preview chips.
|
Message |
Message.setSender(User sender)
The user who created the message.
|
Message |
Message.setSlashCommand(SlashCommand slashCommand)
Slash command information, if applicable.
|
Message |
Message.setSpace(Space space)
The space the message belongs to.
|
Message |
Message.setText(String text)
Plain-text body of the message.
|
Message |
Message.setThread(Thread thread)
The thread the message belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
DeprecatedEvent |
DeprecatedEvent.setMessage(Message message)
The message that triggered the event, if applicable.
|
Copyright © 2011–2020 Google. All rights reserved.