Class TdApi.RemoveRecentSticker

Enclosing class:
TdApi

public static class TdApi.RemoveRecentSticker extends TdApi.Function<TdApi.Ok>
Removes a sticker from the list of recently used stickers.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    boolean
    Pass true to remove the sticker from the list of stickers recently attached to photo or video files; pass false to remove the sticker from the list of recently sent stickers.
    Sticker file to delete.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which removes a sticker from the list of recently used stickers.
    RemoveRecentSticker(boolean isAttached, TdApi.InputFile sticker)
    Creates a function, which removes a sticker from the list of recently used stickers.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • isAttached

      public boolean isAttached
      Pass true to remove the sticker from the list of stickers recently attached to photo or video files; pass false to remove the sticker from the list of recently sent stickers.
    • sticker

      public TdApi.InputFile sticker
      Sticker file to delete.
    • CONSTRUCTOR

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

    • RemoveRecentSticker

      public RemoveRecentSticker()
      Default constructor for a function, which removes a sticker from the list of recently used stickers.

      Returns Ok

    • RemoveRecentSticker

      public RemoveRecentSticker(boolean isAttached, TdApi.InputFile sticker)
      Creates a function, which removes a sticker from the list of recently used stickers.

      Returns Ok

      Parameters:
      isAttached - Pass true to remove the sticker from the list of stickers recently attached to photo or video files; pass false to remove the sticker from the list of recently sent stickers.
      sticker - Sticker file to delete.
  • 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