setMyShortDescription¶
Returns: bool
- class litegram.methods.set_my_short_description.SetMyShortDescription(*, short_description: str | None = None, language_code: str | None = None, **extra_data: Any)[source]¶
Use this method to change the bot’s short description, which is shown on the bot’s profile page and is sent together with the link when users share the bot. Returns
Trueon success.Source: https://core.telegram.org/bots/api#setmyshortdescription
Usage¶
As bot method¶
result: bool = await bot.set_my_short_description(...)
Method as object¶
Imports:
from litegram.methods.set_my_short_description import SetMyShortDescriptionalias:
from litegram.methods import SetMyShortDescription
With specific bot¶
result: bool = await bot(SetMyShortDescription(...))
As reply into Webhook in handler¶
return SetMyShortDescription(...)