Closed MarcinK50 closed 3 years ago
Hi, today I wanted to read message content, but the API returning undefined My code:
undefined
client.inbox.listInbox(5).then(data => { const latestMessage = data[0] client.inbox.getMessage(5, latestMessage.id).then(data => console.log(data)); console.log(latestMessage.content) }
Oh, i must read the content in line 3 🤦
Hi, today I wanted to read message content, but the API returning
undefined
My code: