1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Invoice tips typo fix

This commit is contained in:
Badiboy 2021-07-15 09:27:07 +03:00
parent 2b1db1f1b3
commit 29c98b0230
2 changed files with 3 additions and 2 deletions

View File

@ -1984,7 +1984,8 @@ class TeleBot:
provider_data: Optional[str]=None,
timeout: Optional[int]=None,
allow_sending_without_reply: Optional[bool]=None,
max_tip_amount: Optional[int] = None, suggested_tip_amounts: Optional[list]=None) -> types.Message:
max_tip_amount: Optional[int] = None,
suggested_tip_amounts: Optional[list]=None) -> types.Message:
"""
Sends invoice
:param chat_id: Unique identifier for the target private chat

View File

@ -1258,7 +1258,7 @@ def send_invoice(
need_name=None, need_phone_number=None, need_email=None, need_shipping_address=None,
send_phone_number_to_provider = None, send_email_to_provider = None, is_flexible=None,
disable_notification=None, reply_to_message_id=None, reply_markup=None, provider_data=None,
timeout=None, allow_sending_without_reply=None,max_tip_amount=None, suggested_tip_amounts=None):
timeout=None, allow_sending_without_reply=None, max_tip_amount=None, suggested_tip_amounts=None):
"""
Use this method to send invoices. On success, the sent Message is returned.
:param token: Bot's token (you don't need to fill this)