Add files via upload

This commit is contained in:
apepenkov 2020-05-21 12:21:28 +03:00 committed by GitHub
parent 87cde66291
commit 8c7acc9f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,8 @@ def generate_invoice(price_label: str, price_amount: int, currency: str, title:
invoice = types.Invoice( invoice = types.Invoice(
currency=currency, # currency like USD currency=currency, # currency like USD
prices=[price], # there could be a couple of prices. 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 # params for requesting specific fields
name_requested=False, name_requested=False,