Skip to content

TextCompositionStyle

Type · TDLib 1.8.67 · d1085f9c

Describes a style that can be used to compose a text

TextCompositionStyle(
  name: string,
  custom_emoji_id: int64,
  title: string,
  is_custom: Bool,
  is_creator: Bool,
  install_count: int32,
  prompt: string,
  creator_user_id: int53,
  english_example: TextCompositionStyleExample
) → TextCompositionStyle

name

string

Name of the style

custom_emoji_id

int64

Identifier of the custom emoji corresponding to the style; 0 if none

title

string

Title of the style in the user application's language

is_custom

Bool

True, if the style is created by a user

is_creator

Bool

True, if the user is creator of the style

install_count

int32

Number of users that installed the style; for created custom styles only; 0 if unknown

prompt

string

Prompt of the style; for created custom styles only

creator_user_id

int53

User identifier of the creator of the style; 0 if none or unknown

english_example

TextCompositionStyleExample

Example of the style usage in English; may be null if unknown