Class Webhook.GuildReference

java.lang.Object
net.dv8tion.jda.api.entities.Webhook.GuildReference
All Implemented Interfaces:
ISnowflake
Enclosing interface:
Webhook

public static class Webhook.GuildReference extends Object implements ISnowflake
Partial Guild which references the source guild for a follower webhook.
  • Constructor Details

    • GuildReference

      public GuildReference(long id, String name)
  • Method Details

    • getIdLong

      public long getIdLong()
      Description copied from interface: ISnowflake
      The Snowflake id of this entity. This is unique to every entity and will never change.
      Specified by:
      getIdLong in interface ISnowflake
      Returns:
      Long containing the Id.
    • getName

      @Nonnull public String getName()
      The source guild's name
      Returns:
      The guild name