1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-02-03 13:22:19 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2024-09-29 12:34:39 +03:00
parent 4ab15c4cce
commit 94b649b700
214 changed files with 5809 additions and 5573 deletions

View File

@ -347,10 +347,6 @@ pipeline {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GT_CreateTable"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GT_GetTable"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "GT_FillClearCells"'
}

View File

@ -402,29 +402,13 @@ pipeline {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ПолучитьИнформациюОБоте"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ПолучитьСписокПользователей"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ПолучитьСписокОбластей"'
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ПолучитьИнформацию"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ОтправитьУдалитьСообщение"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ОтправитьУдалитьЭфемерное"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_ПолучитьОтложенныеСообщения"'
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Слак_СоздатьАрхивироватьКанал"'
}

View File

@ -1,4 +1,5 @@
{
"Token": "xoxb-6965308400114-696804637...",
"Channel": "C06UFNUTKUL",
"Timestamp": "1714146538.221929"
}

View File

@ -1,4 +1,5 @@
{
"Token": "xoxb-6965308400114-696804637...",
"Channel": "C070VPMKN8J",
"Timestamp": "1714146538.221929",
"Text": "TestMessage2"

View File

@ -0,0 +1,3 @@
{
"Token": "xoxb-6965308400114-696804637..."
}

View File

@ -1,3 +1,4 @@
{
"Token": "xoxb-6965308400114-696804637...",
"Channel": "C070VPMKN8J"
}

View File

@ -1,4 +1,5 @@
{
"Token": "xoxb-6965308400114-696804637...",
"Channel": "C070VPMKN8J",
"Timestamp": "1714146538.221929"
}

View File

@ -1,4 +1,5 @@
{
"Token": "xoxb-6965308400114-696804637...",
"Channel": "C070VPMKN8J",
"Timestamp": "1714146538.221929"
}

View File

@ -0,0 +1,3 @@
{
"Token": "xoxb-6965308400114-696804637..."
}

View File

@ -0,0 +1,3 @@
{
"Token": "xoxb-6965308400114-696804637..."
}

View File

@ -1,3 +1,6 @@
{
"Channel": "C070VPMKN8J"
"Token": "xoxb-6965308400114-696804637...",
"Channel": "C070VPMKN8J",
"User": "U06UABH3APP",
"Image": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"
}

View File

@ -1,4 +1,6 @@
{
"Token": "xoxb-6965308400114-696804637...",
"Channel": "C070VPMKN8J",
"Image": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg",
"Text": "TestMessage"
}

View File

@ -1,7 +1,7 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
ChatID = "872";
Image = "https://openintegrations.dev/test_data/picture2.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);

View File

@ -1,4 +1,4 @@
 Image = "https://openintegrations.dev/test_data/picture.jpg";
 Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
OPI_TypeConversion.GetBinaryData(Image);
B64Image = GetBase64StringFromBinaryData(Image);

View File

@ -1,7 +1,7 @@
 Text = "Text of post";
Title = "Post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
Files = New Map;
Files.Insert("1.png", Image1);

View File

@ -1,6 +1,6 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
ChatID = "872";
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // Binary Data, URL or path to file
Description = "Very important file";
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);

View File

@ -1,6 +1,6 @@
 Text = "New post text";
Title = "New post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
PostID = "836";
Files = New Map;

View File

@ -1,8 +1,8 @@
 Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = "10842";

View File

@ -1,8 +1,8 @@
 Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = 3;

View File

@ -1,6 +1,6 @@
 Path = "/New/pic.png";
Token = "sl.B9sYGdZdLILSnqlGZCwLFCstq1B1GsgevbBkwi4UK_UlNyhGAoJ1fKoXMy3dQhkEb3e80HTL6g...";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@ -1,5 +1,5 @@
 Path = "/New/url_doc.docx";
Token = "sl.B9sYGdZdLILSnqlGZCwLFCstq1B1GsgevbBkwi4UK_UlNyhGAoJ1fKoXMy3dQhkEb3e80HTL6g...";
URL = "https://openintegrations.dev/test_data/document.docx";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Result = OPI_Dropbox.UploadFileByURL(Token, URL, Path);

View File

@ -5,8 +5,8 @@
Description = "TestEventDescription";
Hour = 3600;
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Binary or Path to file
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary or Path to file
Attachments = New Map;
Attachments.Insert("Image1", Image1);

