mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-10 04:18:47 +02:00
12 lines
470 B
Plaintext
12 lines
470 B
Plaintext
Parameters = GetVKParameters();
|
|
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
|
|
|
|
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.CreateStory(Image , URL, Parameters);
|
|
|
|
Result = OPI_VK.CreateStory(TFN, , Parameters);
|