Class CreateNewStickerSet
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<CreateNewStickerSet, Boolean>
io.github.natanimn.telebof.requests.create.CreateNewStickerSet
CreateNewStickerSet class. Returns True on success.
- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreateNewStickerSet
(long user_id, String name, String title, InputSticker[] stickers, Api api) Required -
Method Summary
Modifier and TypeMethodDescriptionneedsRepainting
(boolean needs_repainting) OptionalstickerType
(StickerType sticker_type) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
CreateNewStickerSet
public CreateNewStickerSet(long user_id, String name, String title, InputSticker[] stickers, Api api) Required- Parameters:
user_id
- user idname
- nametitle
- titlestickers
- stickersapi
- api
-
-
Method Details
-
stickerType
Optional- Parameters:
sticker_type
- Type of stickers in the set- Returns:
CreateNewStickerSet
-
needsRepainting
Optional- Parameters:
needs_repainting
- Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only- Returns:
CreateNewStickerSet
-