You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
Исправления twitter
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
|
||||
File = "https://openyellow.neocities.org/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,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7422671203749333900";
|
||||
|
||||
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7422671203749333900";
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FromChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7422671203749333900";
|
||||
|
||||
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "001.3501506236.091...";
|
||||
FileID = "Z7w4zb94bLtkJDICBfzVuG66f69e921bd";
|
||||
FileID = "lFDgaMXRcv7ZpAAAlt7xHA6702a04d1bd";
|
||||
|
||||
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7422671203749333900";
|
||||
|
||||
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FileID = "Z7w4zb94bLtkJDICBfzVuG66f69e921bd";
|
||||
FileID = "lFDgaMXRcv7ZpAAAlt7xHA6702a04d1bd";
|
||||
Text = "File caption";
|
||||
|
||||
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text, "SameDoc.docx");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FileID = "I000bknkWbWwh8Fy0kkt9l66f69ea61bd";
|
||||
FileID = "I000bASHKGJX3psxNA8Ush6702a05f1bd";
|
||||
|
||||
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
Text = "File caption";
|
||||
|
||||
File = "https://openyellow.neocities.org/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);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text);
|
||||
|
||||
ChatID = "689203963@chat.agent";
|
||||
ReplyID = "7419291601358293295";
|
||||
ReplyID = "7422671203749333900";
|
||||
Text = "<b>Bold text</b>";
|
||||
Markup = "HTML";
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
ReplyID = "7419291601358293295";
|
||||
ReplyID = "7422671203749333900";
|
||||
Text = "File caption";
|
||||
|
||||
File = "https://openyellow.neocities.org/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,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7419291601358293295";
|
||||
MessageID = "7422671203749333900";
|
||||
|
||||
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
|
||||
|
||||
Reference in New Issue
Block a user