Text = "New post text"; Title = "New post title"; Image1 = FunctionParameters["Picture"]; // URL, Path or Binary Data PostID = FunctionParameters["Bitrix24_PostID"]; Files = New Map; Files.Insert("1.png", Image1); URL = FunctionParameters["Bitrix24_URL"]; Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title); OPI_TestDataRetrieval.WriteLog(Result, "UpdatePost (wh)", "Bitrix24"); URL = FunctionParameters["Bitrix24_Domain"]; Token = FunctionParameters["Bitrix24_Token"]; PostID = FunctionParameters["Bitrix24_HookPostID"]; Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);