UpdateChatRequest

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])
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 previous attachments will be retained. To remove previous attachments, 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 previous blocks, 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, unlike chat.postMessage. Accepts either none or full. 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 or attachments.

ts

Timestamp of the message to be updated.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product