View Source ExTDLib.Method.GetChatMessagePosition (ExTDLib v0.0.4)
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 object_ptr<Count>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Identifier of the chat in which to find message position. |
| message_id | string | Message identifier. |
| filter | SearchMessagesFilter | Filter for message content; searchMessagesFilterEmpty, searchMessagesFilterUnreadMention, searchMessagesFilterUnreadReaction, and searchMessagesFilterFailedToSend are unsupported in this function. |
| message_thread_id | string | If not 0, only messages in the specified thread will be considered; supergroups only. |
More details on telegram's documentation.