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:
@@ -25,7 +25,7 @@ sidebar_position: 4
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
|
||||
ImagePath = GetTempFileName("png");
|
||||
CopyFile(Image, ImagePath);
|
||||
FileCopy(Image, ImagePath);
|
||||
|
||||
Result = OPI_Dropbox.UploadFile(Token, ImagePath, Path, True);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"label": "Dropbox (pre-release)",
|
||||
"label": "Dropbox",
|
||||
"position": 12,
|
||||
"link": {
|
||||
"type": "doc",
|
||||
|
||||
@@ -29,7 +29,7 @@ sidebar_position: 4
|
||||
Audio = "https://openintegrations.dev/test_data/song.mp3";
|
||||
|
||||
AudioPath = GetTempFileName("mp3");
|
||||
CopyFile(Audio, AudioPath);
|
||||
FileCopy(Audio, AudioPath);
|
||||
|
||||
AudioDD = New BinaryData(AudioPath);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ sidebar_position: 5
|
||||
Document = "https://openintegrations.dev/test_data/document.docx";
|
||||
|
||||
DocumentPath = GetTempFileName("docx");
|
||||
CopyFile(Document, DocumentPath);
|
||||
FileCopy(Document, DocumentPath);
|
||||
|
||||
DocumentDD = New BinaryData(DocumentPath);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ sidebar_position: 6
|
||||
GIF = "https://openintegrations.dev/test_data/animation.gif";
|
||||
|
||||
GifPath = GetTempFileName("gif");
|
||||
CopyFile(GIF, GifPath);
|
||||
FileCopy(GIF, GifPath);
|
||||
|
||||
GifDD = New BinaryData(GifPath);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ sidebar_position: 2
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
|
||||
ImagePath = GetTempFileName("png");
|
||||
CopyFile(Image, ImagePath);
|
||||
FileCopy(Image, ImagePath);
|
||||
|
||||
ImageDD = New BinaryData(ImagePath);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ sidebar_position: 3
|
||||
Video = "https://openintegrations.dev/test_data/video.mp4";
|
||||
|
||||
VideoPath = GetTempFileName("mp4");
|
||||
CopyFile(Video, VideoPath);
|
||||
FileCopy(Video, VideoPath);
|
||||
|
||||
VideoDD = New BinaryData(VideoPath);
|
||||
|
||||
|
||||
@@ -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