TelegramBot.setChatDescription

Change the description of a supergroup or a channel

  1. bool setChatDescription(T chat_id, string description)
    struct TelegramBot
    @trusted
    bool
    setChatDescription
    (
    T
    )
    (,
    string description = ""
    )
  2. bool setChatDescription(SetChatDescriptionMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

description string

New chat description

Return Value

Type: bool

Sent Message

Throws

TelegramBotException on errors

See Also

Meta