You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-06 08:49:29 +02:00
Возврат потерянных файлов документации
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user