1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix wrong type hint

call.id gives int
This commit is contained in:
dannkunt 2021-07-10 22:03:31 +03:00 committed by GitHub
parent db2accc2f8
commit 2d0b092ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2179,7 +2179,7 @@ class TeleBot:
switch_pm_text, switch_pm_parameter)
def answer_callback_query(
self, callback_query_id: str,
self, callback_query_id: int,
text: Optional[str]=None, show_alert: Optional[bool]=None,
url: Optional[str]=None, cache_time: Optional[int]=None) -> bool:
"""