GetChatMessagePosition constructor

GetChatMessagePosition(
  1. {required int chat_id,
  2. required int message_id,
  3. required SearchMessagesFilter filter,
  4. required int message_thread_id,
  5. int? extra,
  6. int? clientId}
)

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

Returns Count

Implementation

GetChatMessagePosition