interaction

The Interaction resource.


public final InteractionCreatedEvent.Builder interaction(JsonField<Interaction> interaction)

Sets Builder.interaction to an arbitrary JSON value.

You should usually call Builder.interaction with a well-typed Interaction value instead. This method is primarily for setting the field to an undocumented or not yet supported value.