mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
Add currency enum (#1194)
* Add currency enum * Add change log * Add butcher file * Apply enum
This commit is contained in:
parent
a7916c1103
commit
d3bec413db
6 changed files with 213 additions and 0 deletions
12
CHANGES/1194.feature.rst
Normal file
12
CHANGES/1194.feature.rst
Normal 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,
|
||||
...
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue