Open fkusei opened 4 years ago
Hi @fkusei, I don't really understand what you mean. Could you please go into more detail? Thanks :)
hm, after reading it myself, i see it's a bit confusing ...
Hangouts Chat allows to organize messages in threads. It would be nice if the Bot would be able to group all messages of (for example) a branch build in one thread, so it's easier to track what happened in the history.
This could be implemented by using the Hangouts REST API instead of webhooks. I think this would be a bigger change but it could be interesting to think about this in detail.
It's possible to use the 'threadKey' key in the webhook request, there should be no need to use the API.
See https://bitbucket.apps.seibert-media.net/projects/VID/repos/viri-gchat/browse/viri.py#77 for an example.
It would be nice if messages could be configured to be grouped by build plan (for example, when building branches).