sendTyping method
Future<ChatResult<void> >
sendTyping(
- String contactUserId, {
- ChatActivity activity = ChatActivity.startsTyping,
override
Sends a typing indicator to a contact's DM conversation.
Always sent over REST (POST /contacts/{id}/activity) — the
backend's WS typing frame is room-scoped, so this is the only
route that reaches the peer as a contact-activity event. Throttle
on the caller side; the SDK does not throttle per-contact
automatically.
Implementation
@override
Future<ChatResult<void>> sendTyping(
String contactUserId, {
ChatActivity activity = ChatActivity.startsTyping,
}) async => const ChatSuccess(null);