sendMessage abstract method
Sends a new message.
chatId: ID of the chatauthorId: ID of the authortext: Message textreplyToMessageId: ID of the message being replied to (optional)
Returns the created message or throws an exception on error.
Implementation
Future<ChatMessage> sendMessage({
required String chatId,
required String authorId,
required String text,
String? replyToMessageId,
});