Class UploadStickerFile.UploadStickerFileBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.sticker.UploadStickerFile.UploadStickerFileBuilder
-
- Enclosing class:
- UploadStickerFile
public static class UploadStickerFile.UploadStickerFileBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadStickerFile
build()
UploadStickerFile.UploadStickerFileBuilder
callback(java.util.function.Consumer<TelegramFile> callback)
UploadStickerFile.UploadStickerFileBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
UploadStickerFile.UploadStickerFileBuilder
sticker(InputFile sticker)
java.lang.String
toString()
UploadStickerFile.UploadStickerFileBuilder
userId(java.lang.Long userId)
-
-
-
Method Detail
-
callback
public UploadStickerFile.UploadStickerFileBuilder callback(java.util.function.Consumer<TelegramFile> callback)
-
errorHandler
public UploadStickerFile.UploadStickerFileBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
userId
public UploadStickerFile.UploadStickerFileBuilder userId(java.lang.Long userId)
-
sticker
public UploadStickerFile.UploadStickerFileBuilder sticker(InputFile sticker)
-
build
public UploadStickerFile build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-