yakyak / hangupsjs

google hangouts client library for nodejs
226 stars 46 forks source link

getEntityById returns id:null, properties:null #134

Closed Black2vs2 closed 3 years ago

Black2vs2 commented 3 years ago

Output of client.getentitybyid("###############") (client_id)

{
  response_header: {
    status: 1,
    request_trace_id: '5560274125595013387',
    current_server_time: '1621003816961000'
  },
  entities: [
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null },
    { id: null, properties: null }
  ]
}

Edit: Solved by using an array of string instead of a string