copyWith method

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

Implementation

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