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

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `int`
  `exampleNumber`
  0-based unique number of the requested example; must be non-negative and less than getOption("text_composition_style_example_count").
  `String`
  `name`
  Name of the style.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GetTextCompositionStyleExample()`
  Default 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 Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Function

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### name

    public String name
    Name of the style.

  - ### exampleNumber

    public int exampleNumber
    0-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 CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## 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

    public GetTextCompositionStyleExample(String name, int exampleNumber)
    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.Object`
    Returns an identifier uniquely determining type of the object.
    Specified by:
      `getConstructor` in class `TdApi.Function<TdApi.TextCompositionStyleExample>`
    Returns:
      this.CONSTRUCTOR