setMyDescription¶
Returns: bool
- class litegram.methods.set_my_description.SetMyDescription(*, description: str | None = None, language_code: str | None = None, **extra_data: Any)[source]¶
Use this method to change the bot’s description, which is shown in the chat with the bot if the chat is empty. Returns
Trueon success.
Usage¶
As bot method¶
result: bool = await bot.set_my_description(...)
Method as object¶
Imports:
from litegram.methods.set_my_description import SetMyDescriptionalias:
from litegram.methods import SetMyDescription
With specific bot¶
result: bool = await bot(SetMyDescription(...))
As reply into Webhook in handler¶
return SetMyDescription(...)