Class StickerSet
java.lang.Object
io.micronaut.chatbots.telegram.api.StickerSet
This object represents a sticker.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull Boolean
@NonNull Boolean
@NonNull String
getName()
@Nullable PhotoSize
getThumb()
@NonNull String
getTitle()
void
setAnimated
(@NonNull Boolean animated) void
setContainsMasks
(@NonNull Boolean containsMasks) void
void
setStickers
(@NonNull List<Sticker> stickers) void
void
toString()
-
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
-