1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-24 05:36:29 +02:00
OpenIntegrations/docs/en/examples/VK/CreateStory.txt

12 lines
470 B
Plaintext
Raw Normal View History

 Parameters = GetVKParameters();
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
2024-09-29 12:34:39 +03:00
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);