there is a hook that get the unread message from c...
# ask-ai
p
there is a hook that get the unread message from chat ?
t
Thanks for reaching out, Yassine. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
LiveKit does not currently provide a specific hook to directly retrieve unread messages from chat. However, there is a
useChatToggle
hook that includes a
data-lk-unread-msgs
attribute in its returned properties, which might relate to unread message functionality. If you are looking for a specific implementation or further details, please let me know so I can assist further. Sources: Add chat to your React app | LiveKit Docs | useChatToggle | React Components | LiveKit Docs | useChat | React Components | LiveKit Docs