Packages

c

ackcord.data

MessageInteraction

case class MessageInteraction(id: String, type: InteractionType, name: String, user: User) extends Product with Serializable

This is sent on the message object when the message is a response to an Interaction.

id

id of the interaction

type

the type of interaction

name

the name of the ApplicationCommand

user

the user who invoked the interaction

Source
message.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessageInteraction
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MessageInteraction(id: String, type: InteractionType, name: String, user: User)

    id

    id of the interaction

    type

    the type of interaction

    name

    the name of the ApplicationCommand

    user

    the user who invoked the interaction

Value Members

  1. val id: String
  2. val name: String
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val type: InteractionType
  5. val user: User