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:
@@ -42,6 +42,24 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams ApprovePending \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams ApprovePending ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -41,6 +41,28 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams BlockChatUser \
|
||||
--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
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -49,6 +49,26 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams ChangeChatPicture \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\brymyuvwled.png"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams ChangeChatPicture ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\brymyuvwled.png"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -42,6 +42,24 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams DisapprovePending \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams DisapprovePending ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -36,6 +36,24 @@ Method at API documentation: [GET /chats/getAdmins](https://teams.vk.com/botapi/
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams GetChatAdmins \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams GetChatAdmins ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -38,6 +38,24 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams GetChatBlockedUsers \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams GetChatBlockedUsers ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -36,6 +36,24 @@ Method at API documentation: [GET /chats/getInfo](https://teams.vk.com/botapi/#/
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams GetChatInfo \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams GetChatInfo ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -38,6 +38,24 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams GetChatJoinRequests \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams GetChatJoinRequests ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -37,6 +37,24 @@ Method at API documentation: [GET /chats/getMembers](https://teams.vk.com/botapi
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams GetChatMembers \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams GetChatMembers ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -38,6 +38,26 @@ Method at API documentation: [GET /chats/members/delete](https://teams.vk.com/bo
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams RemoveChatMembers \
|
||||
--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
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -40,6 +40,26 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams SetChatDescription \
|
||||
--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"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -40,6 +40,26 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams SetChatRules \
|
||||
--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"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -40,6 +40,26 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams SetChatTitle \
|
||||
--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"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -40,6 +40,26 @@ To call this method, the bot must be an administrator in the chat room.
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams UnblockChatUser \
|
||||
--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
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -33,6 +33,22 @@ Method at API documentation: [GET /self/get](https://teams.vk.com/botapi/#/self/
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams CheckToken \
|
||||
--token "***"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams CheckToken ^
|
||||
--token "***"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -51,6 +51,26 @@ Method at API documentation: [GET /events/get](https://teams.vk.com/botapi/#/eve
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams GetEvents \
|
||||
--token "***" \
|
||||
--last 163 \
|
||||
--timeout 3
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams GetEvents ^
|
||||
--token "***" ^
|
||||
--last 163 ^
|
||||
--timeout 3
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -36,6 +36,24 @@ Method at API documentation: [GET /files/getInfo](https://teams.vk.com/botapi/#/
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams GetFileInformation \
|
||||
--token "***" \
|
||||
--fileid "y6gMq61ohZP884hrzxJHLn671555181bd"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams GetFileInformation ^
|
||||
--token "***" ^
|
||||
--fileid "y6gMq61ohZP884hrzxJHLn671555181bd"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -38,6 +38,26 @@ Method at API documentation: [GET /messages/deleteMessages](https://teams.vk.com
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams DeleteMessage \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--messageid "7427936575956192964"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams DeleteMessage ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--messageid "7427936575956192964"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -48,6 +48,30 @@ You can mention a user by appending their userId to the text in the following fo
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams EditMessageText \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--messageid "7427936575956192964" \
|
||||
--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 "7427936575956192964" ^
|
||||
--text "<b>New bold message text</b>" ^
|
||||
--parsemod "HTML"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -47,6 +47,30 @@ Only the chatId from events can be passed to the FromChatID (the code from the c
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams ForwardMessage \
|
||||
--token "***" \
|
||||
--messageid "7427936575956192964" \
|
||||
--fromid "689203963@chat.agent" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--text "Additional text"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams ForwardMessage ^
|
||||
--token "***" ^
|
||||
--messageid "7427936575956192964" ^
|
||||
--fromid "689203963@chat.agent" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--text "Additional text"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -40,6 +40,24 @@ import TabItem from '@theme/TabItem';
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams MakeActionButton \
|
||||
--text "Button2" \
|
||||
--url "https://openintegrations.dev"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams MakeActionButton ^
|
||||
--text "Button2" ^
|
||||
--url "https://openintegrations.dev"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -40,6 +40,26 @@ To call this method, the bot must be an administrator in the chat room
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams PinMessage \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--messageid "7427936575956192964"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams PinMessage ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--messageid "7427936575956192964"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -41,6 +41,28 @@ Method at API documentation: [GET /messages/sendFile](https://teams.vk.com/botap
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams ResendFile \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--fileid "y6gMq61ohZP884hrzxJHLn671555181bd" \
|
||||
--text "File caption"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams ResendFile ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--fileid "y6gMq61ohZP884hrzxJHLn671555181bd" ^
|
||||
--text "File caption"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -38,6 +38,26 @@ Method at API documentation: [GET /messages/sendVoice](https://teams.vk.com/bota
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams ResendVoice \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--fileid "I000bflvct6D0Tt8PQir91671555351bd"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams ResendVoice ^
|
||||
--token "***" ^
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" ^
|
||||
--fileid "I000bflvct6D0Tt8PQir91671555351bd"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -53,6 +53,30 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams SendFile \
|
||||
--token "***" \
|
||||
--chatid "AoLI0egLWBSLR1Ngn2w" \
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\sbicmtizk1l.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\sbicmtizk1l.tmp" ^
|
||||
--text "File caption" ^
|
||||
--filename "ImportantDocument.docx"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -60,6 +60,32 @@ You can mention a user by appending their userId to the text in the following fo
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams SendTextMessage \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--text "<b>Bold text</b>" \
|
||||
--reply "7427882807260614310" \
|
||||
--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 "7427882807260614310" ^
|
||||
--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>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -55,6 +55,28 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams SendVoice \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\nmjkdbjmbtj.m4a" \
|
||||
--reply "7427936575956192964"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams SendVoice ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--file "C:\Users\Administrator\AppData\Local\Temp\nmjkdbjmbtj.m4a" ^
|
||||
--reply "7427936575956192964"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
@@ -40,6 +40,26 @@ To call this method, the bot must be an administrator in the chat room
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint vkteams UnpinMessage \
|
||||
--token "***" \
|
||||
--chatid "689203963@chat.agent" \
|
||||
--messageid "7427936575956192964"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint vkteams UnpinMessage ^
|
||||
--token "***" ^
|
||||
--chatid "689203963@chat.agent" ^
|
||||
--messageid "7427936575956192964"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
Reference in New Issue
Block a user