Skip to content

Commit 60d8303

Browse files
authored
set answer_pre_checkout_query query_id argument type to str
As per the documentation - https://core.telegram.org/bots/api#answerprecheckoutquery
1 parent ee74899 commit 60d8303

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

telebot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5627,7 +5627,7 @@ def answer_shipping_query(
56275627

56285628

56295629
def answer_pre_checkout_query(
5630-
self, pre_checkout_query_id: int, ok: bool,
5630+
self, pre_checkout_query_id: str, ok: bool,
56315631
error_message: Optional[str]=None) -> bool:
56325632
"""
56335633
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)