Skip to content

Commit

Permalink
set answer_pre_checkout_query query id type to string. in async_teleb…
Browse files Browse the repository at this point in the history
…ot.py
  • Loading branch information
Relecto authored Aug 21, 2024
1 parent 60d8303 commit 99d3243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telebot/async_telebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6977,7 +6977,7 @@ async def answer_shipping_query(
return await asyncio_helper.answer_shipping_query(self.token, shipping_query_id, ok, shipping_options, error_message)

async def answer_pre_checkout_query(
self, pre_checkout_query_id: int, ok: bool,
self, pre_checkout_query_id: str, ok: bool,
error_message: Optional[str]=None) -> bool:
"""
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
Expand Down

0 comments on commit 99d3243

Please sign in to comment.