You've already forked OpenIntegrations
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:
@@ -30,7 +30,7 @@ Method at API documentation: [POST /chats/avatar/set](https://teams.vk.
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
|
||||
File = "https://openyellow.neocities.org/test_data/spy2.png"; // URL
|
||||
File = "https://api.athenaeum.digital/test_data/spy2.png"; // URL
|
||||
FilePath = GetTempFileName("png"); // Path
|
||||
|
||||
CopyFile(File, FilePath);
|
||||
|
||||
@@ -27,7 +27,7 @@ Method at API documentation: [GET /files/getInfo](https://teams.vk.com/botapi/#/
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "001.3501506236.091...";
|
||||
FileID = "Z7w4zb94bLtkJDICBfzVuG66f69e921bd";
|
||||
FileID = "b4iRLUwWag0zlnIGRbmziy670a67cf1bd";
|
||||
|
||||
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
|
||||
```
|
||||
|
||||
@@ -29,7 +29,7 @@ Method at API documentation: [GET /messages/deleteMessages](https://teams.vk.com
|
||||
```bsl title="Code example"
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7424860889745984697";
|
||||
|
||||
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);
|
||||
```
|
||||
|
||||
@@ -33,7 +33,7 @@ You can mention a user by appending their userId to the text in the following fo
|
||||
```bsl title="Code example"
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7424860889745984697";
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);
|
||||
|
||||
@@ -34,7 +34,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 = "7419291601358293295";
|
||||
MessageID = "7424860889745984697";
|
||||
|
||||
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ To call this method, the bot must be an administrator in the chat room
|
||||
```bsl title="Code example"
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7424860889745984697";
|
||||
|
||||
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
|
||||
```
|
||||
|
||||
@@ -31,7 +31,7 @@ Method at API documentation: [GET /messages/sendFile](https://teams.vk.com/botap
|
||||
```bsl title="Code example"
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FileID = "Z7w4zb94bLtkJDICBfzVuG66f69e921bd";
|
||||
FileID = "b4iRLUwWag0zlnIGRbmziy670a67cf1bd";
|
||||
Text = "File caption";
|
||||
|
||||
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text);
|
||||
|
||||
@@ -29,7 +29,7 @@ Method at API documentation: [GET /messages/sendVoice](https://teams.vk.com/bota
|
||||
```bsl title="Code example"
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FileID = "I000bknkWbWwh8Fy0kkt9l66f69ea61bd";
|
||||
FileID = "I000b3qLXbT1dFg04yowf6670a67e21bd";
|
||||
|
||||
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
|
||||
```
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [POST /messages/sendFile](https://teams.vk.com/bota
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
Text = "File caption";
|
||||
|
||||
File = "https://openyellow.neocities.org/test_data/document.docx"; // URL
|
||||
File = "https://api.athenaeum.digital/test_data/document.docx"; // URL
|
||||
FilePath = GetTempFileName("docx"); // Path
|
||||
|
||||
CopyFile(File, FilePath);
|
||||
|
||||
@@ -39,7 +39,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 = "7419291601358293295";
|
||||
ReplyID = "7424860889745984697";
|
||||
Text = "<b>Bold text</b>";
|
||||
Markup = "HTML";
|
||||
|
||||
|
||||
@@ -34,9 +34,9 @@ If you want the client to display this file as a playable voice message, it must
|
||||
```bsl title="Code example"
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
ReplyID = "7419291601358293295";
|
||||
ReplyID = "7424860889745984697";
|
||||
|
||||
File = "https://openyellow.neocities.org/test_data/song.m4a" ; // URL
|
||||
File = "https://api.athenaeum.digital/test_data/song.m4a" ; // URL
|
||||
FilePath = GetTempFileName("m4a"); // Path
|
||||
|
||||
CopyFile(File, FilePath);
|
||||
|
||||
@@ -31,7 +31,7 @@ To call this method, the bot must be an administrator in the chat room
|
||||
```bsl title="Code example"
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7424860889745984697";
|
||||
|
||||
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user