Package com.pengrad.telegrambot.request
Class UploadStickerFile
java.lang.Object
com.pengrad.telegrambot.request.BaseRequest<T,R>
com.pengrad.telegrambot.request.AbstractUploadRequest<UploadStickerFile,GetFileResponse>
com.pengrad.telegrambot.request.UploadStickerFile
public class UploadStickerFile extends AbstractUploadRequest<UploadStickerFile,GetFileResponse>
Stas Parshin
23 July 2017
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UploadStickerFile(java.lang.Long userId, InputFile sticker, Sticker.Format stickerFormat)
UploadStickerFile(java.lang.Long userId, java.lang.Object pngSticker)
Deprecated.Use constructor with the InputFile type (since API v6.6) -
Method Summary
Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getContentType, getFileName, getMethod, getParameters, getResponseType, getTimeoutSeconds, toWebhookResponse
-
Constructor Details
-
UploadStickerFile
@Deprecated public UploadStickerFile(java.lang.Long userId, java.lang.Object pngSticker)Deprecated.Use constructor with the InputFile type (since API v6.6) -
UploadStickerFile
- Parameters:
stickerFormat
- must be one of “static”, “animated”, “video”.
-