Class TdApi.RemoveTextCompositionStyle

Enclosing class:
TdApi

public static class TdApi.RemoveTextCompositionStyle extends TdApi.Function<TdApi.Ok>
Removes a custom text composition style from the list of used by the user styles. If the style was created by the current user, then it can only be deleted.

Returns Ok

  • Field Details

    • name

      public String name
      Name of the style.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • RemoveTextCompositionStyle

      public RemoveTextCompositionStyle()
      Default constructor for a function, which removes a custom text composition style from the list of used by the user styles. If the style was created by the current user, then it can only be deleted.

      Returns Ok

    • RemoveTextCompositionStyle

      public RemoveTextCompositionStyle(String name)
      Creates a function, which removes a custom text composition style from the list of used by the user styles. If the style was created by the current user, then it can only be deleted.

      Returns Ok

      Parameters:
      name - Name of the style.
  • 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.Ok>
      Returns:
      this.CONSTRUCTOR