1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/Slack/UploadFile.txt
Vitaly the Alpaca (bot) aa10e4c564 Main build (Jenkins)
2025-10-21 11:36:43 +03:00

11 lines
387 B
Plaintext
Vendored

Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
File = "https://hut.openintegrations.dev/test_data/document.docx"; // URL, Binary Data or File path
FileName = "megadoc.docx";
Title = "NewFile";
Result = OPI_Slack.UploadFile(Token, File, FileName, Title);
Result = OPI_Slack.UploadFile(Token, File, FileName, Title, Channel);