Class TdApi.InputSticker

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputSticker
Enclosing class:
TdApi

public static class TdApi.InputSticker extends TdApi.Object
A sticker to be sent.
  • Field Details

    • sticker

      public TdApi.InputFile sticker
      Sticker to be sent.
    • thumbnail

      public TdApi.InputThumbnail thumbnail
      Sticker thumbnail; pass null to skip thumbnail uploading.
    • width

      public int width
      Sticker width.
    • height

      public int height
      Sticker height.
    • CONSTRUCTOR

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

    • InputSticker

      public InputSticker()
      A sticker to be sent.
    • InputSticker

      public InputSticker(TdApi.InputFile sticker, TdApi.InputThumbnail thumbnail, int width, int height)
      A sticker to be sent.
      Parameters:
      sticker - Sticker to be sent.
      thumbnail - Sticker thumbnail; pass null to skip thumbnail uploading.
      width - Sticker width.
      height - Sticker height.
  • 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