1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-28 09:08:38 +02:00
OpenIntegrations/docs/en/examples/Slack/UploadFile.txt
Vitaly the Alpaca (bot) 4343adce62 Main build (Jenkins)
2024-10-15 10:07:27 +03:00

11 lines
387 B
Plaintext

Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
File = "https://api.athenaeum.digital/test_data/document.docx"; // URL, Binary Data or Path to file
FileName = "megadoc.docx";
Title = "NewFile";
Result = OPI_Slack.UploadFile(Token, File, FileName, Title);
Result = OPI_Slack.UploadFile(Token, File, FileName, Title, Channel);