Implement basic replies
This commit is contained in:
@@ -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)
|
||||
}
|
Reference in New Issue
Block a user