Package discord4j.discordjson.json
Interface ApplicationCommandInteractionData
-
@Immutable public interface ApplicationCommandInteractionData
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static discord4j.discordjson.json.ImmutableApplicationCommandInteractionData.Builder
builder()
discord4j.discordjson.possible.Possible<Integer>
componentType()
discord4j.discordjson.possible.Possible<String>
customId()
discord4j.discordjson.possible.Possible<String>
id()
the ID of the invoked commanddiscord4j.discordjson.possible.Possible<String>
name()
the name of the invoked commanddiscord4j.discordjson.possible.Possible<List<ApplicationCommandInteractionOptionData>>
options()
the params + values from the userdiscord4j.discordjson.possible.Possible<ApplicationCommandInteractionResolvedData>
resolved()
converted users + members + roles + channelsdiscord4j.discordjson.possible.Possible<List<String>>
values()
-
-
-
Method Detail
-
builder
static discord4j.discordjson.json.ImmutableApplicationCommandInteractionData.Builder builder()
-
id
discord4j.discordjson.possible.Possible<String> id()
the ID of the invoked command
-
name
discord4j.discordjson.possible.Possible<String> name()
the name of the invoked command
-
resolved
discord4j.discordjson.possible.Possible<ApplicationCommandInteractionResolvedData> resolved()
converted users + members + roles + channels
-
options
discord4j.discordjson.possible.Possible<List<ApplicationCommandInteractionOptionData>> options()
the params + values from the user
-
customId
discord4j.discordjson.possible.Possible<String> customId()
-
componentType
discord4j.discordjson.possible.Possible<Integer> componentType()
-
-