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