mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +03:00
fix typo
This commit is contained in:
parent
fbf0adb87b
commit
9db309b60c
|
@ -85,7 +85,6 @@ class ButtonCallback(Event):
|
||||||
if isinstance(self._raw, types.UpdateInlineBotCallbackQuery):
|
if isinstance(self._raw, types.UpdateInlineBotCallbackQuery):
|
||||||
# for that type of update, the msg_id and owner_id are present, however bot is not guaranteed
|
# for that type of update, the msg_id and owner_id are present, however bot is not guaranteed
|
||||||
# to have "access" to the owner_id.
|
# to have "access" to the owner_id.
|
||||||
owner_id = None
|
|
||||||
if isinstance(self._raw.msg_id, types.InputBotInlineMessageId):
|
if isinstance(self._raw.msg_id, types.InputBotInlineMessageId):
|
||||||
# telegram used to pack msg_id and peer_id into InputBotInlineMessageId.id
|
# telegram used to pack msg_id and peer_id into InputBotInlineMessageId.id
|
||||||
# I assume this is for the chats with IDs, fitting into 32-bit integer.
|
# I assume this is for the chats with IDs, fitting into 32-bit integer.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user