SearchMessages constructor

SearchMessages(
  1. {ChatList? chat_list,
  2. required String query,
  3. required String offset,
  4. required int limit,
  5. SearchMessagesFilter? filter,
  6. required int min_date,
  7. required int max_date,
  8. int? extra,
  9. int? clientId}
)

Searches for messages in all chats except secret chats. Returns the results in reverse chronological order (i.e., in order of decreasing (date, chat_id, message_id)).

Returns FoundMessages

Implementation

SearchMessages