feat(api): support upload file (#18)

fix #17
This commit is contained in:
Bo-Yi Wu
2019-02-25 17:18:39 +08:00
committed by GitHub
parent 4c4578cf55
commit f7ade7c458
3 changed files with 98 additions and 5 deletions
+1
View File
@@ -38,6 +38,7 @@ func TestTemplate(t *testing.T) {
WebhookID: os.Getenv("WEBHOOK_ID"),
WebhookToken: os.Getenv("WEBHOOK_TOKEN"),
Message: []string{"test one message from drone testing", "test two message from drone testing"},
File: []string{"./images/discord-logo.png"},
Drone: true,
},