diff --git a/pyrogram/methods/messages/send_invoice.py b/pyrogram/methods/messages/send_invoice.py index 51308814..2ae44c75 100644 --- a/pyrogram/methods/messages/send_invoice.py +++ b/pyrogram/methods/messages/send_invoice.py @@ -114,22 +114,24 @@ async def send_invoice( .. code-block:: python # USD - app.send_invoice(chat_id, types.InputMediaInvoice( + app.send_invoice( + chat_id, title="Product Name", description="Product Description", currency="USD", prices=[types.LabeledPrice("Product", 1000)], provider="Stripe_provider_codes", provider_data="{}" - )) + ) # Telegram Stars - app.send_invoice(chat_id, types.InputMediaInvoice( + app.send_invoice( + chat_id, title="Product Name", description="Product Description", currency="XTR", prices=[types.LabeledPrice("Product", 1000)] - )) + ) """ if reply_markup is not None: