1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-02-09 13:47:03 +02:00
OpenIntegrations/docs/en/examples/VK/CreateStory.txt
Vitaly the Alpaca (bot) a7806a10ce Main build (Jenkins)
2024-10-04 13:35:56 +03:00

12 lines
435 B
Plaintext

Parameters = GetVKParameters();
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://openyellow.neocities.org/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);