# Can Zoom Video SDK support one to one chat and group chat without creating session?

**URL:** <https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607>\
**Category:** Video SDK\
**Created:** [February 27, 2024, 10:38am UTC](https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607 "2024-02-27T10:38:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhara.patel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dhara.patel/32/57012_2.png) [@dhara.patel](https://devforum.zoom.us/u/dhara.patel)\
**Post date:** [February 27, 2024, 10:38am UTC](https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607/1 "2024-02-27T10:38:15Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [February 27, 2024, 11:55am UTC](https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607/2 "2024-02-27T11:55:46Z")

</div>

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](https://developers.zoom.us/docs/video-sdk/flutter/chat/)

---

<div class="post-metadata">

**Author:** ![dhara.patel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dhara.patel/32/57012_2.png) [@dhara.patel](https://devforum.zoom.us/u/dhara.patel)\
**Post date:** [February 27, 2024, 12:19pm UTC](https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607/3 "2024-02-27T12:19:16Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [February 27, 2024, 3:38pm UTC](https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607/4 "2024-02-27T15:38:57Z")

</div>

Using the Flutter SDK you have two methods:

- [sendChatToAll](https://marketplacefront.zoom.us/sdk/custom/flutter/native_zoom_videosdk_chat_helper/ZoomVideoSdkChatHelper/sendChatToAll.html)  
Call this method to send a chat message to all users.

- [sendChatToUser](https://marketplacefront.zoom.us/sdk/custom/flutter/native_zoom_videosdk_chat_helper/ZoomVideoSdkChatHelper/sendChatToUser.html)  
Call this method to send a chat message to a specific user.

---

<div class="post-metadata">

**Author:** ![dunt](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dunt/32/60077_2.png) [@dunt](https://devforum.zoom.us/u/dunt)\
**Post date:** [June 18, 2024, 10:07am UTC](https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607/5 "2024-06-18T10:07:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [June 18, 2024, 11:29am UTC](https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607/6 "2024-06-18T11:29:40Z")

</div>

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](https://developers.zoom.us/docs/video-sdk/web/chat/#get-chat-history)

If you’re not using Flutter and this answer doesn’t solve your query, please create a new thread for this.

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [June 18, 2024, 11:29am UTC](https://devforum.zoom.us/t/can-zoom-video-sdk-support-one-to-one-chat-and-group-chat-without-creating-session/104607/7 "2024-06-18T11:29:55Z")

</div>

Closed on June 18, 2024, 11:29am UTC


