aiogram/docs/api/methods/get_my_star_balance.rst
Alex Root Junior f060c08d16
Add support for Telegram Bot API 9.1 (#1704)
* Add support for Telegram Bot API 9.1 features, including checklists, gifts, and new methods like `SendChecklist`, `EditMessageChecklist`, and `GetMyStarBalance`. Update changelog and improve `True` field descriptions.

* Bump API Version

* Refactor profile photo types to use `InputProfilePhotoType` enums instead of hardcoded literals

* Refactor imports and clean up redundant code across methods, types, and webhook server classes
2025-07-05 03:02:44 +03:00

38 lines
672 B
ReStructuredText

################
getMyStarBalance
################
Returns: :obj:`StarAmount`
.. automodule:: aiogram.methods.get_my_star_balance
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: StarAmount = await bot.get_my_star_balance(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.get_my_star_balance import GetMyStarBalance`
- alias: :code:`from aiogram.methods import GetMyStarBalance`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: StarAmount = await bot(GetMyStarBalance(...))