Package org.drinkless.tdlib
Class TdApi.EditTextCompositionStyle
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.TextCompositionStyle>
org.drinkless.tdlib.TdApi.EditTextCompositionStyle
- Enclosing class:
TdApi
public static class TdApi.EditTextCompositionStyle
extends TdApi.Function<TdApi.TextCompositionStyle>
Edits a custom text composition style that was created by the current user.
Returns TextCompositionStyle
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longIdentifier of the custom emoji corresponding to the style.Name of the style.Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters.booleanPass true if the current user must be shown as the creator of the style.Title of the style; 1-getOption("text_composition_style_title_length_max") characters. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which edits a custom text composition style that was created by the current user.EditTextCompositionStyle(String name, String title, long customEmojiId, String prompt, boolean showCreator) Creates a function, which edits a custom text composition style that was created by the current user. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
name
Name of the style. -
title
Title of the style; 1-getOption("text_composition_style_title_length_max") characters. -
customEmojiId
public long customEmojiIdIdentifier of the custom emoji corresponding to the style. -
prompt
Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters. -
showCreator
public boolean showCreatorPass true if the current user must be shown as the creator of the style. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
EditTextCompositionStyle
public EditTextCompositionStyle()Default constructor for a function, which edits a custom text composition style that was created by the current user.Returns
TextCompositionStyle -
EditTextCompositionStyle
public EditTextCompositionStyle(String name, String title, long customEmojiId, String prompt, boolean showCreator) Creates a function, which edits a custom text composition style that was created by the current user.Returns
TextCompositionStyle- Parameters:
name- Name of the style.title- Title of the style; 1-getOption("text_composition_style_title_length_max") characters.customEmojiId- Identifier of the custom emoji corresponding to the style.prompt- Prompt that will be used for text composition; 1-getOption("text_composition_style_prompt_length_max") characters.showCreator- Pass true if the current user must be shown as the creator of the style.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.TextCompositionStyle>- Returns:
- this.CONSTRUCTOR
-