From 29c98b02302dc84add7f01cfbdaf111aa34dbab1 Mon Sep 17 00:00:00 2001 From: Badiboy Date: Thu, 15 Jul 2021 09:27:07 +0300 Subject: [PATCH] Invoice tips typo fix --- telebot/__init__.py | 3 ++- telebot/apihelper.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index 36b5e2e..bb48123 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -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 diff --git a/telebot/apihelper.py b/telebot/apihelper.py index 76684fc..2e7ee2a 100644 --- a/telebot/apihelper.py +++ b/telebot/apihelper.py @@ -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)