- Value parameters:
- as_user
Pass true to update the message as the authed user. Bot users in this context are considered authed users.
- attachments
A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting
text
. If you don't include this field, the message's previousattachments
will be retained. To remove previousattachments
, include an empty array for this field.- blocks
A JSON-based array of structured blocks, presented as a URL-encoded string. If you don't include this field, the message's previous
blocks
will be retained. To remove previousblocks
, include an empty array for this field.- channel
Channel containing the message to be updated.
- link_names
Find and link channel names and usernames. Defaults to
none
. If you do not specify a value for this field, the original value set for the message will be overwritten with the default,none
.- parse
Change how messages are treated. Defaults to
client
, unlikechat.postMessage
. Accepts eithernone
orfull
. If you do not specify a value for this field, the original value set for the message will be overwritten with the default,client
.- text
New text for the message, using the default formatting rules. It's not required when presenting
blocks
orattachments
.- ts
Timestamp of the message to be updated.
- Companion:
- object
case class UpdateChatRequest(channel: String, ts: String, as_user: Option[Boolean], attachments: Option[String], blocks: Option[String], link_names: Option[String], parse: Option[String], text: Option[String])
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any