aiogram/CHANGES/1194.feature.rst
Yarik d3bec413db
Add currency enum (#1194)
* Add currency enum

* Add change log

* Add butcher file

* Apply enum
2023-08-02 21:44:49 +03:00

12 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,
...
)