starMessage method
Stars (bookmarks) a message for the current user only.
A private, per-user bookmark — unlike pinMessage, other members are not notified and do not see it. Idempotent: starring an already-starred message succeeds. Surface the starred set via listStarred (e.g. a "Starred messages" screen, WhatsApp-style).
Implementation
@override
Future<ChatResult<void>> starMessage(String roomId, String messageId) async {
_client._starred[messageId] = roomId;
_client.emitEvent(
ChatEvent.messageUpdated(roomId: roomId, messageId: messageId),
);
return const ChatSuccess(null);
}