updateMessage method

Future<ChannelMessageAck> updateMessage({
  1. required String channelId,
  2. required String messageId,
  3. required Map<String, String> content,
})

Implementation

Future<rtpb.ChannelMessageAck> updateMessage({
  required String channelId,
  required String messageId,
  required Map<String, String> content,
}) =>
    _send<rtpb.ChannelMessageAck>(rtpb.Envelope(
        channelMessageUpdate: rtpb.ChannelMessageUpdate(
      channelId: channelId,
      messageId: messageId,
      content: jsonEncode(content),
    )));