Skip to content

Commit 76db279

Browse files
committed
We have to send and array... that's new...
1 parent a97da5c commit 76db279

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

examples/paymentbot.py

Whitespace-only changes.

telegram/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,7 @@ def send_invoice(self,
18401840
'provider_token': provider_token,
18411841
'start_parameter': start_parameter,
18421842
'currency': currency,
1843-
'prices': prices
1843+
'prices': [p.to_dict() for p in prices]
18441844
}
18451845

18461846
if photo_url:

0 commit comments

Comments
 (0)