editResponse method
Future
editResponse(
- String applicationId, {
- required String token,
- required InteractionApplicationCommandCallbackData data,
Implementation
Future editResponse(
String applicationId, {
required String token,
required InteractionApplicationCommandCallbackData data,
}) {
var endpoint = '/webhooks/$applicationId/$token/messages/@original';
return _http.request(
endpoint,
converter: _http.asNull,
method: 'patch',
body: data.toJson()..filterNullValues(),
);
}