ServerButtonContext constructor

ServerButtonContext({
  1. required Snowflake id,
  2. required Snowflake applicationId,
  3. required String token,
  4. required int version,
  5. required String customId,
  6. required ServerMessage message,
  7. required Member member,
})

Implementation

ServerButtonContext({
  required this.id,
  required this.applicationId,
  required this.token,
  required this.version,
  required this.customId,
  required this.message,
  required this.member,
}) {
  interaction = Interaction(token, id);
}