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