Package discord4j.rest.interaction
Interface GuildInteraction
- All Superinterfaces:
RestInteraction
An
RestInteraction originated from a guild, giving access to specific guild ID and interaction member data.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the guild ID where this interaction was created.Return this interaction member.Methods inherited from interface discord4j.rest.interaction.RestInteraction
acknowledge, acknowledgeEphemeral, getChannelId, getCommandInteractionData, getData, getId, reply, reply, replyEphemeral
-
Method Details
-
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
-