Use the api to post to chat channel? からの議論の続きです。
webhook_url = 'https://forum.unofficed.com/chat/hooks/fff.json'
payload = {
'text': 'Hello, world!',
'username' : 'dexter',
'avatar_url': 'https://forum.unofficed.com/user_avatar/forum.unofficed.com/dexter/120/801_2.png'
}
response = requests.post(webhook_url, data=payload)
「text」というキーを与えたように、他にどのようなパラメータを指定できますか? Discord を参考に username と avatar_url を追加しましたが、詳細なドキュメントはありますか?