You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-12-07 23:03:08 +02:00
14 lines
499 B
Plaintext
Vendored
14 lines
499 B
Plaintext
Vendored
Parameters = GetVKParameters();
|
|
ImageDescription = "AutoTestImage";
|
|
AlbumID = "308821632";
|
|
|
|
Image = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, File path 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);
|