View File

@ -1,6 +1,6 @@
 Token = "ya29.a0AcM612wLdbBK14FR2SE0d3WHabYb8Xtppm0oKCcbVrecgsA-a5DfsgZ29stOw4hu84F_IpHbKTJocsm1WpjLQPBT5MJ6p8D7H1PKa_iT0...";
NewName = "UpdatedFile.jpg";
Identifier = "1RijXw14hyQN_59ZOzJ9f35ezzU_qd114";
File = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Binary Data or Path to file
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary Data or Path to file
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);

View File

@ -1,5 +1,5 @@
 Token = "ya29.a0AcM612wLdbBK14FR2SE0d3WHabYb8Xtppm0oKCcbVrecgsA-a5DfsgZ29stOw4hu84F_IpHbKTJocsm1WpjLQPBT5MJ6p8D7H1PKa_iT0...";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
Description = OPI_GoogleDrive.GetFileDescription();

View File

@ -1,5 +1,5 @@
 Token = "7419cd51de4037f7...";
Data = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Data = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Path = "testfolder/test_pic.png";
Result = OPI_Neocities.UploadFile(Token, Path, Data);

View File

@ -1,8 +1,8 @@
 Token = "7419cd51de4037f7...";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
GIF = "https://openintegrations.dev/test_data/animation.gif"; // URL, Path or Binary Data
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/animation.gif"; // URL, Path or Binary Data
FileMapping = New Map;
FileMapping.Insert("test/pic1.png", Image1);

View File

@ -1,7 +1,7 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
Image1 = "https://openintegrations.dev/test_data/picture.jpg";
Image2 = "https://openintegrations.dev/test_data/picture2.jpg";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Video = "https://rutube.ru/video/c6cc4d620b1d4338901770a44b3e82f4/";
ImageArray = New Array;

View File

@ -2,8 +2,8 @@
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1202180384";
Image1 = "https://openintegrations.dev/test_data/picture.jpg";
Image2 = "https://openintegrations.dev/test_data/picture2.jpg";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
MarketingColor = "GREEN";

View File

@ -1,6 +1,5 @@

Channel = "C06UFNUTKUL";
Timestamp = "1714146538.221929";
Response = OPI_Slack.DeleteMessage(Token, Channel, Timestamp); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Timestamp = "1727601574.499569";
Result = OPI_Slack.DeleteMessage(Token, Channel, Timestamp);

View File

@ -1,7 +1,7 @@

Channel = "C070VPMKN8J";
Timestamp = "1714146538.221929";
Text = "TestMessage2";
Response = OPI_Slack.EditMessage(Token, Channel, Timestamp, Text); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Timestamp = "1727601574.499569";
Text = "TestMessage2";
Result = OPI_Slack.EditMessage(Token, Channel, Timestamp, Text);

View File

@ -1,4 +1,2 @@

Response = OPI_Slack.GetBotInformation(Token); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Result = OPI_Slack.GetBotInformation(Token);

View File

@ -1,5 +1,4 @@

Channel = "C070VPMKN8J";
Response = OPI_Slack.GetDelayedMessageList(Token, Channel); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Result = OPI_Slack.GetDelayedMessageList(Token, Channel);

View File

@ -1,6 +1,5 @@

Channel = "C070VPMKN8J";
Timestamp = "1714146538.221929";
Response = OPI_Slack.GetMessageLink(Token, Channel, Timestamp); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Timestamp = "1727601574.499569";
Result = OPI_Slack.GetMessageLink(Token, Channel, Timestamp);

View File

@ -1,6 +1,5 @@

Channel = "C070VPMKN8J";
Timestamp = "1714146538.221929";
Response = OPI_Slack.GetMessageReplyList(Token, Channel, Timestamp); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Timestamp = "1727601574.499569";
Result = OPI_Slack.GetMessageReplyList(Token, Channel, Timestamp);

View File

@ -1,4 +1,2 @@

Response = OPI_Slack.GetUserList(Token, Cursor); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Result = OPI_Slack.GetUserList(Token);

View File

@ -1,4 +1,2 @@

Response = OPI_Slack.GetWorkspaceList(Token); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Result = OPI_Slack.GetWorkspaceList(Token);

View File

@ -1,6 +1,8 @@

