1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/examples/VK/WriteMessage.txt

13 lines
436 B
Plaintext
Raw Normal View History

2024-08-13 13:35:37 +02:00
 Parameters = GetVKParameters();
Text = "Message from autotest";
UserID = FunctionParameters["VK_UserID"];
Communitytoken = FunctionParameters["VK_CommunityToken"];
ButtonArray = New Array;
ButtonArray.Add("Button 1");
ButtonArray.Add("Button 2");
Keyboard = OPI_VK.FormKeyboard(ButtonArray);
Result = OPI_VK.WriteMessage(Text, UserID, Communitytoken, Keyboard, Parameters);