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:
@@ -56,7 +56,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
oint vkteams ChangeChatPicture \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\ihsti45wehs.png"
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\itsx01ypbd3.png"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -65,7 +65,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
oint vkteams ChangeChatPicture ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\ihsti45wehs.png"
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\itsx01ypbd3.png"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -57,7 +57,7 @@ Method at API documentation: [GET /events/get](https://teams.vk.com/botapi/#/eve
|
||||
```bash
|
||||
oint vkteams GetEvents \
|
||||
--token "***" \
|
||||
--last 190 \
|
||||
--last 201 \
|
||||
--timeout 3
|
||||
```
|
||||
</TabItem>
|
||||
@@ -66,7 +66,7 @@ Method at API documentation: [GET /events/get](https://teams.vk.com/botapi/#/eve
|
||||
```batch
|
||||
oint vkteams GetEvents ^
|
||||
--token "***" ^
|
||||
--last 190 ^
|
||||
--last 201 ^
|
||||
--timeout 3
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -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 = "hGdf9rm9OIWXNADXdUA4by6716b5e41bd";
|
||||
FileID = "h5uQTXviQlMhOpqFVxAySV67251fb11bd";
|
||||
|
||||
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
|
||||
```
|
||||
@@ -42,7 +42,7 @@ Method at API documentation: [GET /files/getInfo](https://teams.vk.com/botapi/#/
|
||||
```bash
|
||||
oint vkteams GetFileInformation \
|
||||
--token "***" \
|
||||
--fileid "aRcVZBAtKCduymI3QoELQg672388ee1bd"
|
||||
--fileid "UdRfyRDrwPNV1Cl8xwubF9672657a51bd"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -50,7 +50,7 @@ Method at API documentation: [GET /files/getInfo](https://teams.vk.com/botapi/#/
|
||||
```batch
|
||||
oint vkteams GetFileInformation ^
|
||||
--token "***" ^
|
||||
--fileid "aRcVZBAtKCduymI3QoELQg672388ee1bd"
|
||||
--fileid "UdRfyRDrwPNV1Cl8xwubF9672657a51bd"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -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 = "7428324441567793059";
|
||||
MessageID = "7432381420430955075";
|
||||
|
||||
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);
|
||||
```
|
||||
@@ -45,7 +45,7 @@ Method at API documentation: [GET /messages/deleteMessages](https://teams.vk.com
|
||||
oint vkteams DeleteMessage \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--messageid "7431934219846160783"
|
||||
--messageid "7432724446583984828"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -54,7 +54,7 @@ Method at API documentation: [GET /messages/deleteMessages](https://teams.vk.com
|
||||
oint vkteams DeleteMessage ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--messageid "7431934219846160783"
|
||||
--messageid "7432724446583984828"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -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 = "7428324441567793059";
|
||||
MessageID = "7432381420430955075";
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);
|
||||
@@ -55,7 +55,7 @@ You can mention a user by appending their userId to the text in the following fo
|
||||
oint vkteams EditMessageText \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--messageid "7431934219846160783" \
|
||||
--messageid "7432724446583984828" \
|
||||
--text "<b>New bold message text</b>" \
|
||||
--parsemod "HTML"
|
||||
```
|
||||
@@ -66,7 +66,7 @@ You can mention a user by appending their userId to the text in the following fo
|
||||
oint vkteams EditMessageText ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--messageid "7431934219846160783" ^
|
||||
--messageid "7432724446583984828" ^
|
||||
--text "<b>New bold message text</b>" ^
|
||||
--parsemod "HTML"
|
||||
```
|
||||
|
||||
@@ -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 = "7428324441567793059";
|
||||
MessageID = "7432381420430955075";
|
||||
|
||||
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);
|
||||
|
||||
@@ -53,7 +53,7 @@ Only the chatId from events can be passed to the FromChatID (the code from the c
|
||||
```bash
|
||||
oint vkteams ForwardMessage \
|
||||
--token "***" \
|
||||
--messageid "7431934219846160783" \
|
||||
--messageid "7432724446583984828" \
|
||||
--fromid "689203963@chat.agent" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--text "Additional text"
|
||||
@@ -64,7 +64,7 @@ Only the chatId from events can be passed to the FromChatID (the code from the c
|
||||
```batch
|
||||
oint vkteams ForwardMessage ^
|
||||
--token "***" ^
|
||||
--messageid "7431934219846160783" ^
|
||||
--messageid "7432724446583984828" ^
|
||||
--fromid "689203963@chat.agent" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--text "Additional text"
|
||||
|
||||
@@ -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 = "7428324441567793059";
|
||||
MessageID = "7432381420430955075";
|
||||
|
||||
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
|
||||
```
|
||||
@@ -47,7 +47,7 @@ To call this method, the bot must be an administrator in the chat room
|
||||
oint vkteams PinMessage \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--messageid "7431934219846160783"
|
||||
--messageid "7432724446583984828"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -56,7 +56,7 @@ To call this method, the bot must be an administrator in the chat room
|
||||
oint vkteams PinMessage ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--messageid "7431934219846160783"
|
||||
--messageid "7432724446583984828"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -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 = "hGdf9rm9OIWXNADXdUA4by6716b5e41bd";
|
||||
FileID = "h5uQTXviQlMhOpqFVxAySV67251fb11bd";
|
||||
Text = "File caption";
|
||||
|
||||
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text);
|
||||
@@ -48,7 +48,7 @@ Method at API documentation: [GET /messages/sendFile](https://teams.vk.com/botap
|
||||
oint vkteams ResendFile \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--fileid "aRcVZBAtKCduymI3QoELQg672388ee1bd" \
|
||||
--fileid "UdRfyRDrwPNV1Cl8xwubF9672657a51bd" \
|
||||
--text "File caption"
|
||||
```
|
||||
</TabItem>
|
||||
@@ -58,7 +58,7 @@ Method at API documentation: [GET /messages/sendFile](https://teams.vk.com/botap
|
||||
oint vkteams ResendFile ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--fileid "aRcVZBAtKCduymI3QoELQg672388ee1bd" ^
|
||||
--fileid "UdRfyRDrwPNV1Cl8xwubF9672657a51bd" ^
|
||||
--text "File caption"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -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 = "I000bVVnmK9NpQFMf78r9N6716b5f71bd";
|
||||
FileID = "I000bLH3HYr9VWpR2vVUtV67251fc41bd";
|
||||
|
||||
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
|
||||
```
|
||||
@@ -45,7 +45,7 @@ Method at API documentation: [GET /messages/sendVoice](https://teams.vk.com/bota
|
||||
oint vkteams ResendVoice \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--fileid "I000bLoMW1tnMlv3XBvDMH6723890a1bd"
|
||||
--fileid "I000bNUGoyUseVc7piRNKQ672657c41bd"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -54,7 +54,7 @@ Method at API documentation: [GET /messages/sendVoice](https://teams.vk.com/bota
|
||||
oint vkteams ResendVoice ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--fileid "I000bLoMW1tnMlv3XBvDMH6723890a1bd"
|
||||
--fileid "I000bNUGoyUseVc7piRNKQ672657c41bd"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -60,7 +60,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
oint vkteams SendFile \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\d3ro54fx1c1.tmp" \
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\4cdpgkosb1t.tmp" \
|
||||
--text "File caption" \
|
||||
--filename "ImportantDocument.docx"
|
||||
```
|
||||
@@ -71,7 +71,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
oint vkteams SendFile ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\d3ro54fx1c1.tmp" ^
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\4cdpgkosb1t.tmp" ^
|
||||
--text "File caption" ^
|
||||
--filename "ImportantDocument.docx"
|
||||
```
|
||||
|
||||
@@ -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 = "7428324441567793059";
|
||||
ReplyID = "7432381420430955075";
|
||||
Text = "<b>Bold text</b>";
|
||||
Markup = "HTML";
|
||||
|
||||
@@ -68,7 +68,7 @@ You can mention a user by appending their userId to the text in the following fo
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--text "<b>Bold text</b>" \
|
||||
--reply "7431899937417204081" \
|
||||
--reply "7432415681385075358" \
|
||||
--keyboard "[[{'text':'Button1','callbackData':'ButtonEvent1','style':'attention'},{'text':'Button2','url':'https://openintegrations.dev','style':'base'}],[{'text':'Button1','callbackData':'ButtonEvent1','style':'attention'},{'text':'Button2','url':'https://openintegrations.dev','style':'base'}]]" \
|
||||
--parsemod "HTML"
|
||||
```
|
||||
@@ -80,7 +80,7 @@ You can mention a user by appending their userId to the text in the following fo
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--text "<b>Bold text</b>" ^
|
||||
--reply "7431899937417204081" ^
|
||||
--reply "7432415681385075358" ^
|
||||
--keyboard "[[{'text':'Button1','callbackData':'ButtonEvent1','style':'attention'},{'text':'Button2','url':'https://openintegrations.dev','style':'base'}],[{'text':'Button1','callbackData':'ButtonEvent1','style':'attention'},{'text':'Button2','url':'https://openintegrations.dev','style':'base'}]]" ^
|
||||
--parsemod "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 = "7428324441567793059";
|
||||
ReplyID = "7432381420430955075";
|
||||
|
||||
File = "https://api.athenaeum.digital/test_data/song.m4a" ; // URL
|
||||
FilePath = GetTempFileName("m4a"); // Path
|
||||
@@ -62,8 +62,8 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
oint vkteams SendVoice \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\hllfpea0d4j.m4a" \
|
||||
--reply "7431934219846160783"
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\cstxtngsmyk.m4a" \
|
||||
--reply "7432724446583984828"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -72,8 +72,8 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
oint vkteams SendVoice ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\hllfpea0d4j.m4a" ^
|
||||
--reply "7431934219846160783"
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\cstxtngsmyk.m4a" ^
|
||||
--reply "7432724446583984828"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -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 = "7428324441567793059";
|
||||
MessageID = "7432381420430955075";
|
||||
|
||||
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
|
||||
```
|
||||
@@ -47,7 +47,7 @@ To call this method, the bot must be an administrator in the chat room
|
||||
oint vkteams UnpinMessage \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--messageid "7431934219846160783"
|
||||
--messageid "7432724446583984828"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -56,7 +56,7 @@ To call this method, the bot must be an administrator in the chat room
|
||||
oint vkteams UnpinMessage ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--messageid "7431934219846160783"
|
||||
--messageid "7432724446583984828"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
Reference in New Issue
Block a user