mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-29 21:57:16 +02:00
17 lines
528 B
Plaintext
Vendored
17 lines
528 B
Plaintext
Vendored
Token = "001.3501506236.091...";
|
|
ChatID = "689203963@chat.agent";
|
|
ReplyID = "7456909132549857533";
|
|
|
|
File = "https://api.athenaeum.digital/test_data/song.m4a" ; // URL
|
|
FilePath = GetTempFileName("m4a"); // Path
|
|
|
|
CopyFile(File, FilePath);
|
|
|
|
FileBD = New BinaryData(FilePath); // Binary
|
|
|
|
Result = OPI_VKTeams.SendVoice(Token, ChatID, File);
|
|
|
|
Result = OPI_VKTeams.SendVoice(Token, ChatID, FilePath, , ReplyID);
|
|
|
|
Result = OPI_VKTeams.SendVoice(Token, ChatID, FileBD);
|