Channel = "C070VPMKN8J";
Block = OPI_Slack.GenerateImageBlock("https://opi.neocities.org/test_data/picture.jpg", "Image");
Response = OPI_Slack.SendEphemeralMessage(Token, Channel,, User, Block); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
User = "U06UABH3APP";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Text = "Ephemeral message";
Block = OPI_Slack.GenerateImageBlock(Image, "Image");
Result = OPI_Slack.SendEphemeralMessage(Token, Channel, Text, User, Block);

View File

@ -1,6 +1,27 @@

Channel = "C070VPMKN8J";
Text = "TestMessage";
Response = OPI_Slack.SendMessage(Token, Channel, Text); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
// Text
Text = "TestMessage1";
Result = OPI_Slack.SendMessage(Token, Channel, Text);
// With attachments (picture block in the example)
Text = "Message with picture";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
BlockArray = New Array;
Block = OPI_Slack.GenerateImageBlock(Image, "Image");
BlockArray.Add(Block);
Result = OPI_Slack.SendMessage(Token, Channel, Text, , BlockArray);
// Sheduled
Text = "Sheduled message";
Hour = 3600;
Day = 24;
SendingDate = OPI_Tools.GetCurrentDate() + (Day * Hour);
Result = OPI_Slack.SendMessage(Token, Channel, Text, SendingDate);

View File

@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Audio = "https://openintegrations.dev/test_data/song.mp3";
Audio = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.mp3";
AudioPath = GetTempFileName("mp3");
CopyFile(Audio, AudioPath);

View File

@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Document = "https://openintegrations.dev/test_data/document.docx";
Document = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
DocumentPath = GetTempFileName("docx");
CopyFile(Document, DocumentPath);

View File

@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
GIF = "https://openintegrations.dev/test_data/animation.gif";
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/animation.gif";
GifPath = GetTempFileName("gif");
CopyFile(GIF, GifPath);

View File

@ -1,8 +1,8 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
Text = "Строковое значение";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Video = "https://openintegrations.dev/test_data/video.mp4";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Video = "https://openintegrations.dev/test_data/video.mp4";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
VideoPath = GetTempFileName("mp4");
CopyFile(Video, VideoPath);

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Binary or Path to file
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary or Path to file
Selection = "121";
ImageArray = New Array;

View File

@ -2,8 +2,8 @@
Text = "Post from autotest";
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Video = "https://openintegrations.dev/test_data/video.mp4"; // URL, Path or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);

View File

@ -2,8 +2,8 @@
Text = "Post from autotest";
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image2, TFN);

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Name = "TestCollection";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Main = True;
Hidden = False;

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Image1 = "https://openintegrations.dev/test_data/picture.jpg";
Image2 = "https://openintegrations.dev/test_data/picture2.jpg";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
PropVariant1 = "2450";
PropVariant2 = "2451";

View File

@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path to file or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path to file or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);
Image = New BinaryData(TFN);

View File

@ -2,7 +2,7 @@
ImageDescription = "AutoTestImage";
AlbumID = "305905563";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path to file or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path to file or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);

View File

@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Video = "https://openintegrations.dev/test_data/video.mp4";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
Name = "NewVideo";
Description = "Video description";

View File

@ -1,7 +1,7 @@
 Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
File = "https://openintegrations.dev/test_data/spy2.png"; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/spy2.png"; // URL
FilePath = GetTempFileName("png"); // Path
CopyFile(File, FilePath);

View File

@ -2,7 +2,7 @@
ChatID = "AoLI0egLWBSLR1Ngn2w";
Text = "File caption";
File = "https://openintegrations.dev/test_data/document.docx"; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // URL
FilePath = GetTempFileName("docx"); // Path
CopyFile(File, FilePath);

View File

@ -3,7 +3,7 @@
ReplyID = "7419291601358293295";
Text = "File caption";
File = "https://openintegrations.dev/test_data/song.m4a" ; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.m4a" ; // URL
FilePath = GetTempFileName("m4a"); // Path
CopyFile(File, FilePath);

View File

@ -1,5 +1,5 @@
 Extension = "docx";
URL = "https://openintegrations.dev/test_data/document.docx";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
Token = "523b5b25ed27e6ec-fdf013e4...";

View File

@ -1,5 +1,5 @@
 Description = "TestMessage";
URL = "https://openintegrations.dev/test_data/picture.jpg";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
Token = "523b5b25ed27e6ec-fdf013e4...";

