You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
16 lines
491 B
Plaintext
Vendored
16 lines
491 B
Plaintext
Vendored
Parameters = GetVKParameters();
|
|
Question = "What's your favorite color?";
|
|
|
|
OptionArray = New Array;
|
|
OptionArray.Add("Red");
|
|
OptionArray.Add("Yellow");
|
|
OptionArray.Add("Green");
|
|
|
|
Result = OPI_VK.CreatePoll(Question, OptionArray, , "Post text", Parameters);
|
|
|
|
// With picture
|
|
|
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, File path or Binary Data
|
|
|
|
Result = OPI_VK.CreatePoll(Question, OptionArray, Image, , Parameters);
|