Skip to content

set_chat_description

Use this method to change the description of a supergroup or a channel.

Parameters

  • chat_id (int or str): Unique identifier for the target chat or username of the target channel (in the format @channelusername)
  • description (str) (optional): Str: New chat description, 0-255 characters

Returns

bool

Examples

  • Required Parameters
await bot.set_chat_description(
    chat_id=your_chat_id_here
)
  • All Parameters
await bot.set_chat_description(
    chat_id=your_chat_id_here,
    description=your_description_here
)