View File

@ -2,7 +2,7 @@
Path2 = "/" + String(New UUID) + ".png";
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL
TFN = GetTempFileName("png"); // Path
CopyFile(Image, TFN);

View File

@ -1,5 +1,5 @@
 Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
Address = "https://openintegrations.dev/test_data/picture.jpg";
Address = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Path = "/" + String(New UUID) + ".png";
Result = OPI_YandexDisk.UploadFileByURL(Token, Path, Address);

View File

@ -31,7 +31,7 @@ Method at API documentation: [im.chat.updateAvatar](https://dev.1c-bitrix.ru/lea
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
ChatID = "872";
Image = "https://openintegrations.dev/test_data/picture2.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
```bsl title="Code example"
Image = "https://openintegrations.dev/test_data/picture.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
OPI_TypeConversion.GetBinaryData(Image);
B64Image = GetBase64StringFromBinaryData(Image);

View File

@ -33,8 +33,8 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
Text = "Text of post";
Title = "Post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
Files = New Map;
Files.Insert("1.png", Image1);

View File

@ -33,7 +33,7 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
Text = "New post text";
Title = "New post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
PostID = "836";
Files = New Map;

View File

@ -32,8 +32,8 @@ Method at API documentation: [disk.folder.uploadfile](https://dev.1c-bitrix.ru/r
Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = "10842";

View File

@ -33,8 +33,8 @@ Method at API documentation: [disk.storage.uploadfile](https://dev.1c-bitrix.ru/
Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = 3;

View File

@ -31,7 +31,7 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
ChatID = "872";
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // Binary Data, URL or path to file
Description = "Very important file";
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);

View File

@ -26,7 +26,7 @@ sidebar_position: 5
```bsl title="Code example"
Path = "/New/url_doc.docx";
Token = "sl.B9sYGdZdLILSnqlGZCwLFCstq1B1GsgevbBkwi4UK_UlNyhGAoJ1fKoXMy3dQhkEb3e80HTL6g...";
URL = "https://openintegrations.dev/test_data/document.docx";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Result = OPI_Dropbox.UploadFileByURL(Token, URL, Path);
```

View File

@ -27,7 +27,7 @@ sidebar_position: 4
```bsl title="Code example"
Path = "/New/pic.png";
Token = "sl.B9sYGdZdLILSnqlGZCwLFCstq1B1GsgevbBkwi4UK_UlNyhGAoJ1fKoXMy3dQhkEb3e80HTL6g...";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@ -31,8 +31,8 @@ sidebar_position: 4
Description = "TestEventDescription";
Hour = 3600;
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Binary or Path to file
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary or Path to file
Attachments = New Map;
Attachments.Insert("Image1", Image1);

View File

@ -28,7 +28,7 @@ sidebar_position: 8
Token = "ya29.a0AcM612wLdbBK14FR2SE0d3WHabYb8Xtppm0oKCcbVrecgsA-a5DfsgZ29stOw4hu84F_IpHbKTJocsm1WpjLQPBT5MJ6p8D7H1PKa_iT0...";
NewName = "UpdatedFile.jpg";
Identifier = "1RijXw14hyQN_59ZOzJ9f35ezzU_qd114";
File = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Binary Data or Path to file
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary Data or Path to file
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);
```

View File

@ -25,7 +25,7 @@ sidebar_position: 4
```bsl title="Code example"
Token = "ya29.a0AcM612wLdbBK14FR2SE0d3WHabYb8Xtppm0oKCcbVrecgsA-a5DfsgZ29stOw4hu84F_IpHbKTJocsm1WpjLQPBT5MJ6p8D7H1PKa_iT0...";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
Description = OPI_GoogleDrive.GetFileDescription();

View File

