Class TdApi.InputStickerStatic

Enclosing class:
TdApi

public static class TdApi.InputStickerStatic
extends TdApi.InputSticker
A static sticker in PNG format, which will be converted to WEBP server-side.
  • Field Details

    • sticker

      public TdApi.InputFile sticker
      PNG image with the sticker; must be up to 512 KB in size and fit in a 512x512 square.
    • emojis

      public String emojis
      Emojis corresponding to the sticker.
    • maskPosition

      public TdApi.MaskPosition maskPosition
      For masks, position where the mask should be placed; may be null.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • InputStickerStatic

      public InputStickerStatic()
      A static sticker in PNG format, which will be converted to WEBP server-side.
    • InputStickerStatic

      public InputStickerStatic​(TdApi.InputFile sticker, String emojis, TdApi.MaskPosition maskPosition)
      A static sticker in PNG format, which will be converted to WEBP server-side.
      Parameters:
      sticker - InputFile PNG image with the sticker; must be up to 512 KB in size and fit in a 512x512 square.
      emojis - String Emojis corresponding to the sticker.
      maskPosition - MaskPosition For masks, position where the mask should be placed; may be null.
    • InputStickerStatic

      public InputStickerStatic​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details