From 8c7acc9f7fcc6820f6db435a76fb429db5efdb6d Mon Sep 17 00:00:00 2001 From: apepenkov <39992738+apepenkov@users.noreply.github.com> Date: Thu, 21 May 2020 12:21:28 +0300 Subject: [PATCH] Add files via upload --- telethon_examples/payment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/telethon_examples/payment.py b/telethon_examples/payment.py index 7c36f845..5f7fccde 100644 --- a/telethon_examples/payment.py +++ b/telethon_examples/payment.py @@ -97,7 +97,8 @@ def generate_invoice(price_label: str, price_amount: int, currency: str, title: invoice = types.Invoice( currency=currency, # currency like USD prices=[price], # there could be a couple of prices. - test=True, # if you're working with test token, else set test=False. More info at # + test=True, # if you're working with test token, else set test=False. + # More info at https://core.telegram.org/bots/payments # params for requesting specific fields name_requested=False,