copyWith method
BasicGroupFullInfo
copyWith({
- ChatPhoto? photo,
- String? description,
- int? creatorUserId,
- List<
ChatMember> ? members, - ChatInviteLink? inviteLink,
- List<
BotCommands> ? botCommands, - dynamic extra,
- 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,
);