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 userId, String name, String title, InputSticker[] stickers, Api api) Required -
Method Summary
Modifier and TypeMethodDescriptionneedsRepainting(boolean needsRepainting) OptionalstickerType(StickerType stickerType) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
CreateNewStickerSet
public CreateNewStickerSet(long userId, String name, String title, InputSticker[] stickers, Api api) Required- Parameters:
userId- user idname- nametitle- titlestickers- stickersapi- api
-
-
Method Details
-
stickerType
Optional- Parameters:
stickerType- Type of stickers in the set- Returns:
CreateNewStickerSet
-
needsRepainting
Optional- Parameters:
needsRepainting- 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
-