1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/CreatePost.txt

18 lines
592 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 Text = "Text of post";
Title = "Post title";
2025-10-20 19:41:52 +03:00
Image1 = FunctionParameters["Picture"]; // URL, Path or Binary Data
Image2 = FunctionParameters["Picture2"]; // URL, Path or Binary Data
2025-07-06 01:01:25 +03:00
Files = New Map;
Files.Insert("1.png", Image1);
Files.Insert("2.png", Image2);
2025-10-20 19:41:52 +03:00
URL = FunctionParameters["Bitrix24_URL"];
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
2025-10-20 19:41:52 +03:00
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);