callback method
Future
callback({
- required InteractionResponseType type,
- InteractionApplicationCommandCallbackData? data,
Implementation
Future callback({
required InteractionResponseType type,
InteractionApplicationCommandCallbackData? data,
}) {
var client = clients[_clientIndex]!;
return client.interactions.callback(
id,
token: token,
type: type,
data: data,
);
}