createTextCompositionStyle¶
Creates a custom text composition style. May return an error with a message "TONES_SAVED_TOO_MANY" if the maximum number of added custom styles has been reached
createTextCompositionStyle(
title: string,
custom_emoji_id: int64,
prompt: string,
show_creator: Bool
) → TextCompositionStyle
title¶
string
Title of the style; 1-getOption("text_composition_style_title_length_max") characters
custom_emoji_id¶
int64
Identifier of the custom emoji corresponding to the style
prompt¶
string
Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters
show_creator¶
Bool
Pass true if the current user must be shown as the creator of the style