Class TdApi.StickerSet

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.StickerSet
Enclosing class:
TdApi

public static class TdApi.StickerSet extends TdApi.Object
Represents a sticker set.
  • Field Details

    • id

      public long id
      Identifier of the sticker set.
    • title

      public String title
      Title of the sticker set.
    • name

      public String name
      Name of the sticker set.
    • thumbnail

      public TdApi.Thumbnail thumbnail
      Sticker set thumbnail in WEBP, TGS, or WEBM format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed.
    • thumbnailOutline

      public TdApi.ClosedVectorPath[] thumbnailOutline
      Sticker set thumbnail's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.
    • isOwned

      public boolean isOwned
      True, if the sticker set is owned by the current user.
    • isInstalled

      public boolean isInstalled
      True, if the sticker set has been installed by the current user.
    • isArchived

      public boolean isArchived
      True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously.
    • isOfficial

      public boolean isOfficial
      True, if the sticker set is official.
    • stickerType

      public TdApi.StickerType stickerType
      Type of the stickers in the set.
    • needsRepainting

      public boolean needsRepainting
      True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only.
    • isAllowedAsChatEmojiStatus

      public boolean isAllowedAsChatEmojiStatus
      True, if stickers in the sticker set are custom emoji that can be used as chat emoji status; for custom emoji sticker sets only.
    • isViewed

      public boolean isViewed
      True for already viewed trending sticker sets.
    • stickers

      public TdApi.Sticker[] stickers
      List of stickers in this set.
    • emojis

      public TdApi.Emojis[] emojis
      A list of emojis corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • StickerSet

      public StickerSet()
      Represents a sticker set.
    • StickerSet

      public StickerSet(long id, String title, String name, TdApi.Thumbnail thumbnail, TdApi.ClosedVectorPath[] thumbnailOutline, boolean isOwned, boolean isInstalled, boolean isArchived, boolean isOfficial, TdApi.StickerType stickerType, boolean needsRepainting, boolean isAllowedAsChatEmojiStatus, boolean isViewed, TdApi.Sticker[] stickers, TdApi.Emojis[] emojis)
      Represents a sticker set.
      Parameters:
      id - Identifier of the sticker set.
      title - Title of the sticker set.
      name - Name of the sticker set.
      thumbnail - Sticker set thumbnail in WEBP, TGS, or WEBM format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed.
      thumbnailOutline - Sticker set thumbnail's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.
      isOwned - True, if the sticker set is owned by the current user.
      isInstalled - True, if the sticker set has been installed by the current user.
      isArchived - True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously.
      isOfficial - True, if the sticker set is official.
      stickerType - Type of the stickers in the set.
      needsRepainting - True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only.
      isAllowedAsChatEmojiStatus - True, if stickers in the sticker set are custom emoji that can be used as chat emoji status; for custom emoji sticker sets only.
      isViewed - True for already viewed trending sticker sets.
      stickers - List of stickers in this set.
      emojis - A list of emojis corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR