Class TdApi.InputSticker

  • Enclosing class:
    TdApi

    public static class TdApi.InputSticker
    extends TdApi.Object
    Describes a sticker that should be added to a sticker set.
    • Field Detail

      • pngSticker

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

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

      • InputSticker

        public InputSticker()
        Default constructor.
      • InputSticker

        public InputSticker​(TdApi.InputFile pngSticker,
                            java.lang.String emojis,
                            TdApi.MaskPosition maskPosition)
        Constructor for initialization of all fields.
        Parameters:
        pngSticker - PNG image with the sticker; must be up to 512 kB in size and fit in a 512x512 square.
        emojis - Emoji corresponding to the sticker.
        maskPosition - For masks, position where the mask should be placed; may be null.