Files
jack-red/scripts/process.js

10 lines
259 B
JavaScript
Raw Normal View History

2019-08-05 20:56:31 +05:30
// Obtain a sendMessage Object
module.exports = (updateObject)=>{
return {
"chat_id": updateObject.from.id,
"text":updateObject.text,
"reply_to_message_id": updateObject.message_id
}
//return JSON.stringify(updateObject)
2019-08-05 18:20:32 +05:30
}