Skip to content

Commit a8e60b2

Browse files
committed
Fix requirement params.
1 parent cf287af commit a8e60b2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎telebot/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def get_game_high_scores(self, user_id, chat_id=None, message_id=None, inline_me
629629
return ret
630630

631631
def send_invoice(self, chat_id, title, description, invoice_payload, provider_token, currency, prices,
632-
start_parameter=None, photo_url=None, photo_size=None, photo_width=None, photo_height=None,
632+
start_parameter, photo_url=None, photo_size=None, photo_width=None, photo_height=None,
633633
need_name=None, need_phone_number=None, need_email=None, need_shipping_address=None,
634634
is_flexible=None,
635635
disable_notification=None, reply_to_message_id=None, reply_markup=None):

‎telebot/apihelper.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def get_game_high_scores(token, user_id, chat_id=None, message_id=None, inline_m
551551
# Payments (https://core.telegram.org/bots/api#payments)
552552

553553
def send_invoice(token, chat_id, title, description, invoice_payload, provider_token, currency, prices,
554-
start_parameter=None, photo_url=None, photo_size=None, photo_width=None, photo_height=None,
554+
start_parameter, photo_url=None, photo_size=None, photo_width=None, photo_height=None,
555555
need_name=None, need_phone_number=None, need_email=None, need_shipping_address=None, is_flexible=None,
556556
disable_notification=None, reply_to_message_id=None, reply_markup=None):
557557
"""

0 commit comments

Comments
 (0)