Function iterSearchMessages
- iterSearchMessages(client, params?): AsyncIterableIterator<Message>
Parameters
- client: ITelegramClient
Optional
params: {
addOffset?: number;
chatId?: InputPeerLike;
filter?: TypeMessagesFilter;
fromUser?: InputPeerLike;
limit?: number;
maxDate?: number | Date;
maxId?: number;
minDate?: number | Date;
minId?: number;
offset?: number;
query?: string;
threadId?: number;
} & {
chunkSize?: number;
limit?: number;
}
Returns AsyncIterableIterator<Message>
Search for messages inside a specific chat
Iterable version of searchMessages