copyWith method

  1. @override
UpdateNewChatJoinRequest copyWith({
  1. int? chatId,
  2. ChatJoinRequest? request,
  3. ChatInviteLink? inviteLink,
  4. dynamic extra,
  5. int? clientId,
})
override

Implementation

@override
UpdateNewChatJoinRequest copyWith({
  int? chatId,
  ChatJoinRequest? request,
  ChatInviteLink? inviteLink,
  dynamic extra,
  int? clientId,
}) => UpdateNewChatJoinRequest(
  chatId: chatId ?? this.chatId,
  request: request ?? this.request,
  inviteLink: inviteLink ?? this.inviteLink,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);