クラス ChatUpdateRequest.ChatUpdateRequestBuilder
java.lang.Object
com.slack.api.methods.request.chat.ChatUpdateRequest.ChatUpdateRequestBuilder
- 含まれているクラス:
ChatUpdateRequest
-
メソッドの概要
修飾子とタイプメソッド説明Pass true to post the message as the authed user, instead of as a bot.attachments(List<Attachment> attachments) A JSON-based array of structured attachments, presented as a URL-encoded string.attachmentsAsString(String attachmentsAsString) A JSON-based array of structured attachments, presented as a URL-encoded string.blocks(List<LayoutBlock> blocks) A JSON-based array of structured blocks, presented as a URL-encoded string.blocksAsString(String blocksAsString) A JSON-based array of structured blocks as a String, presented as a URL-encoded string.build()Channel, private group, or IM channel to send message to.Array of new file ids that will be sent with this message.linkNames(boolean linkNames) Find and link channel names and usernames.metadata(Message.Metadata metadata) JSON object with event_type and event_payload fields, presented as a URL-encoded string.metadataAsString(String metadataAsString) JSON object with event_type and event_payload fields, presented as a URL-encoded string.Change how messages are treated.replyBroadcast(Boolean replyBroadcast) Broadcast an existing thread reply to make it visible to everyone in the channel or conversation.Text of the message to send.Authentication token.toString()Timestamp of the message to be updated.`id` of the user who will receive the ephemeral message.
-
メソッドの詳細
-
token
Authentication token. Requires scope: `chat:write`- 戻り値:
this.
-
channel
Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name.- 戻り値:
this.
-
ts
Timestamp of the message to be updated.- 戻り値:
this.
-
text
Text of the message to send. See below for an explanation of [formatting](#formatting). This field is usually required, unless you're providing only `attachments` instead.- 戻り値:
this.
-
user
`id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument.- 戻り値:
this.
-
replyBroadcast
Broadcast an existing thread reply to make it visible to everyone in the channel or conversation.- 戻り値:
this.
-
asUser
Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [authorship](#authorship) below.- 戻り値:
this.
-
metadata
JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace.- 戻り値:
this.
-
metadataAsString
JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace.- 戻り値:
this.
-
blocks
A JSON-based array of structured blocks, presented as a URL-encoded string.- 戻り値:
this.
-
blocksAsString
A JSON-based array of structured blocks as a String, presented as a URL-encoded string.- 戻り値:
this.
-
attachments
A JSON-based array of structured attachments, presented as a URL-encoded string.- 戻り値:
this.
-
attachmentsAsString
A JSON-based array of structured attachments, presented as a URL-encoded string.- 戻り値:
this.
-
fileIds
Array of new file ids that will be sent with this message.- 戻り値:
this.
-
linkNames
Find and link channel names and usernames.- 戻り値:
this.
-
parse
Change how messages are treated. Defaults to `none`. See [below](#formatting).- 戻り値:
this.
-
build
-
toString
-