sendMessage method

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

Implementation

Future<rtpb.ChannelMessageAck> sendMessage({
  required String channelId,
  required Map<String, String> content,
}) =>
    _send<rtpb.ChannelMessageAck>(rtpb.Envelope(
        channelMessageSend: rtpb.ChannelMessageSend(
      channelId: channelId,
      content: jsonEncode(content),
    )));