Module tdlight.api

Class TdApi.InputMessageSticker

Enclosing class:
TdApi

public static final class TdApi.InputMessageSticker extends TdApi.InputMessageContent
A sticker message.
  • 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
      See Also:
  • 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 - InputFile Sticker to be sent.
      thumbnail - InputThumbnail Sticker thumbnail; pass null to skip thumbnail uploading.
      width - int Sticker width.
      height - int Sticker height.
      emoji - String Emoji used to choose the sticker.
    • InputMessageSticker

      public InputMessageSticker(DataInput input) throws IOException
      A sticker message.
      Throws:
      IOException
  • Method Details