Implement basic replies

This commit is contained in:
2019-08-05 20:56:31 +05:30
parent 8d9b5a3986
commit bf9353a5cc
3 changed files with 26 additions and 7 deletions

View File

@@ -1,3 +1,10 @@
module.exports.process = (updateObject)=>{
return updateObject.message.text
// 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)
}