@@ -1926,7 +1926,8 @@ def answer_shipping_query(self,
19261926 shipping_query_id ,
19271927 ok ,
19281928 shipping_options = None ,
1929- error_message = None ):
1929+ error_message = None ,
1930+ ** kwargs ):
19301931 """
19311932 If you sent an invoice requesting a shipping address and the parameter is_flexible was
19321933 specified, the Bot API will send an Update with a shipping_query field to the bot. Use
@@ -1943,6 +1944,7 @@ def answer_shipping_query(self,
19431944 that explains why it is impossible to complete the order (e.g. "Sorry, delivery
19441945 to your desired address is unavailable'). Telegram will display this message
19451946 to the user.
1947+ **kwargs (dict): Arbitrary keyword arguments.
19461948
19471949 Returns:
19481950 bool: On success, `True` is returned.
@@ -1962,7 +1964,8 @@ def answer_shipping_query(self,
19621964
19631965 return url , data
19641966
1965- def answer_pre_checkout_query (self , pre_checkout_query_id , ok , error_message = None ):
1967+ def answer_pre_checkout_query (self , pre_checkout_query_id , ok ,
1968+ error_message = None , ** kwargs ):
19661969 """
19671970 If you sent an invoice requesting a shipping address and the parameter is_flexible was
19681971 specified, the Bot API will send an Update with a shipping_query field to the bot.
@@ -1977,6 +1980,7 @@ def answer_pre_checkout_query(self, pre_checkout_query_id, ok, error_message=Non
19771980 just bought the last of our amazing black T-shirts while you were busy filling out
19781981 your payment details. Please choose a different color or garment!"). Telegram will
19791982 display this message to the user.
1983+ **kwargs (dict): Arbitrary keyword arguments.
19801984
19811985 Returns:
19821986 bool: On success, `True` is returned.
0 commit comments