@ -28,7 +28,7 @@ Neocities API docs: [neocities.org/api](https://neocities.org/api)
```bsl title="Code example"
Token = "7419cd51de4037f7...";
Data = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Data = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Path = "testfolder/test_pic.png";
Result = OPI_Neocities.UploadFile(Token, Path, Data);

View File

@ -29,9 +29,9 @@ Neocities API docs: [neocities.org/api](https://neocities.org/api)
```bsl title="Code example"
Token = "7419cd51de4037f7...";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
GIF = "https://openintegrations.dev/test_data/animation.gif"; // URL, Path or Binary Data
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/animation.gif"; // URL, Path or Binary Data
FileMapping = New Map;
FileMapping.Insert("test/pic1.png", Image1);

View File

@ -33,8 +33,8 @@ Methods of product structure formation: GetProductStructure(), AddProductVideo()
```bsl title="Code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
Image1 = "https://openintegrations.dev/test_data/picture.jpg";
Image2 = "https://openintegrations.dev/test_data/picture2.jpg";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Video = "https://rutube.ru/video/c6cc4d620b1d4338901770a44b3e82f4/";
ImageArray = New Array;

View File

@ -40,8 +40,8 @@ On each method call, send all the images that should be on the product card
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1202180384";
Image1 = "https://openintegrations.dev/test_data/picture.jpg";
Image2 = "https://openintegrations.dev/test_data/picture2.jpg";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
MarketingColor = "GREEN";

View File

@ -22,10 +22,8 @@ sidebar_position: 1
```bsl title="Code example"
Response = OPI_Slack.GetBotInformation(Token); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Result = OPI_Slack.GetBotInformation(Token);
```

View File

@ -23,10 +23,8 @@ sidebar_position: 3
```bsl title="Code example"
Response = OPI_Slack.GetUserList(Token, Cursor); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Result = OPI_Slack.GetUserList(Token);
```

View File

@ -23,10 +23,8 @@ sidebar_position: 2
```bsl title="Code example"
Response = OPI_Slack.GetWorkspaceList(Token); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Result = OPI_Slack.GetWorkspaceList(Token);
```

View File

@ -25,12 +25,11 @@ sidebar_position: 4
```bsl title="Code example"
Channel = "C06UFNUTKUL";
Timestamp = "1714146538.221929";
Response = OPI_Slack.DeleteMessage(Token, Channel, Timestamp); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Timestamp = "1727601574.499569";
Result = OPI_Slack.DeleteMessage(Token, Channel, Timestamp);
```

View File

@ -26,13 +26,13 @@ sidebar_position: 3
```bsl title="Code example"
Channel = "C070VPMKN8J";
Timestamp = "1714146538.221929";
Text = "TestMessage2";
Response = OPI_Slack.EditMessage(Token, Channel, Timestamp, Text); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Timestamp = "1727601574.499569";
Text = "TestMessage2";
Result = OPI_Slack.EditMessage(Token, Channel, Timestamp, Text);
```

View File

@ -24,11 +24,10 @@ sidebar_position: 5
```bsl title="Code example"
Channel = "C070VPMKN8J";
Response = OPI_Slack.GetDelayedMessageList(Token, Channel); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Result = OPI_Slack.GetDelayedMessageList(Token, Channel);
```

View File

@ -24,12 +24,11 @@ sidebar_position: 6
```bsl title="Code example"
Channel = "C070VPMKN8J";
Timestamp = "1714146538.221929";
Response = OPI_Slack.GetMessageLink(Token, Channel, Timestamp); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Timestamp = "1727601574.499569";
Result = OPI_Slack.GetMessageLink(Token, Channel, Timestamp);
```

View File

@ -25,12 +25,11 @@ sidebar_position: 7
```bsl title="Code example"
Channel = "C070VPMKN8J";
Timestamp = "1714146538.221929";
Response = OPI_Slack.GetMessageReplyList(Token, Channel, Timestamp); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
Timestamp = "1727601574.499569";
Result = OPI_Slack.GetMessageReplyList(Token, Channel, Timestamp);
```

View File

@ -26,12 +26,14 @@ Sends a message that arrives in the channel but is visible only to a specific us
```bsl title="Code example"
Channel = "C070VPMKN8J";
Block = OPI_Slack.GenerateImageBlock("https://opi.neocities.org/test_data/picture.jpg", "Image");
Response = OPI_Slack.SendEphemeralMessage(Token, Channel,, User, Block); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
User = "U06UABH3APP";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Text = "Ephemeral message";
Block = OPI_Slack.GenerateImageBlock(Image, "Image");
Result = OPI_Slack.SendEphemeralMessage(Token, Channel, Text, User, Block);
```

View File

@ -26,12 +26,33 @@ sidebar_position: 1
```bsl title="Code example"
Channel = "C070VPMKN8J";
Text = "TestMessage";
Response = OPI_Slack.SendMessage(Token, Channel, Text); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
// Text
Text = "TestMessage1";
Result = OPI_Slack.SendMessage(Token, Channel, Text);
// With attachments (picture block in the example)
Text = "Message with picture";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
BlockArray = New Array;
Block = OPI_Slack.GenerateImageBlock(Image, "Image");
BlockArray.Add(Block);
Result = OPI_Slack.SendMessage(Token, Channel, Text, , BlockArray);
// Sheduled
Text = "Sheduled message";
Hour = 3600;
Day = 24;
SendingDate = OPI_Tools.GetCurrentDate() + (Day * Hour);
Result = OPI_Slack.SendMessage(Token, Channel, Text, SendingDate);
```

View File

@ -31,7 +31,7 @@ sidebar_position: 4
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Audio = "https://openintegrations.dev/test_data/song.mp3";
Audio = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.mp3";
AudioPath = GetTempFileName("mp3");
CopyFile(Audio, AudioPath);

View File

@ -32,7 +32,7 @@ sidebar_position: 5
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Document = "https://openintegrations.dev/test_data/document.docx";
Document = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
DocumentPath = GetTempFileName("docx");
CopyFile(Document, DocumentPath);

View File

@ -31,7 +31,7 @@ sidebar_position: 6
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
GIF = "https://openintegrations.dev/test_data/animation.gif";
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/animation.gif";
GifPath = GetTempFileName("gif");
CopyFile(GIF, GifPath);

View File

@ -33,8 +33,8 @@ Map: Key - File, Value - media type
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
Text = "Строковое значение";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Video = "https://openintegrations.dev/test_data/video.mp4";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@ -31,7 +31,7 @@ sidebar_position: 3
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Video = "https://openintegrations.dev/test_data/video.mp4";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
VideoPath = GetTempFileName("mp4");
CopyFile(Video, VideoPath);

View File

@ -30,8 +30,8 @@ sidebar_position: 2
Text = "Post from autotest";
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Video = "https://openintegrations.dev/test_data/video.mp4"; // URL, Path or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);

View File

@ -30,8 +30,8 @@ sidebar_position: 1
Text = "Post from autotest";
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image2, TFN);

View File

@ -27,7 +27,7 @@ sidebar_position: 7
Parameters = GetVKParameters();
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path to file or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path to file or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);
Image = New BinaryData(TFN);

View File

@ -28,7 +28,7 @@ sidebar_position: 10
```bsl title="Code example"
Parameters = GetVKParameters();
Video = "https://openintegrations.dev/test_data/video.mp4";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
Name = "NewVideo";
Description = "Video description";

View File

@ -26,8 +26,8 @@ sidebar_position: 4
```bsl title="Code example"
Parameters = GetVKParameters();
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Binary or Path to file
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary or Path to file
Selection = "121";
ImageArray = New Array;

View File

@ -29,7 +29,7 @@ sidebar_position: 3
Parameters = GetVKParameters();
Name = "TestCollection";
Image = "https://openintegrations.dev/test_data/picture.jpg";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Main = True;
Hidden = False;

View File

@ -30,7 +30,7 @@ Method at API documentation: [POST ​/chats​/avatar​/set](https://teams.vk.
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
File = "https://openintegrations.dev/test_data/spy2.png"; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/spy2.png"; // URL
FilePath = GetTempFileName("png"); // Path
CopyFile(File, FilePath);

View File

@ -34,7 +34,7 @@ Method at API documentation: [POST /messages/sendFile](https://teams.vk.com/bota
ChatID = "AoLI0egLWBSLR1Ngn2w";
Text = "File caption";
File = "https://openintegrations.dev/test_data/document.docx"; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // URL
FilePath = GetTempFileName("docx"); // Path
CopyFile(File, FilePath);

View File

@ -37,7 +37,7 @@ If you want the client to display this file as a playable voice message, it must
ReplyID = "7419291601358293295";
Text = "File caption";
File = "https://openintegrations.dev/test_data/song.m4a" ; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.m4a" ; // URL
FilePath = GetTempFileName("m4a"); // Path
CopyFile(File, FilePath);

View File

@ -28,7 +28,7 @@ sidebar_position: 3
```bsl title="Code example"
Extension = "docx";
URL = "https://openintegrations.dev/test_data/document.docx";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
Token = "523b5b25ed27e6ec-fdf013e4...";

Some files were not shown because too many files have changed in this diff Show More