get_callback_query_message()#
- Client.get_callback_query_message()#
Returns information about a message with the callback button that originated a callback query.
Usable by Users Bots- Parameters:
chat_id (
int
|str
, optional) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”. For a contact that exists in your Telegram address book you can use his phone number (str).message_id (
int
) – Message identifier.callback_query_id (
int
) – Identifier of the callback query.replies (
int
, optional) – The number of subsequent replies to get for each message. Pass 0 for no reply at all or -1 for unlimited replies. Defaults to 1.