1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/Slack/UploadFile.txt

11 lines
381 B
Plaintext
Raw Normal View History

2025-06-27 11:47:43 +03:00
 Token = FunctionParameters["Slack_Token"];
Channel = FunctionParameters["Slack_Channel"];
File = FunctionParameters["Document"]; // 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);