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