mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-09 00:14:50 +00:00
Fix CallbackQuery docstrings
This commit is contained in:
parent
568300121e
commit
c40f061d9a
1 changed files with 6 additions and 6 deletions
|
|
@ -40,15 +40,15 @@ class CallbackQuery(PyrogramType, Update):
|
||||||
Sender.
|
Sender.
|
||||||
|
|
||||||
chat_instance (``str``, *optional*):
|
chat_instance (``str``, *optional*):
|
||||||
|
Global identifier, uniquely corresponding to the chat to which the message with the callback button was
|
||||||
|
sent. Useful for high scores in games.
|
||||||
|
|
||||||
|
message (:obj:`Message <pyrogram.Message>`, *optional*):
|
||||||
Message with the callback button that originated the query. Note that message content and message date will
|
Message with the callback button that originated the query. Note that message content and message date will
|
||||||
not be available if the message is too old.
|
not be available if the message is too old.
|
||||||
|
|
||||||
message (:obj:`Message <pyrogram.Message>`, *optional*):
|
|
||||||
Identifier of the message sent via the bot in inline mode, that originated the query.
|
|
||||||
|
|
||||||
inline_message_id (``str``):
|
inline_message_id (``str``):
|
||||||
Global identifier, uniquely corresponding to the chat to which the message with the callback button was
|
Identifier of the message sent via the bot in inline mode, that originated the query.
|
||||||
sent. Useful for high scores in games.
|
|
||||||
|
|
||||||
data (``bytes``, *optional*):
|
data (``bytes``, *optional*):
|
||||||
Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.
|
Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.
|
||||||
|
|
@ -72,9 +72,9 @@ class CallbackQuery(PyrogramType, Update):
|
||||||
|
|
||||||
self.id = id
|
self.id = id
|
||||||
self.from_user = from_user
|
self.from_user = from_user
|
||||||
|
self.chat_instance = chat_instance
|
||||||
self.message = message
|
self.message = message
|
||||||
self.inline_message_id = inline_message_id
|
self.inline_message_id = inline_message_id
|
||||||
self.chat_instance = chat_instance
|
|
||||||
self.data = data
|
self.data = data
|
||||||
self.game_short_name = game_short_name
|
self.game_short_name = game_short_name
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue