You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if its just me, but whenever I listen for a postback, the payload always returns null despite being assigned a value before the postback event triggers.
Whenever I use reply to echo the payload data to the user, I get an error message: Param message[text] must be a UTF-8 encoded string
Hi,
Not sure if its just me, but whenever I listen for a postback, the payload always returns null despite being assigned a value before the postback event triggers.
Whenever I use reply to echo the payload data to the user, I get an error message: Param message[text] must be a UTF-8 encoded string
bot.on('postback', (payload, reply, actions) => { reply({text: payload}, (err, info) => { if(err) { console.log(err.message) throw err } }) })
Unless I'm wrong and the payload object changes from a string before postback to a different object type?
Please advise guys
Thanks!
The text was updated successfully, but these errors were encountered: