sendTextMessage method
Send text message
Implementation
Future<ChatMessage?> sendTextMessage({
required String text,
}) async {
final result = (await _chatApi.chatRoomsMessagesCreate(
roomId: roomId,
chatMessageRequest: ChatMessageRequest(
message: text,
),
))
.data;
return result;
}