1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-06 08:49:29 +02:00

Возврат потерянных файлов документации

This commit is contained in:
Anton
2024-06-08 20:11:43 +03:00
parent d789a3927d
commit 35e39aecaa
35 changed files with 941 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ sidebar_position: 2
Video = "https://openintegrations.dev/test_data/video.mp4"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);
FileCopy(Image, TFN);
ImageUpload = OPI_VK.UploadPhotoToServer(TFN, Parameters)["response"][0];
VideoUpload = OPI_VK.UploadVideoToServer(Video, "NewVideo",,, Parameters);

View File

@@ -29,7 +29,7 @@ sidebar_position: 1
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image2, TFN);
FileCopy(Image2, TFN);
ImageArray = New Array;
ImageArray.Add(Image);

View File

@@ -24,7 +24,7 @@ sidebar_position: 7
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path to file or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);
FileCopy(Image, TFN);
Image = New BinaryData(TFN);
Result = OPI_VK.CreateStory(Image, URL, Parameters);

View File

@@ -26,7 +26,7 @@ sidebar_position: 8
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path to file or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);
FileCopy(Image, TFN);
Image = New BinaryData(TFN);