Interface EditTextCompositionStyle

Edits a custom text composition style that was created by the current user. Request type for Tdjson#editTextCompositionStyle.

interface EditTextCompositionStyle {
    @type: "editTextCompositionStyle";
    custom_emoji_id: string;
    name: string;
    prompt: string;
    show_creator?: boolean;
    title: string;
}

Properties

@type: "editTextCompositionStyle"
custom_emoji_id: string

Identifier of the custom emoji corresponding to the style.

name: string

Name of the style.

prompt: string

Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters.

show_creator?: boolean

Pass true if the current user must be shown as the creator of the style.

title: string

Title of the style; 1-getOption("text_composition_style_title_length_max") characters.