Open wgcv opened 5 years ago
I want to read the text of the response of the text of a message, for example:
p1: hi, what is your name? p2 replay: p1 "hi, what is your name?" Gustavo
And I need to get "hi, what is your name?" I think that the best way is to add a property to message
constructor (user, text, id, reponseText = null) { super(user) this.text = text this.id = id + this.reponseText = reponseText }
Someone have a better idea?
Code Hubot: https://github.com/Pepperloop/hubot Hubot Telegram Adapter: https://github.com/Pepperloop/hubot-telegram
I want to read the text of the response of the text of a message, for example:
And I need to get "hi, what is your name?" I think that the best way is to add a property to message
Someone have a better idea?