Skip to content

addTextCompositionStyle

Function · TDLib 1.8.67 · d1085f9c

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

addTextCompositionStyle(
  name: string
) → Ok

name

string

Name of the style