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

Merge pull request #1225 from dannkunt/patch-1

Fix wrong type hint
This commit is contained in:
Badiboy 2021-07-13 11:32:06 +03:00 committed by GitHub
commit 38319871e6
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:
"""