Module tdlight.api

Class TdApi.Sticker

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Sticker
Enclosing class:
TdApi

public static final class TdApi.Sticker extends TdApi.Object
Describes a sticker.
  • Field Details

    • id

      public long id
      Unique sticker identifier within the set; 0 if none.
    • setId

      public long setId
      Identifier of the sticker set to which the sticker belongs; 0 if none.
    • width

      public int width
      Sticker width; as defined by the sender.
    • height

      public int height
      Sticker height; as defined by the sender.
    • emoji

      public String emoji
      Emoji corresponding to the sticker.
    • format

      public TdApi.StickerFormat format
      Sticker format.
    • fullType

      public TdApi.StickerFullType fullType
      Sticker's full type.
    • outline

      public TdApi.ClosedVectorPath[] outline
      Sticker's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.
    • thumbnail

      public TdApi.Thumbnail thumbnail
      Sticker thumbnail in WEBP or JPEG format; may be null.
    • sticker

      public TdApi.File sticker
      File containing the sticker.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • Sticker

      public Sticker()
      Describes a sticker.
    • Sticker

      public Sticker(long id, long setId, int width, int height, String emoji, TdApi.StickerFormat format, TdApi.StickerFullType fullType, TdApi.ClosedVectorPath[] outline, TdApi.Thumbnail thumbnail, TdApi.File sticker)
      Describes a sticker.
      Parameters:
      id - long Unique sticker identifier within the set; 0 if none.
      setId - long Identifier of the sticker set to which the sticker belongs; 0 if none.
      width - int Sticker width; as defined by the sender.
      height - int Sticker height; as defined by the sender.
      emoji - String Emoji corresponding to the sticker.
      format - StickerFormat Sticker format.
      fullType - StickerFullType Sticker's full type.
      outline - ClosedVectorPath[] Sticker's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.
      thumbnail - Thumbnail Sticker thumbnail in WEBP or JPEG format; may be null.
      sticker - File File containing the sticker.
    • Sticker

      public Sticker(DataInput input) throws IOException
      Describes a sticker.
      Throws:
      IOException
  • Method Details