mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-08 04:04:03 +02:00
14 lines
540 B
Plaintext
14 lines
540 B
Plaintext
Parameters = GetVKParameters();
|
|
ImageDescription = "AutoTestImage";
|
|
AlbumID = "304369700";
|
|
|
|
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);
|
|
|
|
Result = OPI_VK.SaveImageToAlbum(AlbumID, Image, ImageDescription, Parameters);
|
|
|
|
Result = OPI_VK.SaveImageToAlbum(AlbumID, TFN, ImageDescription, Parameters);
|