Reading Chat

Hi,

i just found this bot and did start to dev some.
I was thinking about if there is a way to read Chat of a Chat Channel? And if there is a way to trigger a Event if a new line is shown up.

Would be nice if someone can help me with that.

Best regards

I guees, some info from this post will be helpfull:

To read the chat messages, I recommend the following approach:

  • Identify the chat window in the list from Sanderling?.MemoryMeasurementParsed?.Value?.WindowChatChannel by its caption.
  • In that instance of WindowChatChannel, the chat messages can be read from the path MessageView?.Entry. This collection contains an entry for each displayed chat message.

To decide if any of the chat messages is new, use the Id property of the message as identifier.