editMessage static method
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);
}