Class IntegrationDeleteEvent
- java.lang.Object
-
- discord4j.core.event.domain.Event
-
- discord4j.core.event.domain.integration.IntegrationDeleteEvent
-
public class IntegrationDeleteEvent extends Event
Dispatched when an integration is deleted. This event is dispatched by Discord.- See Also:
- Integration Delete
-
-
Constructor Summary
Constructors Constructor Description IntegrationDeleteEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, long id, long guildId, Long applicationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Snowflake>
getApplicationId()
Gets the id of the bot/OAuth2 application for this discord integration, if present.Snowflake
getGuildId()
Gets the id of the guild.Snowflake
getId()
Gets the id of the integration.-
Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
-
-
-
Constructor Detail
-
IntegrationDeleteEvent
public IntegrationDeleteEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, long id, long guildId, @Nullable Long applicationId)
-
-