# Custom chat UI with Host and other participants in different tabs

**URL:** <https://devforum.zoom.us/t/custom-chat-ui-with-host-and-other-participants-in-different-tabs/7866>\
**Category:** Android\
**Created:** [February 4, 2020, 12:56pm UTC](https://devforum.zoom.us/t/custom-chat-ui-with-host-and-other-participants-in-different-tabs/7866 "2020-02-04T12:56:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pradeep](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pradeep/32/2437_2.png) [@pradeep](https://devforum.zoom.us/u/pradeep)\
**Post date:** [February 4, 2020, 12:56pm UTC](https://devforum.zoom.us/t/custom-chat-ui-with-host-and-other-participants-in-different-tabs/7866/1 "2020-02-04T12:56:24Z")

</div>

On Click chat button in a custom UI, I need to open a screen with 2 tabs. 1st tab is chat with host and 2nd tab is chat with group. OnClick of each tabs which functionalities i need to call? I went through the documentation but didn’t find anything as such. Could you please help me with these?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [February 6, 2020, 2:02am UTC](https://devforum.zoom.us/t/custom-chat-ui-with-host-and-other-participants-in-different-tabs/7866/2 "2020-02-06T02:02:12Z")

</div>

Hi [pradeep](https://devforum.zoom.us/u/pradeep),

Thanks for the post. You could use the following interfaces:

- ZoomSDK.getInstance().getInMeetingService().getInMeetingChatController().sendChatToGroup()（[https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingChatController.html#sendChatToGroup-us.zoom.sdk.InMeetingChatController.MobileRTCChatGroup-java.lang.String-）](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingChatController.html#sendChatToGroup-us.zoom.sdk.InMeetingChatController.MobileRTCChatGroup-java.lang.String-%EF%BC%89)
- ZoomSDK.getInstance().getInMeetingService().getInMeetingChatController().sendChatToUser()([https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingChatController.html#sendChatToUser-long-java.lang.String-](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingChatController.html#sendChatToUser-long-java.lang.String-))

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![pradeep](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pradeep/32/2437_2.png) [@pradeep](https://devforum.zoom.us/u/pradeep)\
**Post date:** [February 7, 2020, 5:03am UTC](https://devforum.zoom.us/t/custom-chat-ui-with-host-and-other-participants-in-different-tabs/7866/3 "2020-02-07T05:03:39Z")

</div>

@carson.zoom Thanks for the reply!  
To accomplish task do i need to handle each text in a custom UI or the default UI by zoom can be used?  
Also in sendChatToGroup where from i can get the “InMeetingChatController.MobileRTCChatGroup” (group)?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [February 8, 2020, 12:35am UTC](https://devforum.zoom.us/t/custom-chat-ui-with-host-and-other-participants-in-different-tabs/7866/4 "2020-02-08T00:35:57Z")

</div>

Hi [pradeep](https://devforum.zoom.us/u/pradeep),

You could achieve this with custom UI or default UI(you may refer to the implementation of example2 in the SDK demohttps://github.com/zoom/zoom-sdk-android/tree/master/mobilertc-android-studio/example2).

The MobileRTCChatGroup can be found here: [https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingChatController.MobileRTCChatGroup.html](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingChatController.MobileRTCChatGroup.html)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:14pm UTC](https://devforum.zoom.us/t/custom-chat-ui-with-host-and-other-participants-in-different-tabs/7866/5 "2020-08-21T19:14:27Z")

</div>

Closed on August 21, 2020, 7:14pm UTC


