# Invite users functionality

**URL:** <https://community.sendbird.com/t/invite-users-functionality/9559>\
**Category:** Miscellaneous\
**Tags:** group-channel, chat-uikt\
**Created:** [May 21, 2024, 8:40pm UTC](https://community.sendbird.com/t/invite-users-functionality/9559 "2024-05-21T20:40:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romina\_Salveraglio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/romina_salveraglio/32/5174_2.png) [@Romina\_Salveraglio](https://community.sendbird.com/u/Romina_Salveraglio)\
**Post date:** [May 21, 2024, 8:40pm UTC](https://community.sendbird.com/t/invite-users-functionality/9559/1 "2024-05-21T20:40:23Z")

</div>

HI, I wanted to know how can I have the members list that gets displayed in channel settings of a chat updated after inviting some user using the “invite users” button on the accordion footer. And also, is there is any method I can use to trigger something every time a user is invited through that button. Something similar to the onLeaveChannel of ChannelSettingsProvider that gives the possibility to define the logic we want to get implemented every time a user leaves a channel

And also, if I hide that button, it is only hidden for normal users but operators would still be able to invite users from chat settings, wouldn’t they? or hiding it with

> .sendbird-channel-settings\_\_user-panel  
> .sendbird-channel-settings-member-list  
> .sendbird-channel-settings-accordion\_\_footer {  
> @apply hidden;  
> }

hides it also for operators?
