mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-14 11:43:50 +01:00
fix docstring mistakes
This commit is contained in:
parent
ee057e76ef
commit
cc03649f1c
2 changed files with 2 additions and 2 deletions
|
@ -90,5 +90,5 @@ class PreCheckoutQuery(TelegramObject):
|
|||
return data
|
||||
|
||||
def answer(self, *args, **kwargs):
|
||||
"""Shortcut for ``bot.answerPreCheckoutQuery(update.callback_query.id, *args, **kwargs)``"""
|
||||
"""Shortcut for ``bot.answerPreCheckoutQuery(update.pre_checkout_query.id, *args, **kwargs)``"""
|
||||
return self.bot.answerPreCheckoutQuery(self.id, *args, **kwargs)
|
||||
|
|
|
@ -75,5 +75,5 @@ class ShippingQuery(TelegramObject):
|
|||
return data
|
||||
|
||||
def answer(self, *args, **kwargs):
|
||||
"""Shortcut for ``bot.answerShippingQuery(update.callback_query.id, *args, **kwargs)``"""
|
||||
"""Shortcut for ``bot.answerShippingQuery(update.shipping_query.id, *args, **kwargs)``"""
|
||||
return self.bot.answerShippingQuery(self.id, *args, **kwargs)
|
||||
|
|
Loading…
Add table
Reference in a new issue