copyWith method

GetChatJoinRequests copyWith({
  1. int? chatId,
  2. String? inviteLink,
  3. String? query,
  4. ChatJoinRequest? offsetRequest,
  5. int? limit,
})

Implementation

GetChatJoinRequests copyWith({
  int? chatId,
  String? inviteLink,
  String? query,
  ChatJoinRequest? offsetRequest,
  int? limit,
}) =>
    GetChatJoinRequests(
      chatId: chatId ?? this.chatId,
      inviteLink: inviteLink ?? this.inviteLink,
      query: query ?? this.query,
      offsetRequest: offsetRequest ?? this.offsetRequest,
      limit: limit ?? this.limit,
    );