onUserReceivedInvitation

open fun onUserReceivedInvitation(channel: GroupChannel, inviter: User?, invitees: List<User>)

A callback for when a new member has been invited to GroupChannel. If the member accepts the invitation (refer to GroupChannel.acceptInvitation, onUserJoined will be called. Or, the member can also decline the invitation (refer to GroupChannel.declineInvitation to cause onUserDeclinedInvitation.

Since

3.0.30

Parameters

channel

The GroupChannel the new member has been invited.

inviter

The member who invited the invitee. It will be null if invited by platform api.

invitees

Invitees list.