copyWith method

SupergroupFullInfo copyWith({
  1. ChatPhoto? photo,
  2. String? description,
  3. int? memberCount,
  4. int? administratorCount,
  5. int? restrictedCount,
  6. int? bannedCount,
  7. int? linkedChatId,
  8. int? slowModeDelay,
  9. double? slowModeDelayExpiresIn,
  10. bool? canGetMembers,
  11. bool? canSetUsername,
  12. bool? canSetStickerSet,
  13. bool? canSetLocation,
  14. bool? canGetStatistics,
  15. bool? isAllHistoryAvailable,
  16. int? stickerSetId,
  17. ChatLocation? location,
  18. ChatInviteLink? inviteLink,
  19. List<BotCommands>? botCommands,
  20. int? upgradedFromBasicGroupId,
  21. int? upgradedFromMaxMessageId,
  22. dynamic extra,
  23. int? clientId,
})

Implementation

SupergroupFullInfo copyWith({
  ChatPhoto? photo,
  String? description,
  int? memberCount,
  int? administratorCount,
  int? restrictedCount,
  int? bannedCount,
  int? linkedChatId,
  int? slowModeDelay,
  double? slowModeDelayExpiresIn,
  bool? canGetMembers,
  bool? canSetUsername,
  bool? canSetStickerSet,
  bool? canSetLocation,
  bool? canGetStatistics,
  bool? isAllHistoryAvailable,
  int? stickerSetId,
  ChatLocation? location,
  ChatInviteLink? inviteLink,
  List<BotCommands>? botCommands,
  int? upgradedFromBasicGroupId,
  int? upgradedFromMaxMessageId,
  dynamic extra,
  int? clientId,
}) => SupergroupFullInfo(
  photo: photo ?? this.photo,
  description: description ?? this.description,
  memberCount: memberCount ?? this.memberCount,
  administratorCount: administratorCount ?? this.administratorCount,
  restrictedCount: restrictedCount ?? this.restrictedCount,
  bannedCount: bannedCount ?? this.bannedCount,
  linkedChatId: linkedChatId ?? this.linkedChatId,
  slowModeDelay: slowModeDelay ?? this.slowModeDelay,
  slowModeDelayExpiresIn: slowModeDelayExpiresIn ?? this.slowModeDelayExpiresIn,
  canGetMembers: canGetMembers ?? this.canGetMembers,
  canSetUsername: canSetUsername ?? this.canSetUsername,
  canSetStickerSet: canSetStickerSet ?? this.canSetStickerSet,
  canSetLocation: canSetLocation ?? this.canSetLocation,
  canGetStatistics: canGetStatistics ?? this.canGetStatistics,
  isAllHistoryAvailable: isAllHistoryAvailable ?? this.isAllHistoryAvailable,
  stickerSetId: stickerSetId ?? this.stickerSetId,
  location: location ?? this.location,
  inviteLink: inviteLink ?? this.inviteLink,
  botCommands: botCommands ?? this.botCommands,
  upgradedFromBasicGroupId: upgradedFromBasicGroupId ?? this.upgradedFromBasicGroupId,
  upgradedFromMaxMessageId: upgradedFromMaxMessageId ?? this.upgradedFromMaxMessageId,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);