onInvitationReceivedFromGroup method

  1. @protected
void onInvitationReceivedFromGroup(
  1. String groupId,
  2. String? groupName,
  3. String inviter,
  4. String? reason,
)

Implementation

@protected
void onInvitationReceivedFromGroup(
    String groupId, String? groupName, String inviter, String? reason) {
  for (var observer in List<ChatUIKitObserverBase>.of(observers)) {
    if (observer is GroupObserver) {
      observer.onInvitationReceivedFromGroup(
          groupId, groupName, inviter, reason);
    }
  }
}