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 Titovets
2024-10-22 08:59:24 +03:00
parent 5da87c8406
commit 7e5e540a98
641 changed files with 4024 additions and 4018 deletions
@@ -47,16 +47,16 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams ApprovePending \
--token "***" \
--chatid "689203963@chat.agent"
--token "***" \
--chatid "689203963@chat.agent"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams ApprovePending ^
--token "***" ^
--chatid "689203963@chat.agent"
--token "***" ^
--chatid "689203963@chat.agent"
```
</TabItem>
</Tabs>
@@ -46,20 +46,20 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams BlockChatUser \
--token "***" \
--chatid "689203963@chat.agent" \
--userid 1011987091 \
--dellast true
--token "***" \
--chatid "689203963@chat.agent" \
--userid 1011987091 \
--dellast true
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams BlockChatUser ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--userid 1011987091 ^
--dellast true
--token "***" ^
--chatid "689203963@chat.agent" ^
--userid 1011987091 ^
--dellast true
```
</TabItem>
</Tabs>
@@ -54,18 +54,18 @@ Parameters with Binary data type can also accept file paths on disk and URLs
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams ChangeChatPicture \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--file "C:\Users\Administrator\AppData\Local\Temp\u4dkrsv05sa.png"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--file "C:\Users\Administrator\AppData\Local\Temp\u4dkrsv05sa.png"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams ChangeChatPicture ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--file "C:\Users\Administrator\AppData\Local\Temp\u4dkrsv05sa.png"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--file "C:\Users\Administrator\AppData\Local\Temp\u4dkrsv05sa.png"
```
</TabItem>
</Tabs>
@@ -47,16 +47,16 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams DisapprovePending \
--token "***" \
--chatid "689203963@chat.agent"
--token "***" \
--chatid "689203963@chat.agent"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams DisapprovePending ^
--token "***" ^
--chatid "689203963@chat.agent"
--token "***" ^
--chatid "689203963@chat.agent"
```
</TabItem>
</Tabs>
@@ -41,16 +41,16 @@ Method at API documentation: [GET /chats/getAdmins](https://teams.vk.com/botapi/
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams GetChatAdmins \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams GetChatAdmins ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
</Tabs>
@@ -43,16 +43,16 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams GetChatBlockedUsers \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams GetChatBlockedUsers ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
</Tabs>
@@ -41,16 +41,16 @@ Method at API documentation: [GET /chats/getInfo](https://teams.vk.com/botapi/#/
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams GetChatInfo \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams GetChatInfo ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
</Tabs>
@@ -43,16 +43,16 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams GetChatJoinRequests \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams GetChatJoinRequests ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
</Tabs>
@@ -42,16 +42,16 @@ Method at API documentation: [GET /chats/getMembers](https://teams.vk.com/botapi
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams GetChatMembers \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams GetChatMembers ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w"
```
</TabItem>
</Tabs>
@@ -43,18 +43,18 @@ Method at API documentation: [GET /chats/members/delete](https://teams.vk.com/bo
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams RemoveChatMembers \
--token "***" \
--chatid "689203963@chat.agent" \
--members 1011987091
--token "***" \
--chatid "689203963@chat.agent" \
--members 1011987091
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams RemoveChatMembers ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--members 1011987091
--token "***" ^
--chatid "689203963@chat.agent" ^
--members 1011987091
```
</TabItem>
</Tabs>
@@ -45,18 +45,18 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams SetChatDescription \
--token "***" \
--chatid "689203963@chat.agent" \
--text "New description"
--token "***" \
--chatid "689203963@chat.agent" \
--text "New description"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams SetChatDescription ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--text "New description"
--token "***" ^
--chatid "689203963@chat.agent" ^
--text "New description"
```
</TabItem>
</Tabs>
@@ -45,18 +45,18 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams SetChatRules \
--token "***" \
--chatid "689203963@chat.agent" \
--text "Text of the new rules"
--token "***" \
--chatid "689203963@chat.agent" \
--text "Text of the new rules"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams SetChatRules ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--text "Text of the new rules"
--token "***" ^
--chatid "689203963@chat.agent" ^
--text "Text of the new rules"
```
</TabItem>
</Tabs>
@@ -45,18 +45,18 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams SetChatTitle \
--token "***" \
--chatid "689203963@chat.agent" \
--text "New title"
--token "***" \
--chatid "689203963@chat.agent" \
--text "New title"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams SetChatTitle ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--text "New title"
--token "***" ^
--chatid "689203963@chat.agent" ^
--text "New title"
```
</TabItem>
</Tabs>
@@ -45,18 +45,18 @@ To call this method, the bot must be an administrator in the chat room.
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams UnblockChatUser \
--token "***" \
--chatid "689203963@chat.agent" \
--userid 1011987091
--token "***" \
--chatid "689203963@chat.agent" \
--userid 1011987091
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams UnblockChatUser ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--userid 1011987091
--token "***" ^
--chatid "689203963@chat.agent" ^
--userid 1011987091
```
</TabItem>
</Tabs>
@@ -38,14 +38,14 @@ Method at API documentation: [GET /self/get](https://teams.vk.com/botapi/#/self/
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams CheckToken \
--token "***"
--token "***"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams CheckToken ^
--token "***"
--token "***"
```
</TabItem>
</Tabs>
@@ -56,18 +56,18 @@ Method at API documentation: [GET /events/get](https://teams.vk.com/botapi/#/eve
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams GetEvents \
--token "***" \
--last 172 \
--timeout 3
--token "***" \
--last 172 \
--timeout 3
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams GetEvents ^
--token "***" ^
--last 172 ^
--timeout 3
--token "***" ^
--last 172 ^
--timeout 3
```
</TabItem>
</Tabs>
@@ -41,16 +41,16 @@ Method at API documentation: [GET /files/getInfo](https://teams.vk.com/botapi/#/
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams GetFileInformation \
--token "***" \
--fileid "PZqeWDgllG71xshN3vjClD6716c10e1bd"
--token "***" \
--fileid "PZqeWDgllG71xshN3vjClD6716c10e1bd"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams GetFileInformation ^
--token "***" ^
--fileid "PZqeWDgllG71xshN3vjClD6716c10e1bd"
--token "***" ^
--fileid "PZqeWDgllG71xshN3vjClD6716c10e1bd"
```
</TabItem>
</Tabs>
@@ -43,18 +43,18 @@ Method at API documentation: [GET /messages/deleteMessages](https://teams.vk.com
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams DeleteMessage \
--token "***" \
--chatid "689203963@chat.agent" \
--messageid "7428336750944063426"
--token "***" \
--chatid "689203963@chat.agent" \
--messageid "7428336750944063426"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams DeleteMessage ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--messageid "7428336750944063426"
--token "***" ^
--chatid "689203963@chat.agent" ^
--messageid "7428336750944063426"
```
</TabItem>
</Tabs>
@@ -53,22 +53,22 @@ You can mention a user by appending their userId to the text in the following fo
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams EditMessageText \
--token "***" \
--chatid "689203963@chat.agent" \
--messageid "7428336750944063426" \
--text "<b>New bold message text</b>" \
--parsemod "HTML"
--token "***" \
--chatid "689203963@chat.agent" \
--messageid "7428336750944063426" \
--text "<b>New bold message text</b>" \
--parsemod "HTML"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams EditMessageText ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--messageid "7428336750944063426" ^
--text "<b>New bold message text</b>" ^
--parsemod "HTML"
--token "***" ^
--chatid "689203963@chat.agent" ^
--messageid "7428336750944063426" ^
--text "<b>New bold message text</b>" ^
--parsemod "HTML"
```
</TabItem>
</Tabs>
@@ -52,22 +52,22 @@ Only the chatId from events can be passed to the FromChatID (the code from the c
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams ForwardMessage \
--token "***" \
--messageid "7428336750944063426" \
--fromid "689203963@chat.agent" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--text "Additional text"
--token "***" \
--messageid "7428336750944063426" \
--fromid "689203963@chat.agent" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--text "Additional text"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams ForwardMessage ^
--token "***" ^
--messageid "7428336750944063426" ^
--fromid "689203963@chat.agent" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--text "Additional text"
--token "***" ^
--messageid "7428336750944063426" ^
--fromid "689203963@chat.agent" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--text "Additional text"
```
</TabItem>
</Tabs>
@@ -45,16 +45,16 @@ import TabItem from '@theme/TabItem';
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams MakeActionButton \
--text "Button2" \
--url "https://openintegrations.dev"
--text "Button2" \
--url "https://openintegrations.dev"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams MakeActionButton ^
--text "Button2" ^
--url "https://openintegrations.dev"
--text "Button2" ^
--url "https://openintegrations.dev"
```
</TabItem>
</Tabs>
@@ -45,18 +45,18 @@ To call this method, the bot must be an administrator in the chat room
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams PinMessage \
--token "***" \
--chatid "689203963@chat.agent" \
--messageid "7428336750944063426"
--token "***" \
--chatid "689203963@chat.agent" \
--messageid "7428336750944063426"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams PinMessage ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--messageid "7428336750944063426"
--token "***" ^
--chatid "689203963@chat.agent" ^
--messageid "7428336750944063426"
```
</TabItem>
</Tabs>
@@ -46,20 +46,20 @@ Method at API documentation: [GET /messages/sendFile](https://teams.vk.com/botap
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams ResendFile \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--fileid "PZqeWDgllG71xshN3vjClD6716c10e1bd" \
--text "File caption"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--fileid "PZqeWDgllG71xshN3vjClD6716c10e1bd" \
--text "File caption"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams ResendFile ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--fileid "PZqeWDgllG71xshN3vjClD6716c10e1bd" ^
--text "File caption"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--fileid "PZqeWDgllG71xshN3vjClD6716c10e1bd" ^
--text "File caption"
```
</TabItem>
</Tabs>
@@ -43,18 +43,18 @@ Method at API documentation: [GET /messages/sendVoice](https://teams.vk.com/bota
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams ResendVoice \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--fileid "I000bEjzN2G0RQqXMyyUJB6716c12b1bd"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--fileid "I000bEjzN2G0RQqXMyyUJB6716c12b1bd"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams ResendVoice ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--fileid "I000bEjzN2G0RQqXMyyUJB6716c12b1bd"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--fileid "I000bEjzN2G0RQqXMyyUJB6716c12b1bd"
```
</TabItem>
</Tabs>
@@ -58,22 +58,22 @@ Parameters with Binary data type can also accept file paths on disk and URLs
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams SendFile \
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--file "C:\Users\Administrator\AppData\Local\Temp\gzkcky4veub.tmp" \
--text "File caption" \
--filename "ImportantDocument.docx"
--token "***" \
--chatid "AoLI0egLWBSLR1Ngn2w" \
--file "C:\Users\Administrator\AppData\Local\Temp\gzkcky4veub.tmp" \
--text "File caption" \
--filename "ImportantDocument.docx"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams SendFile ^
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--file "C:\Users\Administrator\AppData\Local\Temp\gzkcky4veub.tmp" ^
--text "File caption" ^
--filename "ImportantDocument.docx"
--token "***" ^
--chatid "AoLI0egLWBSLR1Ngn2w" ^
--file "C:\Users\Administrator\AppData\Local\Temp\gzkcky4veub.tmp" ^
--text "File caption" ^
--filename "ImportantDocument.docx"
```
</TabItem>
</Tabs>
@@ -65,24 +65,24 @@ You can mention a user by appending their userId to the text in the following fo
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams SendTextMessage \
--token "***" \
--chatid "689203963@chat.agent" \
--text "<b>Bold text</b>" \
--reply "7428321280471863142" \
--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"
--token "***" \
--chatid "689203963@chat.agent" \
--text "<b>Bold text</b>" \
--reply "7428321280471863142" \
--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"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams SendTextMessage ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--text "<b>Bold text</b>" ^
--reply "7428321280471863142" ^
--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"
--token "***" ^
--chatid "689203963@chat.agent" ^
--text "<b>Bold text</b>" ^
--reply "7428321280471863142" ^
--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"
```
</TabItem>
</Tabs>
@@ -60,20 +60,20 @@ Parameters with Binary data type can also accept file paths on disk and URLs
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams SendVoice \
--token "***" \
--chatid "689203963@chat.agent" \
--file "C:\Users\Administrator\AppData\Local\Temp\ghc0tdnxaev.m4a" \
--reply "7428336750944063426"
--token "***" \
--chatid "689203963@chat.agent" \
--file "C:\Users\Administrator\AppData\Local\Temp\ghc0tdnxaev.m4a" \
--reply "7428336750944063426"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams SendVoice ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--file "C:\Users\Administrator\AppData\Local\Temp\ghc0tdnxaev.m4a" ^
--reply "7428336750944063426"
--token "***" ^
--chatid "689203963@chat.agent" ^
--file "C:\Users\Administrator\AppData\Local\Temp\ghc0tdnxaev.m4a" ^
--reply "7428336750944063426"
```
</TabItem>
</Tabs>
@@ -45,18 +45,18 @@ To call this method, the bot must be an administrator in the chat room
<TabItem value="bash" label="Bash" default>
```bash
oint vkteams UnpinMessage \
--token "***" \
--chatid "689203963@chat.agent" \
--messageid "7428336750944063426"
--token "***" \
--chatid "689203963@chat.agent" \
--messageid "7428336750944063426"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint vkteams UnpinMessage ^
--token "***" ^
--chatid "689203963@chat.agent" ^
--messageid "7428336750944063426"
--token "***" ^
--chatid "689203963@chat.agent" ^
--messageid "7428336750944063426"
```
</TabItem>
</Tabs>