Interface Interaction<T>

All Superinterfaces:
Entity, GuildEntity, HasChannel, HasGuild, Snowflake, Timestamped
All Known Subinterfaces:
ApplicationCommandInteraction, ButtonInteraction, SelectInteraction
All Known Implementing Classes:
ApplicationCommandInteractionImpl, ButtonInteractionImpl, SelectInteractionImpl

public interface Interaction<T> extends Snowflake, GuildEntity, HasChannel
Since:
12/10/20.
Author:
amy
  • Method Details

    • type

      @Nonnull InteractionType type()
    • data

      @Nullable T data()
    • member

      @Nullable Member member()
    • token

      @Nonnull String token()
    • version

      @Nonnegative int version()