1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-21 23:57:40 +02:00
Files
OpenIntegrations/docs/en/examples/VK/CreateStory.txt

10 lines
367 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 Parameters = GetVKParameters();
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, File path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);
Image = New BinaryData(TFN);
Result = OPI_VK.CreateStory(Image, URL, Parameters);