SearchSecretMessages constructor

const SearchSecretMessages({
  1. required int chatId,
  2. required String query,
  3. required String offset,
  4. required int limit,
  5. SearchMessagesFilter? filter,
})

Searches for messages in secret chats. Returns the results in reverse chronological order. For optimal performance, the number of returned messages is chosen by TDLib

Implementation

const SearchSecretMessages({
  required this.chatId,
  required this.query,
  required this.offset,
  required this.limit,
  this.filter,
});