ComponentInteractionImpl

open class ComponentInteractionImpl(val yde: YDE, val json: JsonNode, val interactionId: GetterSnowFlake) : ComponentInteraction(source)

Inheritors

Constructors

Link copied to clipboard
constructor(yde: YDE, json: JsonNode, interactionId: GetterSnowFlake)

Functions

Link copied to clipboard
open override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard
open override val applicationId: GetterSnowFlake?

The application id of this component.

Link copied to clipboard
open override val channel: TextChannel?

The channel were this component was triggered.

Link copied to clipboard
open override val components: List<Component>

Gets a list of Components that were sent with this component.

Link copied to clipboard
open override val data: ComponentInteractionData

Gets extra data sent with this component.

Link copied to clipboard
open override val guild: Guild?

The guild of this component.

Link copied to clipboard
open override val interactionId: GetterSnowFlake

The interaction id.

Link copied to clipboard
open override val interactionToken: String

The interaction token.

Link copied to clipboard

The interaction type of this component.

Link copied to clipboard
open override val json: JsonNode

The json representation of this entity.

Link copied to clipboard
open override val member: Member?

The member who triggered this component.

Link copied to clipboard
open override val message: Message

The message corresponding to this component.

Link copied to clipboard
open override val type: ComponentType

The type of component interaction.

Link copied to clipboard
open override val user: User?

The user who triggered this component.

Link copied to clipboard
open override val yde: YDE

The main YDE instance.