TelegramBot.setChatTitle

Change the title of a chat

  1. bool setChatTitle(T chat_id, string title)
    struct TelegramBot
    @trusted
    bool
    setChatTitle
    (
    T
    )
    (,
    string title
    )
  2. bool setChatTitle(SetChatTitleMethod m)

Parameters

chat_id T

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

title string

New chat title

Return Value

Type: bool

true on success

Throws

TelegramBotException on errors

See Also

Meta