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:
@@ -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 = "z4jogAQwvZkNzuErMbBNHa66cb1e6f1bd";
|
||||
FileID = "Z7w4zb94bLtkJDICBfzVuG66f69e921bd";
|
||||
|
||||
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 = "7407047289547522916";
|
||||
MessageID = "7419291601358293295";
|
||||
|
||||
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 = "7407047289547522916";
|
||||
MessageID = "7419291601358293295";
|
||||
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 = "7407047289547522916";
|
||||
MessageID = "7419291601358293295";
|
||||
|
||||
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 = "7407047289547522916";
|
||||
MessageID = "7419291601358293295";
|
||||
|
||||
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 = "z4jogAQwvZkNzuErMbBNHa66cb1e6f1bd";
|
||||
FileID = "Z7w4zb94bLtkJDICBfzVuG66f69e921bd";
|
||||
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 = "I000btK8FycYcNj36ktHPY66cb1e821bd";
|
||||
FileID = "I000bknkWbWwh8Fy0kkt9l66f69ea61bd";
|
||||
|
||||
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 = "7407047289547522916";
|
||||
ReplyID = "7419291601358293295";
|
||||
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 = "7407047289547522916";
|
||||
ReplyID = "7419291601358293295";
|
||||
Text = "File caption";
|
||||
|
||||
File = "https://openintegrations.dev/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 = "7407047289547522916";
|
||||
MessageID = "7419291601358293295";
|
||||
|
||||
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user