getMyShortDescription#
Returns: BotShortDescription
- class aiogram.methods.get_my_short_description.GetMyShortDescription(*, language_code: Optional[str] = None, **extra_data: Any)[source]#
Use this method to get the current bot short description for the given user language. Returns
aiogram.types.bot_short_description.BotShortDescription
on success.Source: https://core.telegram.org/bots/api#getmyshortdescription
- language_code: Optional[str]#
A two-letter ISO 639-1 language code or an empty string
Usage#
As bot method#
result: BotShortDescription = await bot.get_my_short_description(...)
Method as object#
Imports:
from aiogram.methods.get_my_short_description import GetMyShortDescription
alias:
from aiogram.methods import GetMyShortDescription
With specific bot#
result: BotShortDescription = await bot(GetMyShortDescription(...))