interface PreviousMessageListQueryParams {
    customTypesFilter?: string[];
    includeMetaArray?: boolean;
    includeParentMessageInfo?: boolean;
    includeReactions?: boolean;
    includeThreadInfo?: boolean;
    limit?: number;
    messageTypeFilter?: MessageTypeFilter;
    replyType?: ReplyType;
    reverse?: boolean;
    senderUserIdsFilter?: string[];
    showSubchannelMessagesOnly?: boolean;
}

Hierarchy

  • BaseListQueryParams
    • PreviousMessageListQueryParams

Properties

customTypesFilter?: string[]

The custom type filter of the message.

includeMetaArray?: boolean

Whether the meta arrays should be included in the results. If the value is null, it follows the default value.

includeParentMessageInfo?: boolean

Whether the information of a parent message should be included in the reply messages included in the results.

includeReactions?: boolean

Whether the reaction data should be included in the results. If the value is null, it follows the default value.

includeThreadInfo?: boolean

Whether the thread information should be included in the results. If the value is null, it follows the default value.

limit?: number

The maximum number of data per queried page.

messageTypeFilter?: MessageTypeFilter

Message type filter.

replyType?: ReplyType

Determines the reply types to include in the results.

reverse?: boolean

Indicates whether the queried result will be reversed. If true, the result will be returned by creation time descending order.

senderUserIdsFilter?: string[]

Sender user IDs filter.

showSubchannelMessagesOnly?: boolean

If set to true, only messages that belong to current user's subchannel is fetched. If set to false, all messages will be fetched. Default is false. Takes effect only when the requested channel is a dynamically partitioned open channel.