Class StickerSet

java.lang.Object
io.micronaut.chatbots.telegram.api.StickerSet

public class StickerSet extends Object
This object represents a sticker.
See Also:
  • Constructor Details

    • StickerSet

      public StickerSet()
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Returns:
      Sticker set name.
    • setName

      public void setName(@NonNull @NonNull String name)
      Parameters:
      name - Sticker set name.
    • getTitle

      @NonNull public @NonNull String getTitle()
      Returns:
      Sticker set title.
    • setTitle

      public void setTitle(@NonNull @NonNull String title)
      Parameters:
      title - Sticker set title.
    • getAnimated

      @NonNull public @NonNull Boolean getAnimated()
      Returns:
      True, if the sticker set contains animated stickers.
    • setAnimated

      public void setAnimated(@NonNull @NonNull Boolean animated)
      Parameters:
      animated - True, if the sticker set contains animated stickers.
    • getContainsMasks

      @NonNull public @NonNull Boolean getContainsMasks()
      Returns:
      True, if the sticker set contains masks.
    • setContainsMasks

      public void setContainsMasks(@NonNull @NonNull Boolean containsMasks)
      Parameters:
      containsMasks - True, if the sticker set contains masks.
    • getStickers

      @NonNull public @NonNull List<Sticker> getStickers()
      Returns:
      List of all set stickers.
    • setStickers

      public void setStickers(@NonNull @NonNull List<Sticker> stickers)
      Parameters:
      stickers - List of all set stickers.
    • getThumb

      @Nullable public @Nullable PhotoSize getThumb()
      Returns:
      Sticker set thumbnail in the .WEBP or .TGS format.
    • setThumb

      public void setThumb(@Nullable @Nullable PhotoSize thumb)
      Parameters:
      thumb - Sticker set thumbnail in the .WEBP or .TGS format.
    • toString

      public String toString()
      Overrides:
      toString in class Object