You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
1.1 KiB
1.1 KiB
sidebar_position
| sidebar_position |
|---|
| 7 |
Resend voice
Sends a previously uploaded voice message by ID
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 |
Returns: Map Of KeyAndValue - Serialized JSON response from VK Teams
:::tip
Method at API documentation: GET /messages/sendVoice
:::
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "I000bknkWbWwh8Fy0kkt9l66f69ea61bd";
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
oint vkteams ResendVoice --token %token% --chatid %chatid% --fileid %fileid%
{
"fileId": "I000bBktBHG1YpsdO9I6Zo6704366a1bd",
"msgId": "7423117936182692106",
"ok": true
}