1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2024-11-05 13:10:27 +03:00
parent d9d9490428
commit 6473088320
1276 changed files with 7689 additions and 7689 deletions
@@ -30,7 +30,7 @@ Method at API documentation: [GET /files/getInfo](https://teams.vk.com/botapi/#/
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
FileID = "qi0x9xPrFTb3fnJ9G4OjaC672698871bd";
FileID = "sVk7sEBFCpQ2yJQ1hDGdKd6727c72d1bd";
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
```
@@ -32,7 +32,7 @@ Method at API documentation: [GET /messages/deleteMessages](https://teams.vk.com
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7432795755926000366";
MessageID = "7433128521402159947";
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);
```
@@ -36,7 +36,7 @@ You can mention a user by appending their userId to the text in the following fo
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7432795755926000366";
MessageID = "7433128521402159947";
Text = "New message text";
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);
@@ -37,7 +37,7 @@ Only the chatId from events can be passed to the FromChatID (the code from the c
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FromChatID = "689203963@chat.agent";
MessageID = "7432795755926000366";
MessageID = "7433128521402159947";
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);
@@ -34,7 +34,7 @@ To call this method, the bot must be an administrator in the chat room
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7432795755926000366";
MessageID = "7433128521402159947";
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
```
@@ -34,7 +34,7 @@ Method at API documentation: [GET /messages/sendFile](https://teams.vk.com/botap
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "qi0x9xPrFTb3fnJ9G4OjaC672698871bd";
FileID = "sVk7sEBFCpQ2yJQ1hDGdKd6727c72d1bd";
Text = "File caption";
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text);
@@ -32,7 +32,7 @@ Method at API documentation: [GET /messages/sendVoice](https://teams.vk.com/bota
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "I000bFgD25nGxgnsm9Pe6j6726989a1bd";
FileID = "I000bX89sYi4BMFi6YK4pg6727c7401bd";
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
```
@@ -42,7 +42,7 @@ You can mention a user by appending their userId to the text in the following fo
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text);
ChatID = "689203963@chat.agent";
ReplyID = "7432795755926000366";
ReplyID = "7433128521402159947";
Text = "<b>Bold text</b>";
Markup = "HTML";
@@ -38,7 +38,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
ReplyID = "7432795755926000366";
ReplyID = "7433128521402159947";
File = "https://api.athenaeum.digital/test_data/song.m4a" ; // URL
FilePath = GetTempFileName("m4a"); // Path
@@ -34,7 +34,7 @@ To call this method, the bot must be an administrator in the chat room
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7432795755926000366";
MessageID = "7433128521402159947";
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
```