Add currency enum (#1194)

* Add currency enum

* Add change log

* Add butcher file

* Apply enum
This commit is contained in:
Yarik 2023-08-02 21:44:49 +03:00 committed by GitHub
parent a7916c1103
commit d3bec413db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 213 additions and 0 deletions

12
CHANGES/1194.feature.rst Normal file
View file

@ -0,0 +1,12 @@
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,
...
)