I want to make an flutter app in which I have features like, invite users, one to one chat, group chat, audio call and video call. Want to know using Zoom Video SDK can I create one to one chat and group chat. Also want to know about, its required to create session or without session also we can do that? Can I get chat history if I am doing one to one chat or group chat and once I am getting chat history can I continue to send new message?
Can you please let me know that Zoom Video SDK support this or not?
Hey @dhara.patel
Chats can be sent during a session or in a subsession to and from all participants or select participants. If you want to create a general chat you can create a simple session, say “global-session” and join that for all the users.
You can find all the details about Chat in our docs here: Chat
What about group chat? Can we do it? In session it is not like once I am left from the session all my chat history and data will be lost?
Using the Flutter SDK you have two methods:
-
sendChatToAll
Call this method to send a chat message to all users. -
sendChatToUser
Call this method to send a chat message to a specific user.
Hi @ekaansh.zoom
I’m also developing issue that relate to this question.
Currently, if user can see all messages history on the first time joining meet ?
I’m using getChatHistory func but it doesn’t work. it just works when user in meeting, if user left and join again or new user joins meet , it returns empty array
Hi @dunt this thread is for the Flutter SDK, are you referring to Flutter in your question? I can’t find the getChatHistory function in the Flutter SDK.
I’m guessing you’re using the Web SDK for which if you call the chat.getHistory()
function it’ll return the chats that were sent and received while the user was in the session as described here: Video SDK - web - Chat
If you’re not using Flutter and this answer doesn’t solve your query, please create a new thread for this.