URL = "https://b24-ar17wx.bitrix24.by/rest/1/yg2..."; TaskID = "3056"; FileID = "16290"; Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID); URL = "b24-ar17wx.bitrix24.by"; Token = "6fa52667006e9f06006b12e400000001000..."; TaskID = "3058"; Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);