Interface SetChatTitle

Changes the chat title. Supported only for basic groups, supergroups and channels. Requires can_change_info member right. Request type for Tdjson#setChatTitle.

interface SetChatTitle {
    @type: "setChatTitle";
    chat_id: number;
    title: string;
}

Properties

Properties

@type: "setChatTitle"
chat_id: number

Chat identifier.

title: string

New title of the chat; 1-128 characters.