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:
parent
db2accc2f8
commit
2d0b092ea4
@ -2179,7 +2179,7 @@ class TeleBot:
|
|||||||
switch_pm_text, switch_pm_parameter)
|
switch_pm_text, switch_pm_parameter)
|
||||||
|
|
||||||
def answer_callback_query(
|
def answer_callback_query(
|
||||||
self, callback_query_id: str,
|
self, callback_query_id: int,
|
||||||
text: Optional[str]=None, show_alert: Optional[bool]=None,
|
text: Optional[str]=None, show_alert: Optional[bool]=None,
|
||||||
url: Optional[str]=None, cache_time: Optional[int]=None) -> bool:
|
url: Optional[str]=None, cache_time: Optional[int]=None) -> bool:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user