Package net.dv8tion.jda.api.entities
Class Webhook.WebhookReference
java.lang.Object
net.dv8tion.jda.api.entities.Webhook.WebhookReference
- All Implemented Interfaces:
ISnowflake
- Enclosing interface:
Webhook
- See Also:
-
Constructor Details
-
WebhookReference
-
-
Method Details
-
getIdLong
public long getIdLong()Description copied from interface:ISnowflakeThe Snowflake id of this entity. This is unique to every entity and will never change.- Specified by:
getIdLongin interfaceISnowflake- Returns:
- Long containing the Id.
-
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
-
resolve
Resolves this reference to aWebhookinstance.
The resulting instance may not provide aWebhook.getChannel()andWebhook.getGuild()due to API limitation.The resulting webhook can also not be executed because the API does not provide a token.
- Returns:
RestAction- Type:Webhook
-