Skip to content

Commit 99d3243

Browse files
authored
set answer_pre_checkout_query query id type to string. in async_telebot.py
1 parent 60d8303 commit 99d3243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

telebot/async_telebot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6977,7 +6977,7 @@ async def answer_shipping_query(
69776977
return await asyncio_helper.answer_shipping_query(self.token, shipping_query_id, ok, shipping_options, error_message)
69786978

69796979
async def answer_pre_checkout_query(
6980-
self, pre_checkout_query_id: int, ok: bool,
6980+
self, pre_checkout_query_id: str, ok: bool,
69816981
error_message: Optional[str]=None) -> bool:
69826982
"""
69836983
Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the

0 commit comments

Comments
 (0)