Invite users functionality

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-accordion__footer {
@apply hidden;

hides it also for operators?