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