copyWith method

BasicGroupFullInfo copyWith({
  1. ChatPhoto? photo,
  2. String? description,
  3. int? creatorUserId,
  4. List<ChatMember>? members,
  5. bool? canHideMembers,
  6. bool? canToggleAggressiveAntiSpam,
  7. ChatInviteLink? inviteLink,
  8. List<BotCommands>? botCommands,
  9. dynamic extra,
  10. int? clientId,
})

Implementation

BasicGroupFullInfo copyWith({
  ChatPhoto? photo,
  String? description,
  int? creatorUserId,
  List<ChatMember>? members,
  bool? canHideMembers,
  bool? canToggleAggressiveAntiSpam,
  ChatInviteLink? inviteLink,
  List<BotCommands>? botCommands,
  dynamic extra,
  int? clientId,
}) =>
    BasicGroupFullInfo(
      photo: photo ?? this.photo,
      description: description ?? this.description,
      creatorUserId: creatorUserId ?? this.creatorUserId,
      members: members ?? this.members,
      canHideMembers: canHideMembers ?? this.canHideMembers,
      canToggleAggressiveAntiSpam:
          canToggleAggressiveAntiSpam ?? this.canToggleAggressiveAntiSpam,
      inviteLink: inviteLink ?? this.inviteLink,
      botCommands: botCommands ?? this.botCommands,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );