Class StickerSet
java.lang.Object
io.micronaut.chatbots.telegram.api.StickerSet
This object represents a sticker.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull Boolean@NonNull Boolean@NonNull StringgetName()@Nullable PhotoSizegetThumb()@NonNull StringgetTitle()voidsetAnimated(@NonNull Boolean animated) voidsetContainsMasks(@NonNull Boolean containsMasks) voidvoidsetStickers(@NonNull List<Sticker> stickers) voidvoidtoString()
-
Constructor Details
-
StickerSet
public StickerSet()
-
-
Method Details
-
getName
- Returns:
- Sticker set name.
-
setName
- Parameters:
name- Sticker set name.
-
getTitle
- Returns:
- Sticker set title.
-
setTitle
- Parameters:
title- Sticker set title.
-
getAnimated
- Returns:
- True, if the sticker set contains animated stickers.
-
setAnimated
- Parameters:
animated- True, if the sticker set contains animated stickers.
-
getContainsMasks
- Returns:
- True, if the sticker set contains masks.
-
setContainsMasks
- Parameters:
containsMasks- True, if the sticker set contains masks.
-
getStickers
- Returns:
- List of all set stickers.
-
setStickers
- Parameters:
stickers- List of all set stickers.
-
getThumb
- Returns:
- Sticker set thumbnail in the .WEBP or .TGS format.
-
setThumb
- Parameters:
thumb- Sticker set thumbnail in the .WEBP or .TGS format.
-
toString
-