sendMessageToDirectChat method
[Future<[void>]] sendMessageToDirectChat(
)
Sends a message to a direct chat.
params:
chatId
: The ID of the chat where the message will be sent.messageContent
: The content of the message to be sent.
returns: None
Implementation
Future<void> sendMessageToDirectChat(
String chatId,
String messageContent,
) async
- talawa
- chat_service
- ChatService
- sendMessageToDirectChat method