Interface SetProfileShareTheme

Changes the theme of the screen for sharing a link to the current user or a chat. The chat must have a username. Requires can_change_info administrator right in supergroups and channels. Request type for Tdjson#setProfileShareTheme.

interface SetProfileShareTheme {
    @type: "setProfileShareTheme";
    chat_id: number;
    theme: InputProfileShareTheme;
}

Properties

Properties

@type: "setProfileShareTheme"
chat_id: number

Identifier of the chat with the current user, or an identifier of a supergroup or a channel chat.

The new theme; pass null to use the default theme.