Package org.drinkless.tdlib

# Class TdApi.InputMessageSticker

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputMessageContent
org.drinkless.tdlib.TdApi.InputMessageSticker

Enclosing class:
  TdApi

public static class TdApi.InputMessageSticker extends TdApi.InputMessageContent
A sticker message.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.InputMessageContent

  `TdApi.InputMessageContent.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `String`
  `emoji`
  Emoji used to choose the sticker.
  `int`
  `height`
  Sticker height.
  `TdApi.InputFile`
  `sticker`
  Sticker to be sent.
  `TdApi.InputThumbnail`
  `thumbnail`
  Sticker thumbnail; pass null to skip thumbnail uploading.
  `int`
  `width`
  Sticker width.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InputMessageSticker()`
  A sticker message.
  `InputMessageSticker(TdApi.InputFile sticker, TdApi.InputThumbnail thumbnail, int width, int height, String emoji)`
  A sticker message.

- ## Method Summary

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

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

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

  - ### emoji

    public String emoji
    Emoji used to choose the sticker.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### InputMessageSticker

    public InputMessageSticker()
    A sticker message.

  - ### InputMessageSticker

    public InputMessageSticker(TdApi.InputFile sticker, TdApi.InputThumbnail thumbnail, int width, int height, String emoji)
    A sticker message.
    Parameters:
      `sticker` - Sticker to be sent.
      `thumbnail` - Sticker thumbnail; pass null to skip thumbnail uploading.
      `width` - Sticker width.
      `height` - Sticker height.
      `emoji` - Emoji used to choose the sticker.

- ## 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.InputMessageContent`
    Returns:
      this.CONSTRUCTOR