2024-08-13 17:25:31 +03:00
|
|
|
Token = "001.3501506236.091...";
|
|
|
|
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
2024-08-13 14:04:54 +00:00
|
|
|
Text = "Message text";
|
|
|
|
|
|
|
|
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text);
|
|
|
|
|
2024-08-13 17:25:31 +03:00
|
|
|
ChatID = "689203963@chat.agent";
|
2024-08-20 09:51:57 +03:00
|
|
|
ReplyID = "7404833070697677387";
|
2024-08-13 14:04:54 +00:00
|
|
|
Text = "<b>Bold text</b>";
|
|
|
|
Markup = "HTML";
|
|
|
|
|
2024-08-18 17:33:21 +03:00
|
|
|
Keyboard = New Array;
|
|
|
|
ButtonsLineArray = New Array;
|
|
|
|
|
|
|
|
ButtonsLineArray.Add(OPI_VKTeams.MakeActionButton("Button1", "ButtonEvent1", , "attention"));
|
2024-08-18 18:15:50 +03:00
|
|
|
|
|
|
|
ButtonsLineArray.Add(OPI_VKTeams.MakeActionButton("Button2", , "https://openintegrations.dev"));
|
2024-08-18 17:33:21 +03:00
|
|
|
|
|
|
|
Keyboard.Add(ButtonsLineArray);
|
|
|
|
Keyboard.Add(ButtonsLineArray);
|
|
|
|
|
|
|
|
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text, ReplyID, Keyboard, Markup);
|