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-09-24 11:38:18 +03:00
parent 603f4c9720
commit 4a9fd2c336
1214 changed files with 8737 additions and 7993 deletions
@@ -29,8 +29,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
User = 1011987091;
Result = OPI_VKTeams.ApprovePending(Token, ChatID, User);
@@ -30,8 +30,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
User = 1011987091;
Result = OPI_VKTeams.BlockChatUser(Token, ChatID, User, True);
@@ -27,10 +27,10 @@ Method at API documentation: [POST ​/chats​/avatar​/set](https://teams.vk.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
File = FunctionParameters["Picture3"]; // URL
File = "https://openintegrations.dev/test_data/spy2.png"; // URL
FilePath = GetTempFileName("png"); // Path
CopyFile(File, FilePath);
@@ -29,8 +29,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
User = 1011987091;
Result = OPI_VKTeams.DisapprovePending(Token, ChatID, User);
@@ -26,8 +26,8 @@ Method at API documentation: [GET /chats/getAdmins](https://teams.vk.com/botapi/
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
Result = OPI_VKTeams.GetChatAdmins(Token, ChatID);
```
@@ -28,8 +28,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
Result = OPI_VKTeams.GetChatBlockedUsers(Token, ChatID);
```
@@ -26,8 +26,8 @@ Method at API documentation: [GET /chats/getInfo](https://teams.vk.com/botapi/#/
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
Result = OPI_VKTeams.GetChatInfo(Token, ChatID);
```
@@ -28,8 +28,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
Result = OPI_VKTeams.GetChatJoinRequests(Token, ChatID);
```
@@ -27,8 +27,8 @@ Method at API documentation: [GET /chats/getMembers](https://teams.vk.com/botapi
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
Result = OPI_VKTeams.GetChatMembers(Token, ChatID);
```
@@ -27,8 +27,8 @@ Method at API documentation: [GET /chats/members/delete](https://teams.vk.com/bo
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
User = 1011987091;
Result = OPI_VKTeams.RemoveChatMembers(Token, ChatID, User);
@@ -29,8 +29,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
Text = "New description";
Result = OPI_VKTeams.SetChatDescription(Token, ChatID, Text);
@@ -29,8 +29,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
Text = "Text of the new rules";
Result = OPI_VKTeams.SetChatRules(Token, ChatID, Text);
@@ -29,8 +29,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
Text = "New title";
Result = OPI_VKTeams.SetChatTitle(Token, ChatID, Text);
@@ -29,8 +29,8 @@ To call this method, the bot must be an administrator in the chat room.
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
User = 1011987091;
Result = OPI_VKTeams.UnblockChatUser(Token, ChatID, User);
@@ -25,7 +25,7 @@ Method at API documentation: [GET /self/get](https://teams.vk.com/botapi/#/self/
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
Token = "001.3501506236.091...";
Result = OPI_VKTeams.CheckToken(Token);
```
@@ -27,7 +27,7 @@ Method at API documentation: [GET /events/get](https://teams.vk.com/botapi/#/eve
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
Token = "001.3501506236.091...";
LastID = 0;
For N = 1 To 5 Do // In real work - endless loop
@@ -26,8 +26,8 @@ Method at API documentation: [GET /files/getInfo](https://teams.vk.com/botapi/#/
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
FileID = FunctionParameters["VkTeams_FileID"];
Token = "001.3501506236.091...";
FileID = "z4jogAQwvZkNzuErMbBNHa66cb1e6f1bd";
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
```
@@ -31,7 +31,7 @@ This method call should be used in response to receiving a callbackQuery event
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
Token = "001.3501506236.091...";
LastID = 0;
For N = 1 To 5 Do
@@ -27,9 +27,9 @@ Method at API documentation: [GET /messages/deleteMessages](https://teams.vk.com
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
MessageID = FunctionParameters["VkTeams_MessageID"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7407047289547522916";
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);
```
@@ -31,9 +31,9 @@ You can mention a user by appending their userId to the text in the following fo
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
MessageID = FunctionParameters["VkTeams_MessageID"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7407047289547522916";
Text = "New message text";
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);
@@ -31,10 +31,10 @@ Only the chatId from events can be passed to the FromChatID (the code from the c
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
FromChatID = FunctionParameters["VkTeams_ChatID2"];
MessageID = FunctionParameters["VkTeams_MessageID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FromChatID = "689203963@chat.agent";
MessageID = "7407047289547522916";
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);
@@ -29,9 +29,9 @@ To call this method, the bot must be an administrator in the chat room
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
MessageID = FunctionParameters["VkTeams_MessageID"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7407047289547522916";
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
```
@@ -30,9 +30,9 @@ Method at API documentation: [GET /messages/sendFile](https://teams.vk.com/botap
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
FileID = FunctionParameters["VkTeams_FileID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "z4jogAQwvZkNzuErMbBNHa66cb1e6f1bd";
Text = "File caption";
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text, "SameDoc.docx");
@@ -27,9 +27,9 @@ Method at API documentation: [GET /messages/sendVoice](https://teams.vk.com/bota
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
FileID = FunctionParameters["VkTeams_VoiceID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "I000btK8FycYcNj36ktHPY66cb1e821bd";
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
```
@@ -30,11 +30,11 @@ Method at API documentation: [POST /messages/sendFile](https://teams.vk.com/bota
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
Text = "File caption";
File = FunctionParameters["Document"]; // URL
File = "https://openintegrations.dev/test_data/document.docx"; // URL
FilePath = GetTempFileName("docx"); // Path
CopyFile(File, FilePath);
@@ -32,14 +32,14 @@ You can mention a user by appending their userId to the text in the following fo
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
Text = "Message text";
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text);
ChatID = FunctionParameters["VkTeams_ChatID2"];
ReplyID = FunctionParameters["VkTeams_MessageID"];
ChatID = "689203963@chat.agent";
ReplyID = "7407047289547522916";
Text = "<b>Bold text</b>";
Markup = "HTML";
@@ -32,12 +32,12 @@ If you want the client to display this file as a playable voice message, it must
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
ReplyID = FunctionParameters["VkTeams_MessageID"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
ReplyID = "7407047289547522916";
Text = "File caption";
File = FunctionParameters["Audio2"] ; // URL
File = "https://openintegrations.dev/test_data/song.m4a" ; // URL
FilePath = GetTempFileName("m4a"); // Path
CopyFile(File, FilePath);
@@ -29,9 +29,9 @@ To call this method, the bot must be an administrator in the chat room
```bsl title="Code example"
Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
MessageID = FunctionParameters["VkTeams_MessageID"];
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7407047289547522916";
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
```