Description

Represents a message list params.

Hierarchy

  • MessageListParams

Properties

customTypesFilter?: string[]

Restricts the search scope only to retrieve the messages that match any of given custom types. When a empty string is given, messages that does not have a custom type will also be returned.

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.

isInclusive?: boolean

Determines whether to include the messages sent exactly on the specified timestamp or have the matching message ID in the results.

messageTypeFilter?: MessageTypeFilter

Restricts the search scope only to retrieve the messages with the specified message type.

nextResultSize: number

The number of newer messages added either before the timestamp or the message that has a specific message ID.

prevResultSize: number

The number of previous messages added either before the timestamp or the message that has a specific message ID.

replyType?: ReplyType

Determines the reply types to include in the results.

reverse?: boolean

Determines whether to sort the retrieved messages in reverse order.

senderUserIdsFilter?: string[]

Restricts the search scope only to retrieve the messages sent by the users with the specified user IDs.

showSubchannelMessagesOnly?: boolean

Whether to show subchannel message only. (default: false) This only takes effect when the requested channel is a dynamically partitioned OpenChannel.

Generated using TypeDoc