Module tdlight.api

Class TdApi.InputStickerStatic

Enclosing class:
TdApi

public static final 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 is placed; pass null if unspecified.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • 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 is placed; pass null if unspecified.
    • InputStickerStatic

      public InputStickerStatic(DataInput input) throws IOException
      A static sticker in PNG format, which will be converted to WEBP server-side.
      Throws:
      IOException
  • Method Details