Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

227
Views
¿Cómo usar ejecutar en node-vk-bot-api? ¿Por qué recibo la promesa { <pendiente>}?

¿Cómo obtener información usando el método de usuarios. obtener usando node-vk-bot-api? No entiendo cómo trabajar con ejecutar. ¿Por qué recibo Promesa {Pendiente}?

 const token = ""; const VkBot = require("node-vk-bot-api"), bot = new VkBot(token); let id = msg.message.from_id const response = bot.execute('users.get', {user_ids: id}); console.log(response) --> Promise { <pending> }

o

 let id = msg.message.from_id const api = require('node-vk-bot-api/lib/api'); let user = api('users.get', { user_ids: id, access_token: token }); console.log(user) --> Promise { <pending> }
about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

bot.command('Дуров', async (test) => { user = await bot.execute('users.get', {user_id: 1}) console.log(test) })
about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!