sendMessage method
Implementation
Future<ChannelMessageAck> sendMessage({
required String channelId,
required Map<String, String> content,
}) async {
final res = await _send<rtpb.ChannelMessageAck>(rtpb.Envelope(
channelMessageSend: rtpb.ChannelMessageSend(
channelId: channelId,
content: jsonEncode(content),
)));
return ChannelMessageAck.fromDto(res);
}