editMessage static method

Future<void> editMessage(
  1. dynamic message
)

Replaces message with id message.id with message.

Implementation

static Future<void> editMessage(Message message) async {
  MercuryRequest req = await _req();
  req.message = Message(id: message.id, text: message.text);

  await _client.editMessage(req);
}