mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 11:10:18 +03:00
Add files via upload
This commit is contained in:
parent
87cde66291
commit
8c7acc9f7f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user