copyWith method

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

Implementation

BasicGroupFullInfo copyWith({
  ChatPhoto? photo,
  String? description,
  int? creatorUserId,
  List<ChatMember>? members,
  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,
  inviteLink: inviteLink ?? this.inviteLink,
  botCommands: botCommands ?? this.botCommands,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);