Package org.drinkless.tdlib
Class TdApi.GetTextCompositionStyleExample
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.TextCompositionStyleExample>
org.drinkless.tdlib.TdApi.GetTextCompositionStyleExample
- Enclosing class:
TdApi
public static class TdApi.GetTextCompositionStyleExample
extends TdApi.Function<TdApi.TextCompositionStyleExample>
Returns an example of usage of a custom text composition style.
Returns TextCompositionStyleExample
-
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.int0-based unique number of the requested example; must be non-negative and less than getOption("text_composition_style_example_count").Name of the style. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns an example of usage of a custom text composition style.GetTextCompositionStyleExample(String name, int exampleNumber) Creates a function, which returns an example of usage of a custom text composition style. -
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. -
exampleNumber
public int exampleNumber0-based unique number of the requested example; must be non-negative and less than getOption("text_composition_style_example_count"). -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetTextCompositionStyleExample
public GetTextCompositionStyleExample()Default constructor for a function, which returns an example of usage of a custom text composition style.Returns
TextCompositionStyleExample -
GetTextCompositionStyleExample
Creates a function, which returns an example of usage of a custom text composition style.Returns
TextCompositionStyleExample- Parameters:
name- Name of the style.exampleNumber- 0-based unique number of the requested example; must be non-negative and less than getOption("text_composition_style_example_count").
-
-
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.TextCompositionStyleExample>- Returns:
- this.CONSTRUCTOR
-