Class TdApi.UploadStickerFile

  • Enclosing class:
    TdApi

    public static class TdApi.UploadStickerFile
    extends TdApi.Function
    Uploads a PNG image with a sticker; for bots only; returns the uploaded file.

    Returns File

    • Field Detail

      • userId

        public int userId
        Sticker file owner.
      • pngSticker

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

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UploadStickerFile

        public UploadStickerFile()
        Default constructor.
      • UploadStickerFile

        public UploadStickerFile​(int userId,
                                 TdApi.InputFile pngSticker)
        Constructor for initialization of all fields.
        Parameters:
        userId - Sticker file owner.
        pngSticker - PNG image with the sticker; must be up to 512 kB in size and fit in 512x512 square.