copyWith method
UpdateChatMember
copyWith({
- int? chatId,
- int? actorUserId,
- int? date,
- ChatInviteLink? inviteLink,
- ChatMember? oldChatMember,
- ChatMember? newChatMember,
- dynamic extra,
- int? clientId,
override
Implementation
@override
UpdateChatMember copyWith({
int? chatId,
int? actorUserId,
int? date,
ChatInviteLink? inviteLink,
ChatMember? oldChatMember,
ChatMember? newChatMember,
dynamic extra,
int? clientId,
}) => UpdateChatMember(
chatId: chatId ?? this.chatId,
actorUserId: actorUserId ?? this.actorUserId,
date: date ?? this.date,
inviteLink: inviteLink ?? this.inviteLink,
oldChatMember: oldChatMember ?? this.oldChatMember,
newChatMember: newChatMember ?? this.newChatMember,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);