Package org.drinkless.tdlib
Class TdApi.UploadStickerFile
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.InputStickerstickerSticker file to upload.longuserIdSticker file owner; ignored for regular users.
-
Constructor Summary
Constructors Constructor Description UploadStickerFile()Default constructor for a function, which uploads a file with a sticker; returns the uploaded file.UploadStickerFile(long userId, TdApi.InputSticker sticker)Creates a function, which uploads a file with a sticker; returns the uploaded file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
userId
public long userId
Sticker file owner; ignored for regular users.
-
sticker
public TdApi.InputSticker sticker
Sticker file to upload.
-
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-