Class IntegrationUpdateEvent
java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.integration.IntegrationUpdateEvent
Dispatched when an integration is updated.
This event is dispatched by Discord.
- See Also:
-
Constructor Summary
ConstructorDescriptionIntegrationUpdateEvent
(GatewayDiscordClient gateway, ShardInfo shardInfo, long guildId, Integration integration) -
Method Summary
Modifier and TypeMethodDescriptionGets the id of the guild.Gets the updated integration.Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
Constructor Details
-
IntegrationUpdateEvent
public IntegrationUpdateEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, long guildId, Integration integration)
-
-
Method Details
-
getGuildId
Gets the id of the guild.- Returns:
- The id of the guild.
-
getIntegration
Gets the updated integration.- Returns:
- The updated integration.
-