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 Details

    • 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
      See Also:
      Constant Field Values
  • Constructor Details

    • UploadStickerFile

      public UploadStickerFile()
      Uploads a PNG image with a sticker; for bots only; returns the uploaded file.

      Returns File

    • UploadStickerFile

      public UploadStickerFile​(int userId, TdApi.InputFile pngSticker)
      Uploads a PNG image with a sticker; for bots only; returns the uploaded file.

      Returns File

      Parameters:
      userId - int Sticker file owner.
      pngSticker - InputFile PNG image with the sticker; must be up to 512 KB in size and fit in 512x512 square.
    • UploadStickerFile

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