copyWith method

UpdateNewChatJoinRequest copyWith({
  1. int? chatId,
  2. ChatJoinRequest? request,
  3. int? userChatId,
  4. ChatInviteLink? inviteLink,
  5. int? queryId,
})

Implementation

UpdateNewChatJoinRequest copyWith({
  int? chatId,
  ChatJoinRequest? request,
  int? userChatId,
  ChatInviteLink? inviteLink,
  int? queryId,
}) => UpdateNewChatJoinRequest(
  chatId: chatId ?? this.chatId,
  request: request ?? this.request,
  userChatId: userChatId ?? this.userChatId,
  inviteLink: inviteLink ?? this.inviteLink,
  queryId: queryId ?? this.queryId,
);