mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-21 01:50:24 +02:00
14 lines
481 B
Plaintext
14 lines
481 B
Plaintext
|
Text = "Comment for post";
|
||
|
PostID = FunctionParameters["Bitrix24_PostID"];
|
||
|
URL = FunctionParameters["Bitrix24_URL"];
|
||
|
|
||
|
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||
|
|
||
|
OPI_TestDataRetrieval.WriteLog(Result, "AddPostComment (wh)", "Bitrix24");
|
||
|
|
||
|
Text = "Another comment";
|
||
|
URL = FunctionParameters["Bitrix24_Domain"];
|
||
|
Token = FunctionParameters["Bitrix24_Token"];
|
||
|
|
||
|
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|