Interface SetChatTheme

Changes the chat theme. Supported only in private and secret chats. Request type for Tdjson#setChatTheme.

interface SetChatTheme {
    @type: "setChatTheme";
    chat_id: number;
    theme_name: string;
}

Properties

@type: "setChatTheme"
chat_id: number

Chat identifier.

theme_name: string

Name of the new chat theme; pass an empty string to return the default theme.