Package discord4j.rest.interaction
Interface GuildInteraction
-
- All Superinterfaces:
RestInteraction
@Experimental public interface GuildInteraction extends RestInteraction
AnRestInteraction
originated from a guild, giving access to specific guild ID and interaction member data.- See Also:
Interactions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Snowflake
getGuildId()
Return the guild ID where this interaction was created.InteractionMember
getInteractionMember()
Return this interaction member.-
Methods inherited from interface discord4j.rest.interaction.RestInteraction
acknowledge, acknowledgeEphemeral, getChannelId, getCommandInteractionData, getData, getId, reply, reply, replyEphemeral
-
-
-
-
Method Detail
-
getGuildId
Snowflake getGuildId()
Return the guild ID where this interaction was created.- Returns:
- this interaction Snowflake guild ID
-
getInteractionMember
InteractionMember getInteractionMember()
Return this interaction member.- Returns:
- an object with methods to operate on this interaction member
-
-