mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge pull request #349 from MasterGroosha/patch-2
Fixed wrong method call
This commit is contained in:
commit
4e1d5b83b6
@ -661,7 +661,7 @@ class TeleBot:
|
|||||||
return types.Message.de_json(result)
|
return types.Message.de_json(result)
|
||||||
|
|
||||||
def answer_shipping_query(self, shipping_query_id, ok, shipping_options=None, error_message=None):
|
def answer_shipping_query(self, shipping_query_id, ok, shipping_options=None, error_message=None):
|
||||||
return apihelper.answer_shippingQuery(self.token, shipping_query_id, ok, shipping_options, error_message)
|
return apihelper.answer_shipping_query(self.token, shipping_query_id, ok, shipping_options, error_message)
|
||||||
|
|
||||||
def answer_pre_checkout_query(self, pre_checkout_query_id, ok, error_message=None):
|
def answer_pre_checkout_query(self, pre_checkout_query_id, ok, error_message=None):
|
||||||
return apihelper.answer_pre_checkout_query(self.token, pre_checkout_query_id, ok, error_message)
|
return apihelper.answer_pre_checkout_query(self.token, pre_checkout_query_id, ok, error_message)
|
||||||
|
Loading…
Reference in New Issue
Block a user