copyWith method

ChatStatisticsAdministratorActionsInfo copyWith({
  1. int? userId,
  2. int? deletedMessageCount,
  3. int? bannedUserCount,
  4. int? restrictedUserCount,
})

Implementation

ChatStatisticsAdministratorActionsInfo copyWith({
  int? userId,
  int? deletedMessageCount,
  int? bannedUserCount,
  int? restrictedUserCount,
}) =>
    ChatStatisticsAdministratorActionsInfo(
      userId: userId ?? this.userId,
      deletedMessageCount: deletedMessageCount ?? this.deletedMessageCount,
      bannedUserCount: bannedUserCount ?? this.bannedUserCount,
      restrictedUserCount: restrictedUserCount ?? this.restrictedUserCount,
    );