mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-13 11:18:20 +01:00
Fixed comments in examples (#1566)
This commit is contained in:
parent
34bdbc632a
commit
ac64027580
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ def start_with_shipping_callback(update, context):
|
|||
currency = "USD"
|
||||
# price in dollars
|
||||
price = 1
|
||||
# price * 100 so as to include 2 d.p.
|
||||
# price * 100 so as to include 2 decimal points
|
||||
# check https://core.telegram.org/bots/payments#supported-currencies for more details
|
||||
prices = [LabeledPrice("Test", price * 100)]
|
||||
|
||||
|
@ -66,7 +66,7 @@ def start_without_shipping_callback(update, context):
|
|||
currency = "USD"
|
||||
# price in dollars
|
||||
price = 1
|
||||
# price * 100 so as to include 2 d.p.
|
||||
# price * 100 so as to include 2 decimal points
|
||||
prices = [LabeledPrice("Test", price * 100)]
|
||||
|
||||
# optionally pass need_name=True, need_phone_number=True,
|
||||
|
|
Loading…
Add table
Reference in a new issue