1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-09-01 20:11:52 +03:00
parent a02e43334c
commit fa3ecdbbe5
191 changed files with 9165 additions and 9091 deletions

View File

@@ -1,5 +1,5 @@
 Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Topic = "11197";
Topic = "11208";
Result = OPI_Telegram.ClearThreadPinnedMessagesList(Token, Chat);

View File

@@ -1,6 +1,6 @@
 Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Topic = "11197";
Topic = "11208";
Result = OPI_Telegram.CloseForumThread(Token, Chat); // Closes main topic

View File

@@ -1,5 +1,5 @@
 Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Topic = "11197";
Topic = "11208";
Result = OPI_Telegram.DeleteForumTopic(Token, Chat, Topic);

View File

@@ -1,5 +1,5 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Result = OPI_Telegram.DeleteMessage(Token, ChatID, MessageID);

View File

@@ -1,4 +1,4 @@
 FileID = "CQACAgIAAx0EcNsaZQACTihotVy19BG8OfJeroIh8z_3_rjp4AACnXsAAsO6qUkMYnSqVYQTSzYE";
 FileID = "CQACAgIAAx0EcNsaZQACTj1otafA9qOMeepy5tr0PRhcriTDswACt4AAAsO6qUksrgZAK0QmsjYE";
Token = "6129457865:AAFyzNYOAFbu...";
Result = OPI_Telegram.DownloadFile(Token, FileID);

View File

@@ -1,6 +1,6 @@
 Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Topic = "11197";
Topic = "11208";
NewName = "NewTestTitle";
NewIcon = "5310132165583840589";

View File

@@ -1,6 +1,6 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Result = OPI_Telegram.ForwardMessage(Token, MessageID, ChannelID, ChatID);

View File

@@ -1,6 +1,6 @@
 Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Topic = "11197";
Topic = "11208";
Result = OPI_Telegram.OpenForumThread(Token, Chat); // Opens main topic

View File

@@ -1,5 +1,5 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChannelID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Result = OPI_Telegram.PinMessage(Token, ChannelID, MessageID);

View File

@@ -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);

View File

@@ -1,6 +1,6 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
MessageID = "15786";
MessageID = "15802";
ButtonArray = New Array;
ButtonArray.Add("New button 3");

View File

@@ -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);

View File

@@ -1,5 +1,5 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChannelID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Result = OPI_Telegram.UnpinMessage(Token, ChannelID, MessageID);

View File

@@ -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);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Property = "4135";
Property = "4154";
OptionArray = New Array;
OptionArray.Add("Yellow");
OptionArray.Add("Blue");

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "11761304";
Selection = "136";
Product = "11763275";
Selection = "137";
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);

View File

@@ -1,3 +1,3 @@
 Parameters = GetVKParameters();
DiscussionID = "54086168";
DiscussionID = "54086682";
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);

View File

@@ -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

View File

@@ -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);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
AlbumID = "309903969";
AlbumID = "309910317";
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Selection = "136";
Selection = "137";
Result = OPI_VK.DeleteSelection(Selection, Parameters);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
PostID = "9269";
PostID = "9279";
Result = OPI_VK.DeletePost(PostID, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Product = "11761304";
Product = "11763275";
Result = OPI_VK.DeleteProduct(Product, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Property = "4135";
Property = "4154";
Result = OPI_VK.DeleteProductProperty(Property, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Option = "7701";
Option = "7722";
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "11761304";
Product = "11763275";
ProductDescription = New Map;
ProductDescription.Insert("Name", "EditedTestProduct");

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Name = "EditedCollection";
Selection = "136";
Selection = "137";
Result = OPI_VK.EditProductCollection(Name, Selection, , , , Parameters);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Name = "Color (change.)";
Property = "4135";
Property = "4154";
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);

View File

@@ -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);

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "11761312";
Item2 = "11761313";
Item1 = "11763281";
Item2 = "11763284";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
Selection = "136";
Selection = "137";
Result = OPI_VK.GetSelectionsByID(Selection, Parameters);

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "11761312";
Item2 = "11761313";
Item1 = "11763281";
Item2 = "11763284";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
PostID = "9269";
PostID = "9279";
Result = OPI_VK.LikePost(PostID, , Parameters);

View File

@@ -1,3 +1,3 @@
 Parameters = GetVKParameters();
DiscussionID = "54086168";
DiscussionID = "54086682";
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
DiscussionID = "54086168";
DiscussionID = "54086682";
Message = "I like yellow more";
Result = OPI_VK.WriteInDiscussion(DiscussionID, Message, Parameters);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "11761304";
Selection = "136";
Product = "11763275";
Selection = "137";
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);

