Skip to content

Read the response text of a message #68

Description

@wgcv

I want to read the text of the response of the text of a message, for example:
screen shot 2019-01-05 at 10 54 38 pm

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions