Represents a params for retrieving a single message.

interface MessageRetrievalParams {
    channelType: ChannelType;
    channelUrl: string;
    includeMetaArray?: boolean;
    includeParentMessageInfo?: boolean;
    includeReactions?: boolean;
    includeThreadInfo?: boolean;
    messageId: number;
}

Properties

channelType: ChannelType

The channel type.

channelUrl: string

The channel URL.

includeMetaArray?: boolean

Whether the result message includes MessageMetaArray.

includeParentMessageInfo?: boolean

Whether the result message includes parent message info.

includeReactions?: boolean

Whether the result message includes Reactions.

includeThreadInfo?: boolean

Whether the result message includes ThreadInfo.

messageId: number

The ID of the message to retrieve.