redactMessage method

void redactMessage(
  1. String target,
  2. String msgid, {
  3. String? reason,
})

Ask the server to delete a message.

Implementation

void redactMessage(String target, String msgid, {String? reason}) {
  _alive();
  command({
    'type': 'redact_message',
    'target': target,
    'msgid': msgid,
    'reason': reason,
  });
}