Continuing the discussion from 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)
Now what are the parameters I can give like I have given the key “text”. I added username and avatar_url as a reference from discord. But is there any documentation detailed?