Interface FoundChatMessages

Contains a list of messages found by a search in a given chat.

interface FoundChatMessages {
    @type: "foundChatMessages";
    messages: Message[];
    next_from_message_id: number;
    total_count: number;
}

Properties

@type: "foundChatMessages"
messages: Message[]

List of messages.

next_from_message_id: number

The offset for the next request. If 0, there are no more results.

total_count: number

Approximate total number of messages found; -1 if unknown.