onUserReceivedInvitation method
A callback for when a new member has been invited to GroupChannel
.
If the member accepts the invitation (refer to GroupChannelOperation.acceptInvitation),
onUserJoined will be called.
Or, the member can also decline the invitation (refer to GroupChannelOperation.declineInvitation)
to cause onUserDeclinedInvitation.
Implementation
void onUserReceivedInvitation(
GroupChannel channel, List<User> invitees, User? inviter) {}