Class PartialSticker

java.lang.Object
discord4j.core.object.entity.PartialSticker
All Implemented Interfaces:
DiscordObject, Entity
Direct Known Subclasses:
Sticker

public class PartialSticker extends Object implements Entity
  • Field Details

  • Constructor Details

    • PartialSticker

      public PartialSticker(GatewayDiscordClient gateway, discord4j.discordjson.json.PartialStickerData data)
  • Method Details

    • getClient

      public GatewayDiscordClient getClient()
      Description copied from interface: DiscordObject
      Returns the GatewayDiscordClient that created this object. Methods in it are exclusively based on the entity cache or Store in use. Refer to calling getClient().rest() to access a DiscordClient that is capable of requesting entities directly from the REST API.
      Specified by:
      getClient in interface DiscordObject
      Returns:
      The GatewayDiscordClient associated to this object.
    • getId

      public Snowflake getId()
      Description copied from interface: Entity
      Gets the Snowflake that uniquely identifies this entity.
      Specified by:
      getId in interface Entity
      Returns:
      The Snowflake that uniquely identifies this entity.
    • getName

      public String getName()
      Gets the name of the sticker.
      Returns:
      The name of the sticker.
    • getFormatType

      public Sticker.Format getFormatType()
      Gets the type of sticker format.
      Returns:
      The type of sticker format.
    • getImageUrl

      public String getImageUrl()
      Gets the URL for this sticker.
      Returns:
      The URL for this sticker.
    • getStickerData

      public discord4j.discordjson.json.PartialStickerData getStickerData()
      Gets the data of the sticker.
      Returns:
      The data of the sticker.