Class TdApi.UploadStickerFile

  • Enclosing class:
    TdApi

    public static class TdApi.UploadStickerFile
    extends TdApi.Function
    Uploads a file with a sticker; returns the uploaded file.

    Returns File

    • Field Detail

      • userId

        public long userId
        Sticker file owner; ignored for regular users.
      • 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 for a function, which uploads a file with a sticker; returns the uploaded file.

        Returns File

      • UploadStickerFile

        public UploadStickerFile​(long userId,
                                 TdApi.InputSticker sticker)
        Creates a function, which uploads a file with a sticker; returns the uploaded file.

        Returns File

        Parameters:
        userId - Sticker file owner; ignored for regular users.
        sticker - Sticker file to upload.