Trigger action after operator invite members from chatui kit

HI, where/how can I capture that the operator has invited some members using the chat uikit “invite users” button inside “Members” section in order to trigger another action? For example show a toast message or executing X action?

THank you