Class 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

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    0-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

    Constructors
    Constructor
    Description
    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
    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:
  • 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.Object
      Returns:
      this.CONSTRUCTOR