SearchChatMessages constructor
- {required int chat_id,
- required String query,
- MessageSender? sender_id,
- required int from_message_id,
- required int offset,
- required int limit,
- SearchMessagesFilter? filter,
- required int message_thread_id,
- int? extra,
- int? clientId}
Searches for messages with given words in the chat. Returns the results in reverse chronological order, i.e. in order of decreasing message_id. Cannot be used in secret chats with a non-empty query
Returns FoundChatMessages
Implementation
SearchChatMessages