1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-15 00:15:19 +02:00
Files
OpenIntegrations/docs/en/examples/Slack/UploadFile.txt

11 lines
390 B
Plaintext
Raw Normal View History

 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
2024-10-04 13:35:56 +03:00
File = "https://openyellow.neocities.org/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);