SearchMessages constructor
const
SearchMessages({})
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)).. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
Implementation
const SearchMessages({
this.chatList,
required this.query,
required this.offsetDate,
required this.offsetChatId,
required this.offsetMessageId,
required this.limit,
this.filter,
required this.minDate,
required this.maxDate,
});