GetChatMessagePosition constructor

const GetChatMessagePosition({
  1. required int chatId,
  2. required int messageId,
  3. required SearchMessagesFilter filter,
  4. required int messageThreadId,
})

Returns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat. Cannot be used in secret chats

Implementation

const GetChatMessagePosition({
  required this.chatId,
  required this.messageId,
  required this.filter,
  required this.messageThreadId,
});