URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m..."; TaskID = "7884"; FileID = "42164"; Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID); URL = "b24-ar17wx.bitrix24.by"; Token = "75d8c668006e9f06006b12e400000001000..."; TaskID = "7886"; Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);