Interface AddTextCompositionStyle

Adds a custom text composition style to the list of used by the user styles. May return an error with a message "TONES_SAVED_TOO_MANY" if the maximum number of added custom styles getOption("added_text_composition_style_count_max") has been reached. Request type for Tdjson#addTextCompositionStyle.

interface AddTextCompositionStyle {
    @type: "addTextCompositionStyle";
    name: string;
}

Properties

Properties

@type: "addTextCompositionStyle"
name: string

Name of the style.