Work with Message Context

Use the MessageContext class to work with messages.

Contains information about messages.

MessageContext has the following methods.

Gets the timestamp of the message.

Signature

Return Value

Type: String

Gets the ID of the user who initiated the shortcut.

Signature

Return Value

Type: String

The text of the message.

Signature

Return Value

Type: String