Add topic and category context to post webhook payload (PR #8110)

Adds additional fields topic_archetype and category_slug to the post webhook so that handlers have some context about the post event without having to call back to the API.

Discussed here.

GitHub

Thanks for contributing this pull request! Could you please sign our CLA so we can review it? http://www.discourse.org/cla

ซ้ำซ้ำของ #

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

This looks good, we have a accrued a bit of tech debt around the structure of the serializer though. kind of hacky how it omits certain attributes.