使用API发布到聊天频道?

以供将来参考,通过 webhook 将消息发布到聊天频道的 API 是:

curl -i -X POST -d 'text=message' https://discourse.example.com/chat/hooks/aabbdcceeff.json
2 个赞