A message sent on a channel.

Hierarchy

  • ChannelMessage

Properties

channel_id?: string

The channel this message belongs to.

code?: number

The code representing a message type or category.

content?: object

The content payload.

create_time?: string

The UNIX time when the message was created.

group_id?: string

The ID of the group, or an empty string if this message was not sent through a group channel.

message_id?: string

The unique ID of this message.

persistent?: boolean

True if the message was persisted to the channel's history, false otherwise.

reference_id?: string

Another message ID reference, if any.

room_name?: string

The name of the chat room, or an empty string if this message was not sent through a chat room.

sender_id?: string

Message sender, usually a user ID.

update_time?: string

The UNIX time when the message was last updated.

user_id_one?: string

The ID of the first DM user, or an empty string if this message was not sent through a DM chat.

user_id_two?: string

The ID of the second DM user, or an empty string if this message was not sent through a DM chat.

username?: string

The username of the message sender, if any.

Generated using TypeDoc