Optional channel_The channel this message belongs to.
Optional codeThe code representing a message type or category.
Optional contentThe content payload.
Optional create_The UNIX time when the message was created.
Optional group_The ID of the group, or an empty string if this message was not sent through a group channel.
Optional message_The unique ID of this message.
Optional persistentTrue if the message was persisted to the channel's history, false otherwise.
Optional reference_Another message ID reference, if any.
Optional room_The name of the chat room, or an empty string if this message was not sent through a chat room.
Optional sender_Message sender, usually a user ID.
Optional update_The UNIX time when the message was last updated.
Optional user_The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
Optional user_The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
Optional usernameThe username of the message sender, if any.
Generated using TypeDoc
A message sent on a channel.