URL = FunctionParameters["Bitrix24_URL"]; FolderID = FunctionParameters["Bitrix24_FolderID"]; Result = OPI_Bitrix24.RestoreFolder(URL, FolderID); URL = FunctionParameters["Bitrix24_Domain"]; Token = FunctionParameters["Bitrix24_Token"]; Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);