You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "11197";
|
||||
Topic = "11208";
|
||||
|
||||
Result = OPI_Telegram.ClearThreadPinnedMessagesList(Token, Chat);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "11197";
|
||||
Topic = "11208";
|
||||
|
||||
Result = OPI_Telegram.CloseForumThread(Token, Chat); // Closes main topic
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "11197";
|
||||
Topic = "11208";
|
||||
|
||||
Result = OPI_Telegram.DeleteForumTopic(Token, Chat, Topic);
|
||||
|
||||
2
docs/en/examples/Telegram/DeleteMessage.txt
vendored
2
docs/en/examples/Telegram/DeleteMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "@testsichee";
|
||||
MessageID = "19999";
|
||||
MessageID = "20020";
|
||||
|
||||
Result = OPI_Telegram.DeleteMessage(Token, ChatID, MessageID);
|
||||
|
||||
2
docs/en/examples/Telegram/DownloadFile.txt
vendored
2
docs/en/examples/Telegram/DownloadFile.txt
vendored
@@ -1,4 +1,4 @@
|
||||
FileID = "CQACAgIAAx0EcNsaZQACTihotVy19BG8OfJeroIh8z_3_rjp4AACnXsAAsO6qUkMYnSqVYQTSzYE";
|
||||
FileID = "CQACAgIAAx0EcNsaZQACTj1otafA9qOMeepy5tr0PRhcriTDswACt4AAAsO6qUksrgZAK0QmsjYE";
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
|
||||
Result = OPI_Telegram.DownloadFile(Token, FileID);
|
||||
|
||||
2
docs/en/examples/Telegram/EditForumTopic.txt
vendored
2
docs/en/examples/Telegram/EditForumTopic.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "11197";
|
||||
Topic = "11208";
|
||||
NewName = "NewTestTitle";
|
||||
NewIcon = "5310132165583840589";
|
||||
|
||||
|
||||
2
docs/en/examples/Telegram/ForwardMessage.txt
vendored
2
docs/en/examples/Telegram/ForwardMessage.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "461699897";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "19999";
|
||||
MessageID = "20020";
|
||||
|
||||
Result = OPI_Telegram.ForwardMessage(Token, MessageID, ChannelID, ChatID);
|
||||
|
||||
2
docs/en/examples/Telegram/OpenForumTopic.txt
vendored
2
docs/en/examples/Telegram/OpenForumTopic.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "11197";
|
||||
Topic = "11208";
|
||||
|
||||
Result = OPI_Telegram.OpenForumThread(Token, Chat); // Opens main topic
|
||||
|
||||
|
||||
2
docs/en/examples/Telegram/PinMessage.txt
vendored
2
docs/en/examples/Telegram/PinMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "19999";
|
||||
MessageID = "20020";
|
||||
|
||||
Result = OPI_Telegram.PinMessage(Token, ChannelID, MessageID);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "461699897";
|
||||
MessageID = "15789";
|
||||
MessageID = "15805";
|
||||
|
||||
Description = "New picture description";
|
||||
Result = OPI_Telegram.ReplaceMessageCaption(Token, ChatID, MessageID, Description);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "461699897";
|
||||
MessageID = "15786";
|
||||
MessageID = "15802";
|
||||
|
||||
ButtonArray = New Array;
|
||||
ButtonArray.Add("New button 3");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "@testsichee";
|
||||
MessageID = "19999";
|
||||
MessageID = "20020";
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_Telegram.ReplaceMessageText(Token, ChatID, MessageID, Text);
|
||||
|
||||
2
docs/en/examples/Telegram/UnpinMessage.txt
vendored
2
docs/en/examples/Telegram/UnpinMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "19999";
|
||||
MessageID = "20020";
|
||||
|
||||
Result = OPI_Telegram.UnpinMessage(Token, ChannelID, MessageID);
|
||||
|
||||
2
docs/en/examples/VK/AddProduct.txt
vendored
2
docs/en/examples/VK/AddProduct.txt
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Binary or File path
|
||||
Image2 = "https://hut.openintegrations.dev/test_data/picture2.jpg"; // URL, Binary or File path
|
||||
Selection = "136";
|
||||
Selection = "137";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "4135";
|
||||
Property = "4154";
|
||||
OptionArray = New Array;
|
||||
OptionArray.Add("Yellow");
|
||||
OptionArray.Add("Blue");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "11761304";
|
||||
Selection = "136";
|
||||
Product = "11763275";
|
||||
Selection = "137";
|
||||
|
||||
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/CloseDiscussion.txt
vendored
2
docs/en/examples/VK/CloseDiscussion.txt
vendored
@@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "54086168";
|
||||
DiscussionID = "54086682";
|
||||
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);
|
||||
|
||||
4
docs/en/examples/VK/CreateAd.txt
vendored
4
docs/en/examples/VK/CreateAd.txt
vendored
@@ -1,9 +1,9 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
CampaignNumber = "1031536174";
|
||||
CampaignNumber = "1031537328";
|
||||
DailyLimit = 150;
|
||||
CategoryNumber = 126;
|
||||
PostID = "9269";
|
||||
PostID = "9279";
|
||||
AccountID = "1607951446";
|
||||
|
||||
Result = OPI_VK.CreateAd(CampaignNumber
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg";
|
||||
Image2 = "https://hut.openintegrations.dev/test_data/picture2.jpg";
|
||||
PropVariant1 = "7701";
|
||||
PropVariant2 = "7702";
|
||||
PropVariant1 = "7722";
|
||||
PropVariant2 = "7723";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
||||
2
docs/en/examples/VK/DeleteAlbum.txt
vendored
2
docs/en/examples/VK/DeleteAlbum.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
AlbumID = "309903969";
|
||||
AlbumID = "309910317";
|
||||
|
||||
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/DeleteCollection.txt
vendored
2
docs/en/examples/VK/DeleteCollection.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Selection = "136";
|
||||
Selection = "137";
|
||||
|
||||
Result = OPI_VK.DeleteSelection(Selection, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/DeletePost.txt
vendored
2
docs/en/examples/VK/DeletePost.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "9269";
|
||||
PostID = "9279";
|
||||
|
||||
Result = OPI_VK.DeletePost(PostID, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/DeleteProduct.txt
vendored
2
docs/en/examples/VK/DeleteProduct.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "11761304";
|
||||
Product = "11763275";
|
||||
|
||||
Result = OPI_VK.DeleteProduct(Product, Parameters);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "4135";
|
||||
Property = "4154";
|
||||
|
||||
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Option = "7701";
|
||||
Option = "7722";
|
||||
|
||||
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/EditProduct.txt
vendored
2
docs/en/examples/VK/EditProduct.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "11761304";
|
||||
Product = "11763275";
|
||||
|
||||
ProductDescription = New Map;
|
||||
ProductDescription.Insert("Name", "EditedTestProduct");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "EditedCollection";
|
||||
Selection = "136";
|
||||
Selection = "137";
|
||||
|
||||
Result = OPI_VK.EditProductCollection(Name, Selection, , , , Parameters);
|
||||
|
||||
2
docs/en/examples/VK/EditProductProperty.txt
vendored
2
docs/en/examples/VK/EditProductProperty.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "Color (change.)";
|
||||
Property = "4135";
|
||||
Property = "4154";
|
||||
|
||||
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "4135";
|
||||
Option = "7701";
|
||||
Property = "4154";
|
||||
Option = "7722";
|
||||
Value = "New variant name";
|
||||
|
||||
Result = OPI_VK.EditProductPropertyVariant(Value, Property, Option, Parameters);
|
||||
|
||||
4
docs/en/examples/VK/GetProductsByID.txt
vendored
4
docs/en/examples/VK/GetProductsByID.txt
vendored
@@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "11761312";
|
||||
Item2 = "11761313";
|
||||
Item1 = "11763281";
|
||||
Item2 = "11763284";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
||||
2
docs/en/examples/VK/GetSelectionsByID.txt
vendored
2
docs/en/examples/VK/GetSelectionsByID.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
Selection = "136";
|
||||
Selection = "137";
|
||||
|
||||
Result = OPI_VK.GetSelectionsByID(Selection, Parameters);
|
||||
|
||||
4
docs/en/examples/VK/GroupProducts.txt
vendored
4
docs/en/examples/VK/GroupProducts.txt
vendored
@@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "11761312";
|
||||
Item2 = "11761313";
|
||||
Item1 = "11763281";
|
||||
Item2 = "11763284";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
||||
2
docs/en/examples/VK/LikePost.txt
vendored
2
docs/en/examples/VK/LikePost.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "9269";
|
||||
PostID = "9279";
|
||||
|
||||
Result = OPI_VK.LikePost(PostID, , Parameters);
|
||||
|
||||
2
docs/en/examples/VK/OpenDiscussion.txt
vendored
2
docs/en/examples/VK/OpenDiscussion.txt
vendored
@@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "54086168";
|
||||
DiscussionID = "54086682";
|
||||
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/PostToDiscussion.txt
vendored
2
docs/en/examples/VK/PostToDiscussion.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "54086168";
|
||||
DiscussionID = "54086682";
|
||||
Message = "I like yellow more";
|
||||
|
||||
Result = OPI_VK.WriteInDiscussion(DiscussionID, Message, Parameters);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "11761304";
|
||||
Selection = "136";
|
||||
Product = "11763275";
|
||||
Selection = "137";
|
||||
|
||||
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/SavePictureToAlbum.txt
vendored
2
docs/en/examples/VK/SavePictureToAlbum.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageDescription = "AutoTestImage";
|
||||
AlbumID = "309903969";
|
||||
AlbumID = "309910317";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, File path or Binary Data
|
||||
TFN = GetTempFileName("png");
|
||||
|
||||
2
docs/en/examples/VK/WriteComment.txt
vendored
2
docs/en/examples/VK/WriteComment.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
Text = "NewComment";
|
||||
PostID = "9269";
|
||||
PostID = "9279";
|
||||
WallID = Parameters["owner_id"];
|
||||
|
||||
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);
|
||||
|
||||
2
docs/en/examples/VKTeams/DeleteMessage.txt
vendored
2
docs/en/examples/VKTeams/DeleteMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7545052422788364692";
|
||||
MessageID = "7545164542909626792";
|
||||
|
||||
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);
|
||||
|
||||
2
docs/en/examples/VKTeams/EditMessageText.txt
vendored
2
docs/en/examples/VKTeams/EditMessageText.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7545052422788364692";
|
||||
MessageID = "7545164542909626792";
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);
|
||||
|
||||
2
docs/en/examples/VKTeams/ForwardMessage.txt
vendored
2
docs/en/examples/VKTeams/ForwardMessage.txt
vendored
@@ -1,7 +1,7 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FromChatID = "689203963@chat.agent";
|
||||
MessageID = "7545052422788364692";
|
||||
MessageID = "7545164542909626792";
|
||||
|
||||
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "001.3501506236.091...";
|
||||
FileID = "vTf1dBa6vzW7zPvuxkZXFm68b5695f1bd";
|
||||
FileID = "cpn1c1fb5o0jJs4XqMX1vy68b5cf5e1bd";
|
||||
|
||||
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
|
||||
|
||||
2
docs/en/examples/VKTeams/PinMessage.txt
vendored
2
docs/en/examples/VKTeams/PinMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7545052422788364692";
|
||||
MessageID = "7545164542909626792";
|
||||
|
||||
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
|
||||
|
||||
2
docs/en/examples/VKTeams/ResendFile.txt
vendored
2
docs/en/examples/VKTeams/ResendFile.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FileID = "vTf1dBa6vzW7zPvuxkZXFm68b5695f1bd";
|
||||
FileID = "cpn1c1fb5o0jJs4XqMX1vy68b5cf5e1bd";
|
||||
Text = "File caption";
|
||||
|
||||
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text);
|
||||
|
||||
2
docs/en/examples/VKTeams/ResendVoice.txt
vendored
2
docs/en/examples/VKTeams/ResendVoice.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FileID = "I000bjiruPu2ndBOmJ3DQA68b569691bd";
|
||||
FileID = "I000bxEy98V9yePQkITrsH68b5cf741bd";
|
||||
|
||||
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
|
||||
|
||||
2
docs/en/examples/VKTeams/SendTextMessage.txt
vendored
2
docs/en/examples/VKTeams/SendTextMessage.txt
vendored
@@ -5,7 +5,7 @@
|
||||
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text);
|
||||
|
||||
ChatID = "689203963@chat.agent";
|
||||
ReplyID = "7545052422788364692";
|
||||
ReplyID = "7545164542909626792";
|
||||
Text = "<b>Bold text</b>";
|
||||
Markup = "HTML";
|
||||
|
||||
|
||||
2
docs/en/examples/VKTeams/SendVoice.txt
vendored
2
docs/en/examples/VKTeams/SendVoice.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
ReplyID = "7545052422788364692";
|
||||
ReplyID = "7545164542909626792";
|
||||
|
||||
File = "https://hut.openintegrations.dev/test_data/song.m4a"; // URL
|
||||
FilePath = GetTempFileName("m4a"); // Path
|
||||
|
||||
2
docs/en/examples/VKTeams/UnpinMessage.txt
vendored
2
docs/en/examples/VKTeams/UnpinMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "689203963@chat.agent";
|
||||
MessageID = "7545052422788364692";
|
||||
MessageID = "7545164542909626792";
|
||||
|
||||
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
|
||||
|
||||
Reference in New Issue
Block a user