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:
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function ApprovePending(Val Token, Val ChatID, Val UserID = "") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| UserID | --userid | String, Number | User ID. For all active requests if not filled in |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| UserID | --userid | String, Number | ✖ | User ID. For all active requests if not filled in |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,12 +12,12 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function BlockChatUser(Val Token, Val ChatID, Val UserID, Val DeleteLastMessages = False) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| UserID | --userid | String, Number | User ID to be blocked |
|
||||
| DeleteLastMessages | --dellast | Boolean | Delete last messages before blocking |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| UserID | --userid | String, Number | ✔ | User ID to be blocked |
|
||||
| DeleteLastMessages | --dellast | Boolean | ✖ | Delete last messages before blocking |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function ChangeChatPicture(Val Token, Val ChatID, Val File) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| File | --file | BinaryData, String | Image file |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| File | --file | BinaryData, String | ✔ | Image file |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function DisapprovePending(Val Token, Val ChatID, Val UserID = "") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| UserID | --userid | String, Number | User ID. For all active requests if not filled in |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| UserID | --userid | String, Number | ✖ | User ID. For all active requests if not filled in |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,10 +12,10 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function GetChatAdmins(Val Token, Val ChatID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,10 +12,10 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function GetChatBlockedUsers(Val Token, Val ChatID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,10 +12,10 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function GetChatInfo(Val Token, Val ChatID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,10 +12,10 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function GetChatJoinRequests(Val Token, Val ChatID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function GetChatMembers(Val Token, Val ChatID, Val Cursor = "") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Cursor | --cursor | String | Next page marker from the previous request |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| Cursor | --cursor | String | ✖ | Next page marker from the previous request |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function RemoveChatMembers(Val Token, Val ChatID, Val Users) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Users | --members | String, Number, Array of String, Number | The member or members of the chat room to remove |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| Users | --members | String, Number, Array of String, Number | ✔ | The member or members of the chat room to remove |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function SetChatDescription(Val Token, Val ChatID, Val Text) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Text | --text | String | Description text |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| Text | --text | String | ✔ | Description text |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function SetChatRules(Val Token, Val ChatID, Val Text) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Text | --text | String | Rules Text |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| Text | --text | String | ✔ | Rules Text |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function SetChatTitle(Val Token, Val ChatID, Val Text) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| Text | --text | String | Title text |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| Text | --text | String | ✔ | Title text |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function UnblockChatUser(Val Token, Val ChatID, Val UserID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| UserID | --userid | String, Number | User ID |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| UserID | --userid | String, Number | ✔ | User ID |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,9 +12,9 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function CheckToken(Val Token) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function GetEvents(Val Token, Val LastID, Val Timeout = 0) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| LastID | --last | String, Number | ID of the last event processed before this event |
|
||||
| Timeout | --timeout | String, Number | Connection hold time for Long Polling |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| LastID | --last | String, Number | ✔ | ID of the last event processed before this event |
|
||||
| Timeout | --timeout | String, Number | ✖ | Connection hold time for Long Polling |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,10 +12,10 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function GetFileInformation(Val Token, Val FileID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| FileID | --fileid | String, Number | File ID |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| FileID | --fileid | String, Number | ✔ | File ID |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,13 +12,13 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function AnswerButtonEvent(Val Token, Val EventID, Val Text = "", Val URL = "", Val AsAlert = False) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| EventID | --queryid | String | Identifier of the callback query received by the bot |
|
||||
| Text | --text | String | Answer text |
|
||||
| URL | --url | String | URL to be opened by the client application |
|
||||
| AsAlert | --showalert | Boolean | Display the answer as an alert) |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| EventID | --queryid | String | ✔ | Identifier of the callback query received by the bot |
|
||||
| Text | --text | String | ✖ | Answer text |
|
||||
| URL | --url | String | ✖ | URL to be opened by the client application |
|
||||
| AsAlert | --showalert | Boolean | ✖ | Display the answer as an alert) |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function DeleteMessage(Val Token, Val ChatID, Val MessageID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID for message sending |
|
||||
| MessageID | --messageid | String, Number | Message ID for editing |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID for message sending |
|
||||
| MessageID | --messageid | String, Number | ✔ | Message ID for editing |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,13 +12,13 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function EditMessageText(Val Token, Val ChatID, Val MessageID, Val Text, Val Markup = "MarkdownV2") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID for message sending |
|
||||
| MessageID | --messageid | String, Number | Message ID for editing |
|
||||
| Text | --text | String | New message text |
|
||||
| Markup | --parsemod | String | Markup type for message text: MarkdownV2 or HTML |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID for message sending |
|
||||
| MessageID | --messageid | String, Number | ✔ | Message ID for editing |
|
||||
| Text | --text | String | ✔ | New message text |
|
||||
| Markup | --parsemod | String | ✖ | Markup type for message text: MarkdownV2 or HTML |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,13 +12,13 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function ForwardMessage(Val Token, Val MessageID, Val FromChatID, Val ChatID, Val Text = "") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| MessageID | --messageid | String, Number | Original message ID |
|
||||
| FromChatID | --fromid | String, Number | Source chat ID |
|
||||
| ChatID | --chatid | String, Number | Chat ID for message sending |
|
||||
| Text | --text | String | Additional message text |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| MessageID | --messageid | String, Number | ✔ | Original message ID |
|
||||
| FromChatID | --fromid | String, Number | ✔ | Source chat ID |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID for message sending |
|
||||
| Text | --text | String | ✖ | Additional message text |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,12 +12,12 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function MakeActionButton(Val Text, Val Value = "", Val URL = "", Val Style = "base") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Text | --text | String | Button text |
|
||||
| Value | --data | String | The value returned in the event. Only if the URL is not filled |
|
||||
| URL | --url | String | URL to create the page open button. Only if the Value is not filled in |
|
||||
| Style | --style | String | Button style: primary, attention or base |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Text | --text | String | ✔ | Button text |
|
||||
| Value | --data | String | ✖ | The value returned in the event. Only if the URL is not filled |
|
||||
| URL | --url | String | ✖ | URL to create the page open button. Only if the Value is not filled in |
|
||||
| Style | --style | String | ✖ | Button style: primary, attention or base |
|
||||
|
||||
|
||||
Returns: Structure - Button for keyboard
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function PinMessage(Val Token, Val ChatID, Val MessageID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| MessageID | --messageid | String, Number | ID of the message to be pinned |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| MessageID | --messageid | String, Number | ✔ | ID of the message to be pinned |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,13 +12,13 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function ResendFile(Val Token, Val ChatID, Val FileID, Val Text = "", Val Markup = "MarkdownV2") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID for sending |
|
||||
| FileID | --fileid | String, Number | File ID to send |
|
||||
| Text | --text | String | File caption |
|
||||
| Markup | --parsemod | String | Markup type for message text: MarkdownV2 or HTML |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID for sending |
|
||||
| FileID | --fileid | String, Number | ✔ | File ID to send |
|
||||
| Text | --text | String | ✖ | File caption |
|
||||
| Markup | --parsemod | String | ✖ | Markup type for message text: MarkdownV2 or HTML |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function ResendVoice(Val Token, Val ChatID, Val FileID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID for sending |
|
||||
| FileID | --fileid | String, Number | File ID of voice message |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID for sending |
|
||||
| FileID | --fileid | String, Number | ✔ | File ID of voice message |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,14 +12,14 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function SendFile(Val Token, Val ChatID, Val File, Val Text = "", Val FileName = "", Val Markup = "MarkdownV2") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID for sending |
|
||||
| File | --file | BinaryData, String | File for sending |
|
||||
| Text | --text | String | File caption |
|
||||
| FileName | --filename | String | Displayed file name |
|
||||
| Markup | --parsemod | String | Markup type for message text: MarkdownV2 or HTML |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID for sending |
|
||||
| File | --file | BinaryData, String | ✔ | File for sending |
|
||||
| Text | --text | String | ✖ | File caption |
|
||||
| FileName | --filename | String | ✖ | Displayed file name |
|
||||
| Markup | --parsemod | String | ✖ | Markup type for message text: MarkdownV2 or HTML |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,14 +12,14 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function SendTextMessage(Val Token, Val ChatID, Val Text, Val ReplyID = 0, Val Keyboard = "", Val Markup = "MarkdownV2") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID for message sending |
|
||||
| Text | --text | String | Message text |
|
||||
| ReplyID | --reply | String, Number | Replying message id if necessary |
|
||||
| Keyboard | --keyboard | Array Of String | Buttons to the message if necessary |
|
||||
| Markup | --parsemod | String | Markup type for message text: MarkdownV2 or HTML |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID for message sending |
|
||||
| Text | --text | String | ✔ | Message text |
|
||||
| ReplyID | --reply | String, Number | ✖ | Replying message id if necessary |
|
||||
| Keyboard | --keyboard | Array Of String | ✖ | Buttons to the message if necessary |
|
||||
| Markup | --parsemod | String | ✖ | Markup type for message text: MarkdownV2 or HTML |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,14 +12,14 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function SendVoice(Val Token, Val ChatID, Val File, Val FileType = "m4a", Val ReplyID = 0, Val Keyboard = "") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID for sending |
|
||||
| File | --file | BinaryData, String | File for sending |
|
||||
| FileType | --type | String | Audio type: aac, ogg or m4a |
|
||||
| ReplyID | --reply | String, Number | Replying message id if necessary |
|
||||
| Keyboard | --keyboard | Array Of String | Buttons to the message if necessary |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID for sending |
|
||||
| File | --file | BinaryData, String | ✔ | File for sending |
|
||||
| FileType | --type | String | ✖ | Audio type: aac, ogg or m4a |
|
||||
| ReplyID | --reply | String, Number | ✖ | Replying message id if necessary |
|
||||
| Keyboard | --keyboard | Array Of String | ✖ | Buttons to the message if necessary |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
@@ -12,11 +12,11 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
`Function UnpinMessage(Val Token, Val ChatID, Val MessageID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Description |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Bot token |
|
||||
| ChatID | --chatid | String, Number | Chat ID |
|
||||
| MessageID | --messageid | String, Number | ID of the message to be unpinned |
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Bot token |
|
||||
| ChatID | --chatid | String, Number | ✔ | Chat ID |
|
||||
| MessageID | --messageid | String, Number | ✔ | ID of the message to be unpinned |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from VK Teams
|
||||
|
||||
Reference in New Issue
Block a user