You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -26,7 +26,7 @@ sidebar_position: 3
|
||||
```bsl title="Code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Title = "NewFile";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // URL, Binary Data or Path to file
|
||||
File = "https://openyellow.neocities.org/test_data/document.docx"; // URL, Binary Data or Path to file
|
||||
|
||||
Result = OPI_Slack.AddExternalFile(Token, File, Title);
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ sidebar_position: 2
|
||||
```bsl title="Code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C06UFNUTKUL";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // URL, Binary Data or Path to file
|
||||
File = "https://openyellow.neocities.org/test_data/document.docx"; // URL, Binary Data or Path to file
|
||||
|
||||
FileName = "megadoc.docx";
|
||||
Title = "NewFile";
|
||||
|
||||
@@ -29,7 +29,7 @@ Sends a message that arrives in the channel but is visible only to a specific us
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C06UFNUTKUL";
|
||||
User = "U06UABH3APP";
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
|
||||
Text = "Ephemeral message";
|
||||
|
||||
Block = OPI_Slack.GenerateImageBlock(Image, "Image");
|
||||
|
||||
@@ -37,7 +37,7 @@ sidebar_position: 1
|
||||
// With attachments (picture block in the example)
|
||||
|
||||
Text = "Message with picture";
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
|
||||
BlockArray = New Array;
|
||||
|
||||
Block = OPI_Slack.GenerateImageBlock(Image, "Image");
|
||||
|
||||
Reference in New Issue
Block a user