No, its is not possible to upload files through an incoming Webhook. But you can attach image URLs to your attachments with the image_url
tag.
To upload files you need to use the Slack Web API and the files.upload
method. Yes, it requires a different authentication, but its not that complicated if you just use a test token for all API calls.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…