Enik06
Apr 16th, 2025
9
0
Never
This is comment for paste Untitled
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if ($input.first().json.message.from.id !== YOUR_USER_ID_HERE) { // Replace with your actual ID
  2. return {unauthorized: true};
  3. } else {
  4. // Return the original data when authorized
  5. return $input.all();
  6. }
  7.  
Add Comment
Please, Sign In to add comment