View File

@@ -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");

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Text = "NewComment";
PostID = "9269";
PostID = "9279";
WallID = Parameters["owner_id"];
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);

View File

@@ -1,5 +1,5 @@
 Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7545052422788364692";
MessageID = "7545164542909626792";
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);

View File

@@ -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);

View File

@@ -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);

View File

@@ -1,4 +1,4 @@
 Token = "001.3501506236.091...";
FileID = "vTf1dBa6vzW7zPvuxkZXFm68b5695f1bd";
FileID = "cpn1c1fb5o0jJs4XqMX1vy68b5cf5e1bd";
Result = OPI_VKTeams.GetFileInformation(Token, FileID);

View File

@@ -1,5 +1,5 @@
 Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7545052422788364692";
MessageID = "7545164542909626792";
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);

View File

@@ -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);

View File

@@ -1,5 +1,5 @@
 Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "I000bjiruPu2ndBOmJ3DQA68b569691bd";
FileID = "I000bxEy98V9yePQkITrsH68b5cf741bd";
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);

View File

@@ -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";

View File

@@ -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

View File

@@ -1,5 +1,5 @@
 Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7545052422788364692";
MessageID = "7545164542909626792";
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);

View File

@@ -35,7 +35,7 @@ Method at API documentation: [pinChatMessage](https://core.telegram.org/bots/api
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChannelID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Result = OPI_Telegram.PinMessage(Token, ChannelID, MessageID);
```

View File

@@ -35,7 +35,7 @@ Method at API documentation: [unpinChatMessage](https://core.telegram.org/bots/a
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChannelID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Result = OPI_Telegram.UnpinMessage(Token, ChannelID, MessageID);
```

View File

@@ -32,7 +32,7 @@ Method at API documentation: [getFile](https://core.telegram.org/bots/api#getfil
```bsl title="1C:Enterprise/OneScript code example"
FileID = "CQACAgIAAx0EcNsaZQACTihotVy19BG8OfJeroIh8z_3_rjp4AACnXsAAsO6qUkMYnSqVYQTSzYE";
FileID = "CQACAgIAAx0EcNsaZQACTj1otafA9qOMeepy5tr0PRhcriTDswACt4AAAsO6qUksrgZAK0QmsjYE";
Token = "6129457865:AAFyzNYOAFbu...";
Result = OPI_Telegram.DownloadFile(Token, FileID);

View File

@@ -35,7 +35,7 @@ Method at API documentation: [deleteMessage](https://core.telegram.org/bots/api#
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Result = OPI_Telegram.DeleteMessage(Token, ChatID, MessageID);
```

View File

@@ -37,7 +37,7 @@ Method at API documentation: [forwardMessage](https://core.telegram.org/bots/api
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Result = OPI_Telegram.ForwardMessage(Token, MessageID, ChannelID, ChatID);
```

View File

@@ -37,7 +37,7 @@ Method at API documentation: [editMessageCaption](https://core.telegram.org/bots
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
MessageID = "15789";
MessageID = "15805";
Description = "New picture description";
Result = OPI_Telegram.ReplaceMessageCaption(Token, ChatID, MessageID, Description);

View File

@@ -36,7 +36,7 @@ Method at API documentation: [editMessageReplyMarkup](https://core.telegram.org/
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
MessageID = "15786";
MessageID = "15802";
ButtonArray = New Array;
ButtonArray.Add("New button 3");

View File

@@ -37,7 +37,7 @@ Method at API documentation: [editMessageText](https://core.telegram.org/bots/ap
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "@testsichee";
MessageID = "19999";
MessageID = "20020";
Text = "New message text";
Result = OPI_Telegram.ReplaceMessageText(Token, ChatID, MessageID, Text);

View File

@@ -35,7 +35,7 @@ Method at API documentation: [deleteForumTopic](https://core.telegram.org/bots/a
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Topic = "11197";
Topic = "11208";
Result = OPI_Telegram.DeleteForumTopic(Token, Chat, Topic);
```

View File

@@ -37,7 +37,7 @@ Method at API documentation: [editForumTopic](https://core.telegram.org/bots/api
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Topic = "11197";
Topic = "11208";
NewName = "NewTestTitle";
NewIcon = "5310132165583840589";

View File

@@ -34,10 +34,10 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
CampaignNumber = "1031536174";
CampaignNumber = "1031537328";
DailyLimit = 150;
CategoryNumber = 126;
PostID = "9269";
PostID = "9279";
AccountID = "1607951446";
Result = OPI_VK.CreateAd(CampaignNumber

View File

@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
AlbumID = "309903969";
AlbumID = "309910317";
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);
```

View File

@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
PostID = "9269";
PostID = "9279";
Result = OPI_VK.DeletePost(PostID, Parameters);
```

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
DiscussionID = "54086168";
DiscussionID = "54086682";
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);
```

View File

@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
DiscussionID = "54086168";
DiscussionID = "54086682";
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);
```

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
PostID = "9269";
PostID = "9279";
Result = OPI_VK.LikePost(PostID, , Parameters);
```

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Text = "NewComment";
PostID = "9269";
PostID = "9279";
WallID = Parameters["owner_id"];
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);

View File

@@ -33,7 +33,7 @@ import TabItem from '@theme/TabItem';
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);

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Product = "11761304";
Product = "11763275";
Result = OPI_VK.DeleteProduct(Product, Parameters);
```

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Product = "11761304";
Product = "11763275";
ProductDescription = New Map;
ProductDescription.Insert("Name", "EditedTestProduct");

View File

@@ -30,8 +30,8 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Item1 = "11761312";
Item2 = "11761313";
Item1 = "11763281";
Item2 = "11763284";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@@ -31,8 +31,8 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Item1 = "11761312";
Item2 = "11761313";
Item1 = "11763281";
Item2 = "11763284";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Property = "4135";
Property = "4154";
OptionArray = New Array;
OptionArray.Add("Yellow");
OptionArray.Add("Blue");

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Option = "7701";
Option = "7722";
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
```

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Property = "4135";
Property = "4154";
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
```

View File

@@ -32,8 +32,8 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Property = "4135";
Option = "7701";
Property = "4154";
Option = "7722";
Value = "New variant name";
Result = OPI_VK.EditProductPropertyVariant(Value, Property, Option, Parameters);

View File

@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
Parameters = GetVKParameters();
Name = "Color (change.)";
Property = "4135";
Property = "4154";
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);
```

View File

@@ -31,8 +31,8 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Product = "11761304";
Selection = "136";
Product = "11763275";
Selection = "137";
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);
```

View File

@@ -39,7 +39,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
Parameters = GetVKParameters();
Name = "EditedCollection";
Selection = "136";
Selection = "137";
Result = OPI_VK.EditProductCollection(Name, Selection, , , , Parameters);
```

View File

@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Parameters = GetVKParameters();
Selection = "136";
Selection = "137";
Result = OPI_VK.GetSelectionsByID(Selection, Parameters);
```

View File

@@ -33,7 +33,7 @@ Method at API documentation: [GET /files/getInfo](https://teams.vk.com/botapi/#/
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
FileID = "vTf1dBa6vzW7zPvuxkZXFm68b5695f1bd";
FileID = "cpn1c1fb5o0jJs4XqMX1vy68b5cf5e1bd";
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
```

View File

@@ -35,7 +35,7 @@ Method at API documentation: [GET /messages/deleteMessages](https://teams.vk.com
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7545052422788364692";
MessageID = "7545164542909626792";
Result = OPI_VKTeams.DeleteMessage(Token, ChatID, MessageID);
```

View File

@@ -39,7 +39,7 @@ Method at API documentation: [GET /messages/editText](https://teams.vk.com/botap
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7545052422788364692";
MessageID = "7545164542909626792";
Text = "New message text";
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);

View File

@@ -40,7 +40,7 @@ Method at API documentation: [GET /messages/sendText](https://teams.vk.com/botap
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FromChatID = "689203963@chat.agent";
MessageID = "7545052422788364692";
MessageID = "7545164542909626792";
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);

View File

@@ -37,7 +37,7 @@ Method at API documentation: [GET /chats/pinMessage](https://teams.vk.com/botapi
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7545052422788364692";
MessageID = "7545164542909626792";
Result = OPI_VKTeams.PinMessage(Token, ChatID, MessageID);
```

View File

@@ -37,7 +37,7 @@ Method at API documentation: [GET /messages/sendFile](https://teams.vk.com/botap
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "vTf1dBa6vzW7zPvuxkZXFm68b5695f1bd";
FileID = "cpn1c1fb5o0jJs4XqMX1vy68b5cf5e1bd";
Text = "File caption";
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text);

View File

@@ -35,7 +35,7 @@ Method at API documentation: [GET /messages/sendVoice](https://teams.vk.com/bota
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
FileID = "I000bjiruPu2ndBOmJ3DQA68b569691bd";
FileID = "I000bxEy98V9yePQkITrsH68b5cf741bd";
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
```

View File

@@ -45,7 +45,7 @@ Method at API documentation: [GET /messages/sendText](https://teams.vk.com/botap
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text);
ChatID = "689203963@chat.agent";
ReplyID = "7545052422788364692";
ReplyID = "7545164542909626792";
Text = "<b>Bold text</b>";
Markup = "HTML";

View File

@@ -42,7 +42,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
```bsl title="1C:Enterprise/OneScript code example"
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

View File

@@ -37,7 +37,7 @@ Method at API documentation: [GET /chats/unpinMessage](https://teams.vk.com/bota
```bsl title="1C:Enterprise/OneScript code example"
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
MessageID = "7545052422788364692";
MessageID = "7545164542909626792";
Result = OPI_VKTeams.UnpinMessage(Token, ChatID, MessageID);
```

View File

@@ -1,5 +1,5 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
IDКанала = "@testsichee";
IDСообщения = "19999";
IDСообщения = "20020";
Результат = OPI_Telegram.ЗакрепитьСообщение(Токен, IDКанала, IDСообщения);

View File

@@ -1,6 +1,6 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
Чат = "-1001971186208";
Тема = "11197";
Тема = "11208";
Результат = OPI_Telegram.ЗакрытьТемуФорума(Токен, Чат); // Закрывает главную тему

View File

@@ -1,6 +1,6 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
IDЧата = "461699897";
IDСообщения = "15786";
IDСообщения = "15802";
МассивКнопок = Новый Массив;
МассивКнопок.Добавить("Новая кнопка 1");

View File

@@ -1,6 +1,6 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
IDЧата = "461699897";
IDСообщения = "15789";
IDСообщения = "15805";
Описание = "Новое описание картинки";
Результат = OPI_Telegram.ЗаменитьОписаниеСообщения(Токен, IDЧата, IDСообщения, Описание);

View File

@@ -1,6 +1,6 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
IDЧата = "@testsichee";
IDСообщения = "19999";
IDСообщения = "20020";
Текст = "Новый текст сообщения";
Результат = OPI_Telegram.ЗаменитьТекстСообщения(Токен, IDЧата, IDСообщения, Текст);

View File

@@ -1,6 +1,6 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
Чат = "-1001971186208";
Тема = "11197";
Тема = "11208";
НовоеИмя = "Новый тестовый заголовок";
НовяИконка = "5310132165583840589";

View File

@@ -1,5 +1,5 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
IDКанала = "@testsichee";
IDСообщения = "19999";
IDСообщения = "20020";
Результат = OPI_Telegram.ОткрепитьСообщение(Токен, IDКанала, IDСообщения);

View File

@@ -1,6 +1,6 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
Чат = "-1001971186208";
Тема = "11197";
Тема = "11208";
Результат = OPI_Telegram.ОткрытьТемуФорума(Токен, Чат); // Открывает главную тему

View File

@@ -1,5 +1,5 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
Чат = "-1001971186208";
Тема = "11197";
Тема = "11208";
Результат = OPI_Telegram.ОчиститьСписокЗакрепленныхСообщенийТемы(Токен, Чат);

View File

@@ -1,6 +1,6 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
IDЧата = "461699897";
IDКанала = "@testsichee";
IDСообщения = "19999";
IDСообщения = "20020";
Результат = OPI_Telegram.ПереслатьСообщение(Токен, IDСообщения, IDКанала, IDЧата);

View File

@@ -1,4 +1,4 @@
 IDФайла = "CQACAgIAAx0EcNsaZQACTihotVy19BG8OfJeroIh8z_3_rjp4AACnXsAAsO6qUkMYnSqVYQTSzYE";
 IDФайла = "CQACAgIAAx0EcNsaZQACTj1otafA9qOMeepy5tr0PRhcriTDswACt4AAAsO6qUksrgZAK0QmsjYE";
Токен = "6129457865:AAFyzNYOAFbu...";
Результат = OPI_Telegram.СкачатьФайл(Токен, IDФайла);

View File

@@ -1,5 +1,5 @@
 Токен = "6129457865:AAFyzNYOAFbu...";
IDЧата = "@testsichee";
IDСообщения = "19999";
IDСообщения = "20020";
Результат = OPI_Telegram.УдалитьСообщение(Токен, IDЧата, IDСообщения);

Some files were not shown because too many files have changed in this diff Show More