mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
39 lines
669 B
ReStructuredText
39 lines
669 B
ReStructuredText
|
|
##################
|
||
|
|
getManagedBotToken
|
||
|
|
##################
|
||
|
|
|
||
|
|
Returns: :obj:`str`
|
||
|
|
|
||
|
|
.. automodule:: aiogram.methods.get_managed_bot_token
|
||
|
|
:members:
|
||
|
|
:member-order: bysource
|
||
|
|
:undoc-members: True
|
||
|
|
:exclude-members: model_config,model_fields
|
||
|
|
|
||
|
|
|
||
|
|
Usage
|
||
|
|
=====
|
||
|
|
|
||
|
|
As bot method
|
||
|
|
-------------
|
||
|
|
|
||
|
|
.. code-block::
|
||
|
|
|
||
|
|
result: str = await bot.get_managed_bot_token(...)
|
||
|
|
|
||
|
|
|
||
|
|
Method as object
|
||
|
|
----------------
|
||
|
|
|
||
|
|
Imports:
|
||
|
|
|
||
|
|
- :code:`from aiogram.methods.get_managed_bot_token import GetManagedBotToken`
|
||
|
|
- alias: :code:`from aiogram.methods import GetManagedBotToken`
|
||
|
|
|
||
|
|
With specific bot
|
||
|
|
~~~~~~~~~~~~~~~~~
|
||
|
|
|
||
|
|
.. code-block:: python
|
||
|
|
|
||
|
|
result: str = await bot(GetManagedBotToken(...))
|