mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 16:15:51 +00:00
13 lines
228 B
ReStructuredText
13 lines
228 B
ReStructuredText
|
|
Added Currency enum.
|
||
|
|
You can use it like this:
|
||
|
|
|
||
|
|
.. code-block:: python
|
||
|
|
|
||
|
|
from aiogram import Bot
|
||
|
|
from aiogram.enum import Currency
|
||
|
|
await Bot.send_invoice(
|
||
|
|
...,
|
||
|
|
currency=Currency.USD,
|
||
|
|
...
|
||
|
|
)
|