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 Detail

      • 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
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 - PNG image with the sticker; must be up to 512 KB in size and fit in a 512x512 square.
        emojis - Emojis corresponding to the sticker.
        maskPosition - For masks, position where the mask is placed; pass null if unspecified.