Class Webhook.WebhookReference

    • Constructor Detail

      • WebhookReference

        public WebhookReference​(JDA api,
                                long webhookId,
                                long channelId)
    • Method Detail

      • 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.
      • getChannelId

        @Nonnull
        public java.lang.String getChannelId()
        The ID for the channel this webhook belongs to
        Returns:
        The ID for the channel this webhook belongs to
      • getChannelIdLong

        public long getChannelIdLong()
        The ID for the channel this webhook belongs to
        Returns:
        The ID for the channel this webhook belongs to