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

Пересборка доков

This commit is contained in:
Anton
2024-09-29 17:27:25 +03:00
parent b1ce3eb74e
commit 3997619618
651 changed files with 3474 additions and 6089 deletions
@@ -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 = "YRmKYI5G6C5AbASMKTALpE66f95d601bd";
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 = "7420064343284255240";
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 = "7420064343284255240";
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 = "7420064343284255240";
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 = "7420064343284255240";
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
```
@@ -32,7 +32,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 = "YRmKYI5G6C5AbASMKTALpE66f95d601bd";
Text = "File caption";
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text, "SameDoc.docx");
@@ -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 = "I000bEKMaoaRSCbZokONoZ66f95d721bd";
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
```
@@ -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 = "7420064343284255240";
Text = "<b>Bold text</b>";
Markup = "HTML";
@@ -34,7 +34,7 @@ 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 = "7420064343284255240";
Text = "File caption";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.m4a" ; // URL
@@ -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 = "7420064343284255240";
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
```