1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00

Тесты CLI для Dropbox

This commit is contained in:
Anton Titovets
2024-10-14 10:07:22 +03:00
parent f54be3bb1d
commit 10f8ec8351
737 changed files with 6844 additions and 3730 deletions
@@ -1,7 +1,7 @@
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
File = "https://api.athenaeum.digital/test_data/spy2.png"; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/spy2.png"; // URL
FilePath = GetTempFileName("png"); // Path
CopyFile(File, FilePath);
+1 -1
View File
@@ -1,5 +1,5 @@
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7424860889745984697";
MessageID = "7424418276186262625";
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);
+1 -1
View File
@@ -1,6 +1,6 @@
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7424860889745984697";
MessageID = "7424418276186262625";
Text = "New message text";
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);
+1 -1
View File
@@ -1,7 +1,7 @@
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FromChatID = "689203963@chat.agent";
MessageID = "7424860889745984697";
MessageID = "7424418276186262625";
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);
@@ -1,4 +1,4 @@
Token = "001.3501506236.091...";
FileID = "b4iRLUwWag0zlnIGRbmziy670a67cf1bd";
FileID = "vaFI6GPPHMw21IwjOd8bQ76708d5441bd";
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
+1 -1
View File
@@ -1,5 +1,5 @@
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7424860889745984697";
MessageID = "7424418276186262625";
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
+1 -1
View File
@@ -1,6 +1,6 @@
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "b4iRLUwWag0zlnIGRbmziy670a67cf1bd";
FileID = "vaFI6GPPHMw21IwjOd8bQ76708d5441bd";
Text = "File caption";
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text);
+1 -1
View File
@@ -1,5 +1,5 @@
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "I000b3qLXbT1dFg04yowf6670a67e21bd";
FileID = "I000bSf79DXZ6WLpkXR5ux67068fa41bd";
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
+1 -1
View File
@@ -2,7 +2,7 @@
ChatID = "AoLI0egLWBSLR1Ngn2w";
Text = "File caption";
File = "https://api.athenaeum.digital/test_data/document.docx"; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // URL
FilePath = GetTempFileName("docx"); // Path
CopyFile(File, FilePath);
+1 -1
View File
@@ -5,7 +5,7 @@
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text);
ChatID = "689203963@chat.agent";
ReplyID = "7424860889745984697";
ReplyID = "7424418276186262625";
Text = "<b>Bold text</b>";
Markup = "HTML";
+2 -2
View File
@@ -1,8 +1,8 @@
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
ReplyID = "7424860889745984697";
ReplyID = "7424418276186262625";
File = "https://api.athenaeum.digital/test_data/song.m4a" ; // URL
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.m4a" ; // URL
FilePath = GetTempFileName("m4a"); // Path
CopyFile(File, FilePath);
+1 -1
View File
@@ -1,5 +1,5 @@
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7424860889745984697";
MessageID = "7424418276186262625";
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);