Identifier of the chat in which to find message position.
Filter for message content; searchMessagesFilterEmpty, searchMessagesFilterUnreadMention, searchMessagesFilterUnreadReaction, and searchMessagesFilterFailedToSend are unsupported in this function.
Message identifier.
Pass topic identifier to get position among messages only in specific topic; pass null to get position among all chat messages.
Returns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat and topic. Cannot be used in secret chats. Request type for Tdjson#getChatMessagePosition.