Поддержка серверов

IM: методы, функции, константы класса Битрикс


Блог разработчика

9 августа 2016 ResizeImageGet и простой водяной знак налету

Сегодня поговорим о том как проще всего воткнуть водяной знак на картинки в Битрикс. Например, на все изображения каталога.

21 июля 2016 Добавление вкладки в CRM коробки Битрикс24

В этом посте я покажу, как легко и просто добавить вкладку в сущность CRM. И не просто добавить, а вывести там свой контент.

21 июля 2016 Как просто обращаться из коробки Битрикс24 на сайт на базе Битрикс

К примеру вам хочется внутренним скриптом дернуть с сайта-магазина информацию, которая там, в свою очередь, закрыта некоторыми правами. Например, админскими. Можно конечно мутить свой REST, или иной формат общения, но проще всего воспользоваться штатным инструментом:

События модуля im

СобытиеВызывается
OnAfterContactListGetListCIMContactList::GetList
OnGetNotifySchemaCIMNotifySchema::GetNotifySchema
OnAfterChatReadCIMChat::SetReadMessage
OnChatRenameCIMChat::Rename
OnBeforeConfirmNotifyCIMNotify::Confirm
OnAfterConfirmNotifyCIMNotify::Confirm
OnAnswerNotifyCIMNotify::Answer
OnAfterDeleteNotifyCIMNotify::Delete
OnCallStartCIMCall::Invite
OnAfterFileUploadCIMDisk::UploadFile
OnBeforeMessageNotifyAddCIMMessenger::Add
OnAfterMessagesAddMessageHandler::afterInsertTrigger
OnBeforeChatMessageAddCIMMessenger::Add
OnAfterNotifyAddCIMMessenger::Add
OnAfterMessagesUpdateMessageHandler::afterUpdateTrigger
OnAfterMessagesDeleteCIMMessenger::Delete
OnSessionVoteCIMMessenger::LinesSessionVote
OnAfterMessagesLikeCIMMessenger::Like
OnStartWritingCIMMessenger::StartWriting
OnAfterUserReadCIMMessage::SetReadMessage

Константы модуля im

КонстантаПроверяется
BX_COMP_MANAGED_CACHECIMStatus::SetColor
LANGUAGE_IDCIMContactList::GetUserNameTemplate
SITE_IDCIMEvent::OnAddRatingVote
SITE_SERVER_NAMECommon::getPublicDomain

Список функций и методов модуля im

Метод
CIMMessageParam::Set($messageId, $params = Array())
CIMMessageParam::UpdateTimestamp($messageId, $chatId = 0)
CIMMessageParam::SendPull($messageId, $sendExtraParams = true)
CIMMessageParam::DeleteAll($messageId)
CIMMessageParam::Get($messageId, $paramName = false, $withDefault = false)
CIMMessageParam::GetMessageIdByParam($paramName, $paramValue, $chatId = null)
CIMMessageParam::PrepareValues($values, $withDefault = false)
CIMMessageParam::GetDefault()
CIMMessageParamAttach::__construct($id = null, $color = null)
CIMMessageParamAttach::AddUser($params)
CIMMessageParamAttach::AddChat($params)
CIMMessageParamAttach::AddBot($params)
CIMMessageParamAttach::AddLink($params)
CIMMessageParamAttach::AddRichLink($params)
CIMMessageParamAttach::AddHtml($html)
CIMMessageParamAttach::AddMessage($message)
CIMMessageParamAttach::AddGrid($params)
CIMMessageParamAttach::AddImages($params)
CIMMessageParamAttach::AddFiles($params)
CIMMessageParamAttach::AddDelimiter($params = Array())
CIMMessageParamAttach::decodeBbCode($message)
CIMMessageParamAttach::GetAttachByJson($array)
CIMMessageParamAttach::PrepareAttach($attach)
CIMMessageParamAttach::IsEmpty()
CIMMessageParamAttach::IsAllowSize()
CIMMessageParamAttach::SetId($id)
CIMMessageParamAttach::GetId()
CIMMessageParamAttach::GetArray()
CIMMessageParamAttach::GetJSON()
CIMMessageLink::prepareInsert($text)
CIMMessageLink::prepareUrlObjects($params)
CIMMessageLink::prepareShow($arMessages, $params)
CIMMessageLink::getAttachments($id, $typeArray = false)
CIMMessageLink::formatAttach($linkParam)
CIMMessageLink::isLinkOnly()
CIMMessageLink::result()
CIMContactList::__construct($user_id = false)
CIMContactList::GetList($arParams = Array())
CIMContactList::CleanChatCache($userId)
CIMContactList::CleanAllChatCache()
CIMContactList::SearchUsers($searchText)
CIMContactList::AllowToSend($arParams)
CIMContactList::GetUserData($arParams = Array())
CIMContactList::SetOnline($userId = null, $cache = true)
CIMContactList::SetOffline($userId = null)
CIMContactList::SetCurrentTab($userId)
CIMContactList::InRecent($userId, $type, $itemId)
CIMContactList::SetRecent($arParams)
CIMContactList::DeleteRecent($entityId, $isChat = false, $userId = false)
CIMContactList::DialogHide($dialogId, $userId = null)
CIMContactList::ClearRecentCache($userId = null)
CIMContactList::GetRecentList($arParams = Array())
CIMContactList::GetRecentListSortCounter($counter)
CIMContactList::GetRecentListSortMessage($recent)
CIMContactList::IsExtranet($arUser)
CIMContactList::GetUserPath($userId = false)
CIMContactList::GetUserNameTemplate($siteId = false, $langId = false, $getDefault = false)
CIMContactList::GetUserColor($id, $gender)
CIMContactList::PrepareUserId($id, $searchMark = '')
CIMContactList::formatAbsentResult($userId)
CIMContactList::PrepareUserIds($userIds, $searchMark = '')
CIMNotifySchema::__construct()
CIMNotifySchema::GetNotifySchema()
CIMNotifySchema::CheckDisableFeature($moduleId, $notifyEvent, $feature)
CIMNotifySchema::GetDefaultFeature($moduleId, $notifyEvent, $feature)
CIMNotifySchema::GetLifetime($moduleId, $notifyEvent)
CIMNotifySchema::OnGetNotifySchema()
CIMEvent::OnFileDelete($params)
CIMEvent::OnBeforeUserSendPassword($params)
CIMEvent::OnAddRatingVote($id, $arParams)
CIMEvent::OnCancelRatingVote($id, $arParams)
CIMEvent::GetMessageRatingVote($arParams, $bForMail = false)
CIMEvent::GetMessageRatingEntityURL($url, $user_id = false, $arSites = false, $intranet_site_id = false, $extranet_site_id = false)
CIMEvent::GetMessageRatingLogCommentURL($arComment, $user_id = false, $arSites = false, $intranet_site_id = false, $extranet_site_id = false)
CIMEvent::OnAfterUserAdd($arParams)
CIMEvent::OnAfterUserUpdate($arParams)
CIMEvent::OnUserDelete($ID)
CIMEvent::OnGetDependentModule()
DesktopApplication::OnApplicationsBuildList()
CIMConvert::__construct()
CIMConvert::RecentList()
CIMConvert::DeliveredMessage($step = 100, $maxExecutionTime = 10)
CIMConvert::UndeliveredMessageAgent()
CIMConvert::ConvertCount()
CIMHistory::__construct($user_id = false, $arParams = Array())
CIMHistory::SearchMessage($searchText, $toUserId, $fromUserId = false, $bTimeZone = true)
CIMHistory::SearchDateMessage($searchDate, $toUserId, $fromUserId = false, $bTimeZone = true)
CIMHistory::GetMoreMessage($pageId, $toUserId, $fromUserId = false, $bTimeZone = true)
CIMHistory::RemoveMessage($messageId)
CIMHistory::RemoveAllMessage($userId)
CIMHistory::HideAllChatMessage($chatId)
CIMHistory::SearchChatMessage($searchText, $chatId, $bTimeZone = true)
CIMHistory::SearchDateChatMessage($searchDate, $chatId, $bTimeZone = true)
CIMHistory::GetMoreChatMessage($pageId, $chatId, $bTimeZone = true)
CIMHistory::GetMessagesByDate($chatId, $date, $messageStart = 0, $timezone = true)
CIMHistory::GetRelatedMessages($messageId, $previous = 10, $next = 10, $timezone = true, $textParser = true)
CIMHistory::GetPreviousMessages($messageId, $chatId = null, $dateCreate = null, $limit = 10, $timezone = true)
CIMHistory::GetNextMessages($messageId, $chatId = null, $dateCreate = null, $limit = 10, $timezone = true)
CIMChat::__construct($user_id = null, $arParams = Array())
CIMChat::GetMessage($ID)
CIMChat::GetLastMessage($toChatId, $fromUserId = false, $loadExtraData = false, $bTimeZone = true, $limit = true)
CIMChat::GetLastMessageLimit($chatId, $messageStartId, $messageEndId = 0, $loadExtraData = false, $bTimeZone = true, $order = 'DESC')
CIMChat::getChatType($chatData)
CIMChat::GetLastSendMessage($arParams)
CIMChat::GetRelationById($ID, $userId = false)
CIMChat::GetPersonalChat()
CIMChat::GetPrivateRelation($fromUserId, $toUserId)
CIMChat::GetGeneralChatId()
CIMChat::InstallGeneralChat($agentMode = false)
CIMChat::GetGeneralChatAutoMessageStatus($type)
CIMChat::CanSendMessageToGeneralChat($userId)
CIMChat::SetAccessToGeneralChat($allowAll = true, $allowCodes = Array())
CIMChat::CanJoinGeneralChatId($userId)
CIMChat::linkGeneralChatId($chatId)
CIMChat::UnlinkGeneralChatId()
CIMChat::GetChatData($arParams = Array())
CIMChat::GetOpenChatData($arParams = Array())
CIMChat::SetReadMessage($chatId, $lastId = null, $byEvent = false)
CIMChat::SetUnReadMessage($chatId, $lastId)
CIMChat::GetUnreadMessage($arParams = Array())
CIMChat::SetOwner($chatId, $userId, $checkPermission = true)
CIMChat::SetDescription($chatId, $description)
CIMChat::SetManager($chatId, $userId, $isManager = true, $checkPermission = true)
CIMChat::SetManagers($chatId, $users, $checkPermission = true)
CIMChat::SetColor($chatId, $color)
CIMChat::SetAvatarId($chatId, $fileId)
CIMChat::Rename($chatId, $title, $checkPermission = true, $sendMessage = true)
CIMChat::Add($arParams)
CIMChat::AddMessage($arFields)
CIMChat::AddGeneralMessage($arFields)
CIMChat::Join($chatId)
CIMChat::JoinParent($chatId, $messageId)
CIMChat::AddUser($chatId, $userId, $hideHistory = null, $skipMessage = false, $skipRecent = false)
CIMChat::MuteNotify($chatId, $mute = true)
CIMChat::DeleteUser($chatId, $userId, $checkPermission = true, $skipMessage = false, $skipRecent = false)
CIMChat::GetAvatarImage($id, $size = 100, $addBlankPicture = true)
CIMChat::AddSystemMessage($params)
CIMChat::CheckRestriction($chatId, $action)
CIMChat::GetChatOptions()
CIMChat::GetSonetGroupChatId($groupId)
CIMChat::hide($chatId)
CIMSettings::Get($userId = false)
CIMSettings::Set($type, $value, $userId = false)
CIMSettings::SetSetting($type, $value, $userId = false)
CIMSettings::GetSetting($type, $value, $userId = false)
CIMSettings::GetNotifyAccess($userId, $moduleId, $eventId, $clientId)
CIMSettings::GetDefaultSettings($type)
CIMSettings::CheckValues($type, $value)
CIMSettings::GetNotifyNames()
CIMSettings::GetSimpleNotifyBlocked($byModule = false)
CIMSettings::GetPrivacy($type, $userId = false)
CIMSettings::GetStartChatMessage()
CIMSettings::ClearCache($userId = false)
CIMNotify::__construct($user_id = false, $arParams = Array())
CIMNotify::Add($arFields)
CIMNotify::GetNotifyList($arParams = array())
CIMNotify::GetUnreadNotify($arParams = Array())
CIMNotify::GetUnsendNotify()
CIMNotify::GetFlashNotify($arUnreadNotify)
CIMNotify::GetNotify($ID)
CIMNotify::GetFormatNotify($arFields)
CIMNotify::MarkNotifyRead($id = 0, $setThisAndHigher = false, $appId = 'Bitrix24')
CIMNotify::MarkNotifyReadBySubTag($subTagList = array())
CIMNotify::MarkNotifyUnRead($id = 0, $setThisAndHigher = false, $appId = 'Bitrix24')
CIMNotify::SetLastId($chatId, $userId, $lastId = null)
CIMNotify::SetLastSendId($chatId, $lastSendId)
CIMNotify::Confirm($id, $value)
CIMNotify::Answer($id, $text)
CIMNotify::Delete($ID)
CIMNotify::DeleteWithCheck($ID)
CIMNotify::DeleteByTag($notifyTag, $authorId = false)
CIMNotify::ConfirmBySubTag($notifySubTag, $resultMessages)
CIMNotify::DeleteBySubTag($notifySubTag, $authorId = false)
CIMNotify::DeleteByModule($moduleId, $moduleEvent = '')
CIMNotify::GetNotifyCounter($arNotify = Array())
CIMNotify::GetCounter($chatId)
CIMNotify::GetCounters($chatIds)
CIMCall::InviteExperimental($arParams)
CIMCall::Invite($arParams)
CIMCall::AddUser($arParams)
CIMCall::Answer($arParams)
CIMCall::Wait($arParams)
CIMCall::Start($arParams)
CIMCall::End($arParams)
CIMCall::Signaling($arParams)
CIMCall::Command($chatId, $recipientId, $command, $params = Array())
CIMCall::MessageToChat($chatId, $messageId, $userId = 0, $getUserData = false, $addGenderToMessageId = true)
CIMCall::MessageToPrivate($fromUserId, $toUserId, $messageId, $getUserData = false, $addGenderToMessageId = true)
CIMDisk::GetStorage()
CIMDisk::UploadFileRegister($chatId, $files, $text = '', $linesSilentMode = false)
CIMDisk::UploadFile($hash, &$file, &$package, &$upload, &$error)
CIMDisk::UploadFileUnRegister($chatId, $files, $messages)
CIMDisk::DeleteFile($chatId, $fileId)
CIMDisk::UploadFileFromDisk($chatId, $files, $text = '', $linesSilentMode = false, $robot = false)
CIMDisk::UploadFileFromMain($chatId, $files)
CIMDisk::SaveToLocalDisk($fileId)
CIMDisk::SaveFromLocalDisk($chatId, $fileId)
CIMDisk::UploadAvatar($hash, &$file, &$package, &$upload, &$error)
CIMDisk::UpdateAvatarId($chatId, $fileId)
CIMDisk::GetHistoryFiles($chatId, $historyPage = 1)
CIMDisk::GetHistoryFilesByName($chatId, $name)
CIMDisk::GetMaxFileId($chatId)
CIMDisk::GetFiles($chatId, $fileId = false, $checkPermission = true)
CIMDisk::GetFileParams($chatId, $fileModel)
CIMDisk::Enabled()
CIMDisk::GetFolderModel($chatId)
CIMDisk::ChangeFolderMembers($chatId, $userId, $append = true)
CIMDisk::GetLocalDiskMolel()
CIMDisk::GetStorageId()
CIMDisk::SetStorageId($id)
CIMDisk::GetPublicPath($type, \Bitrix\Disk\File $fileModel)
CIMDisk::RemoveTmpFileAgent()
CIMDisk::GetUserId()
CIMDisk::EnabledExternalLink()
CIMDisk::SetEnabledExternalLink($flag = true)
CIMDisk::GetTopDepartmentCode()
CIMStatus::Set($userId, $params)
CIMStatus::SetIdle($userId, $result = true, $min = 10)
CIMStatus::SetMobile($userId, $result = true)
CIMStatus::SetColor($userId, $color)
CIMStatus::PrepareToPush($params)
CIMStatus::PrepareFields($params)
CIMStatus::GetList($params = Array())
CIMStatus::GetOnline()
CIMStatus::GetStatus($userId)
CIMStatus::OnUserOnlineStatusGetCustomStatus($userId, $lastseen, $now, $mode)
CIMStatus::Enable()
CIMShare::__construct($user_id = null)
CIMShare::Chat($messageId)
CIMShare::Task($messageId, $date = '')
CIMShare::Calendar($messageId, $date = '')
CIMShare::Post($messageId)
CIMShare::SonetPostCreateBlog($userId, $blogGroupId, $siteId)
CIMShare::PrepareText($quoteMessage)
CIMShare::SendMessage($startText, $endText, $quoteMessage, $messageParams = Array())
CIMRestService::OnRestServiceBuildDescription()
CIMRestService::OnRestAppDelete($arParams)
CIMRestService::revisionGet($arParams, $n, CRestServer $server)
CIMRestService::userGet($arParams, $n, CRestServer $server)
CIMRestService::userList($arParams, $offset, CRestServer $server)
CIMRestService::searchUser($arParams, $offset, CRestServer $server)
CIMRestService::searchLastGet($arParams, $n, CRestServer $server)
CIMRestService::searchLastAdd($arParams, $n, CRestServer $server)
CIMRestService::searchLastDelete($arParams, $n, CRestServer $server)
CIMRestService::recentGet($arParams, $n, CRestServer $server)
CIMRestService::recentPin($arParams, $n, CRestServer $server)
CIMRestService::recentHide($arParams, $n, CRestServer $server)
CIMRestService::departmentList($arParams, $n, CRestServer $server)
CIMRestService::departmentGet($arParams, $n, CRestServer $server)
CIMRestService::departmentManagersGet($arParams, $n, CRestServer $server)
CIMRestService::departmentEmployeesGet($arParams, $n, CRestServer $server)
CIMRestService::departmentColleaguesGet($arParams, $offset, CRestServer $server)
CIMRestService::chatCreate($arParams, $n, CRestServer $server)
CIMRestService::chatListChat($arParams, $n, CRestServer $server)
CIMRestService::chatSetOwner($arParams, $n, CRestServer $server)
CIMRestService::chatSetManager($arParams, $n, CRestServer $server)
CIMRestService::chatUpdateColor($arParams, $n, CRestServer $server)
CIMRestService::chatUpdateTitle($arParams, $n, CRestServer $server)
CIMRestService::chatUpdateAvatar($arParams, $n, CRestServer $server)
CIMRestService::chatUserAdd($arParams, $n, CRestServer $server)
CIMRestService::chatUserDelete($arParams, $n, CRestServer $server)
CIMRestService::chatUserList($arParams, $n, CRestServer $server)
CIMRestService::chatSendTyping($arParams, $n, CRestServer $server)
CIMRestService::chatMute($arParams, $n, CRestServer $server)
CIMRestService::botLeave($arParams, $n, CRestServer $server)
CIMRestService::botList($arParams, $n, CRestServer $server)
CIMRestService::messageAdd($arParams, $n, CRestServer $server)
CIMRestService::messageDelete($arParams, $n, CRestServer $server)
CIMRestService::messageUpdate($arParams, $n, CRestServer $server)
CIMRestService::messageLike($arParams, $n, CRestServer $server)
CIMRestService::notifyAdd($arParams, $n, CRestServer $server)
CIMRestService::notifyDelete($arParams, $n, CRestServer $server)
CIMRestService::notifyRead($arParams, $n, CRestServer $server)
CIMRestService::counterGet($arParams, $n, CRestServer $server)
CIMRestService::notImplemented($arParams, $n, CRestServer $server)
CIMRestService::botRegister($arParams, $n, CRestServer $server)
CIMRestService::botUnRegister($arParams, $n, CRestServer $server)
CIMRestService::botUpdate($arParams, $n, CRestServer $server)
CIMRestService::botMessageAdd($arParams, $n, CRestServer $server)
CIMRestService::botMessageUpdate($arParams, $n, CRestServer $server)
CIMRestService::botMessageDelete($arParams, $n, CRestServer $server)
CIMRestService::botMessageLike($arParams, $n, CRestServer $server)
CIMRestService::botSendTyping($arParams, $n, CRestServer $server)
CIMRestService::onCommandAdd($arParams, $arHandler)
CIMRestService::onBotMessageAdd($arParams, $arHandler)
CIMRestService::onBotJoinChat($arParams, $arHandler)
CIMRestService::onBotDelete($arParams, $arHandler)
CIMRestService::commandRegister($arParams, $n, CRestServer $server)
CIMRestService::commandUnRegister($arParams, $n, CRestServer $server)
CIMRestService::commandUpdate($arParams, $n, CRestServer $server)
CIMRestService::commandAnswer($arParams, $n, CRestServer $server)
CIMRestService::appRegister($arParams, $n, CRestServer $server)
CIMRestService::appUnRegister($arParams, $n, CRestServer $server)
CIMRestService::appUpdate($arParams, $n, CRestServer $server)
CIMRestService::getAccessToken($appId, $userId)
CIMRestService::bindEvent($appId, $bitrixEventModule, $bitrixEventName, $restEventName, $restEventHandler)
CIMRestService::unbindEvent($appId, $appCode, $bitrixEventModule, $bitrixEventName, $restEventName, $skipCheck = false)
CIMMail::MailNotifyAgent()
CIMMail::MailMessageAgent()
CIMMail::IsExternalMailAvailable()
CIMMail::GetUserOffset($params)
CIMMessenger::__construct($user_id = false)
CIMMessenger::Add($arFields)
CIMMessenger::CheckPossibilityUpdateMessage($type, $id, $userId = null)
CIMMessenger::Update($id, $text, $urlPreview = true, $editFlag = true, $userId = null, $byEvent = false)
CIMMessenger::Share($id, $type, $date = '')
CIMMessenger::Delete($id, $userId = null, $completeDelete = false, $byEvent = false)
CIMMessenger::LinesSessionVote($dialogId, $messageId, $action, $userId = null)
CIMMessenger::Like($id, $action = 'auto', $userId = null, $byEvent = false)
CIMMessenger::UrlAttachDelete($id, $attachId = false, $userId = null)
CIMMessenger::CheckFields($arFields)
CIMMessenger::GetById($ID, $params = Array())
CIMMessenger::GetRelationById($ID)
CIMMessenger::CheckXmppStatusOnline()
CIMMessenger::CheckEnableOpenChat()
CIMMessenger::CheckNetwork()
CIMMessenger::CheckNetwork2()
CIMMessenger::CheckInstallDesktop()
CIMMessenger::EnableInVersion($version)
CIMMessenger::SetDesktopVersion($version)
CIMMessenger::GetDesktopVersion()
CIMMessenger::CheckPhoneStatus()
CIMMessenger::CanUserCallCrmNumber()
CIMMessenger::CanUserCallUserNumber()
CIMMessenger::CanUserCallAnyNumber()
CIMMessenger::CanUserPerformCalls()
CIMMessenger::CanInterceptCall()
CIMMessenger::GetCallCardRestApps()
CIMMessenger::GetTelephonyLines()
CIMMessenger::GetTelephonyAvailableLines($userId = null)
CIMMessenger::GetDefaultTelephonyLine($userId = null)
CIMMessenger::CheckDesktopStatusOnline($userId = null)
CIMMessenger::GetDesktopStatusOnline($userId = null)
CIMMessenger::SetDesktopStatusOnline($userId = null, $cache = true)
CIMMessenger::SetDesktopStatusOffline($userId = null)
CIMMessenger::GetSettings($userId = false)
CIMMessenger::GetFormatFilesMessageOut($files)
CIMMessenger::GetSessionLifeTime()
CIMMessenger::GetUnreadCounter($userId)
CIMMessenger::GetMessageCounter($userId, $arMessages = Array())
CIMMessenger::GetReasonForMessageSendError($type = IM_MESSAGE_PRIVATE, $reason = '')
CIMMessenger::SpeedFileCreate($userID, $value, $type = IM_SPEED_MESSAGE)
CIMMessenger::SpeedFileDelete($userID, $type = IM_SPEED_MESSAGE)
CIMMessenger::SpeedFileExists($userID, $type = IM_SPEED_MESSAGE)
CIMMessenger::SpeedFileGet($userID, $type = IM_SPEED_MESSAGE)
CIMMessenger::GetTemplateJS($arParams, $arTemplate)
CIMMessenger::GetMobileTemplateJS($arParams, $arTemplate)
CIMMessenger::GetMobileDialogTemplateJS($arParams, $arTemplate)
CIMMessenger::StartWriting($dialogId, $userId = false, $userName = "", $byEvent = false, $linesSilentMode = false)
CIMMessenger::PrepareSmiles()
CIMMessenger::UploadFileFromText($params)
CIMMessenger::SendMention($params)
CIMMessenger::PrepareParamsForPull($params)
CIMMessenger::PreparePushForChat($params)
CIMMessenger::PreparePushForPrivate($params)
CIMMessenger::PrepareMessageForPush($params)
CIMMessenger::PrepareMessageForPushIconCallBack($params)
CIMMessenger::GetCachePath($id)
CIMMessenger::GetSonetCode($user_id, $site_id = SITE_ID)
CIMMessenger::EnableMessageCheck()
CIMMessenger::DisableMessageCheck()
CIMMessenger::IsEnabledMessageCheck()
CIMMessenger::IsMysqlDb()
CIMMessenger::IsAdmin()
CIMMessenger::GetCurrentUserId()
CIMMessenger::GetEventByCounterGroup($events, $maxUserInGroup = 100)
CIMTableSchema::__construct()
CIMTableSchema::OnGetTableSchema()
CIMMessage::__construct($user_id = false, $arParams = Array())
CIMMessage::Add($arFields)
CIMMessage::GetMessage($id, $files = false)
CIMMessage::UpdateMessageOut($id, $messageOut)
CIMMessage::GetUnreadMessage($arParams = Array())
CIMMessage::GetLastMessage($toUserId, $fromUserId = false, $loadUserData = false, $bTimeZone = true, $limit = true)
CIMMessage::GetLastSendMessage($arParams)
CIMMessage::GetUnsendMessage($order = "ASC")
CIMMessage::SetReadMessage($fromUserId, $lastId = null, $byEvent = false)
CIMMessage::SetUnReadMessage($fromUserId, $lastId)
CIMMessage::SetReadMessageAll($fromUserId)
CIMMessage::SetLastId($chatId, $userId, $lastId = null)
CIMMessage::SetLastIdForUnread($chatId, $userId, $lastId)
CIMMessage::SetLastSendId($chatId, $userId, $lastSendId)
CIMMessage::GetFlashMessage($arUnreadMessage)
CIMMessage::Delete($id, $userId = null, $completeDelete = false, $byEvent = false)
CIMMessage::GetFormatMessage($arParams)
CIMMessage::GetChatId($fromUserId, $toUserId)
Common::getPublicDomain()
Common::objectEncode($params)
Common::getCacheUserPostfix($id)
Common::isChatId($id)
Common::isDialogId($id)
Common::getUserId($userId = null)
Alias::add(array $fields)
Alias::addUnique(array $fields)
Alias::update($id, $fields)
Alias::delete($id, $filter = self::FILTER_BY_ID)
Alias::get($alias)
Alias::prepareAlias($alias)
TextareaIcon::register(array $fields)
TextareaIcon::unRegister(array $icon)
TextareaIcon::update(array $icon, array $updateFields)
TextareaIcon::addToken(array $params)
TextareaIcon::addMessage(array $access, array $messageFields)
TextareaIcon::isChat($dialogId)
TextareaIcon::getListCache($lang = LANGUAGE_ID)
TextareaIcon::getListForJs($lang = LANGUAGE_ID)
TextareaIcon::getUserHash($userId)
TextareaIcon::clearCache()
Command::register(array $fields)
Command::unRegister(array $command)
Command::update(array $command, array $updateFields)
Command::onCommandAdd($messageId, $messageFields)
Command::addMessage(array $access, array $messageFields)
Command::getDialogId($messageFields)
Command::findCommands($fields)
Command::mergeWithDefaultCommands($commands)
Command::getListCache($lang = LANGUAGE_ID)
Command::getListForJs($lang = LANGUAGE_ID)
Command::getListSonetForJs($lang = LANGUAGE_ID)
Command::clearCache()
Recent::get($userId = null, $options = Array())
Recent::getUser($userId)
Recent::pin($dialogId, $action, $userId = null)
Recent::hide($dialogId, $userId = null)
Recent::clearCache($userId = null)
Dialog::getRelation($userId1, $userId2, $params = array())
Department::getColleagues($userId = null, $options = array())
Department::getDepartmentYouManage($userId = null, $options = array())
Department::getStructure($options = array())
Department::getManagers($ids = null, $options = array())
Department::getEmployeesList($ids = null, $options = array())
Department::getEmployees($ids = null, $options = array())
Counter::get($userId)
Counter::clearCache($userId = null)
Counter::getChatCounter($chatId, $userId)
Counter::getDialogCounter($userId, $opponentUserId)
Counter::getNotifyCounter($userId)
Counter::countingLostCountersAgent($notifyRelationId = 0, $chatRelationId = 0)
Counter::onGetMobileCounterTypes(\Bitrix\Main\Event $event)
Counter::onGetMobileCounter(\Bitrix\Main\Event $event)
Notify::getCounter($userId)
Notify::getCounterByChatId($chatId)
Notify::getCountersByChatId($chatId)
Bot::register(array $fields)
Bot::unRegister(array $bot)
Bot::update(array $bot, array $updateFields)
Bot::onMessageAdd($messageId, $messageFields)
Bot::onMessageUpdate($messageId, $messageFields)
Bot::onMessageDelete($messageId, $messageFields)
Bot::onJoinChat($dialogId, $joinFields)
Bot::startWriting(array $bot, $dialogId, $userName = '')
Bot::addMessage(array $bot, array $messageFields)
Bot::updateMessage(array $bot, array $messageFields)
Bot::deleteMessage(array $bot, $messageId)
Bot::likeMessage(array $bot, $messageId, $action = 'AUTO')
Bot::getDialogId($messageFields)
Bot::findBots($fields)
Bot::getCache($botId)
Bot::clearCache()
Bot::getListCache($type = self::LIST_ALL)
Bot::getListForJs()
Bot::getChatListCache($botId)
Bot::changeChatMembers($chatId, $botId, $append = true)
Bot::getDefaultLanguage()
Bot::deleteExpiredTokenAgent()
Janus::__construct()
Janus::createRoom(array $config = array())
Janus::login()
Janus::isLogged()
Janus::attachToPlugin($pluginName)
Janus::isAttachedToPlugin($pluginName)
Janus::query(array $request, $pluginName = '')
Janus::getServerAddress()
Janus::getApiSecret()
Department::checkModules()
Department::getList()
Department::getGroup($params)
Extranet::checkModules()
Extranet::getGroup($params)
Localize::resolveType($type)
Localize::get($type, $phraseCode = null, $lang = null)
User::isOperator($userId = null)
Chat::getRelation($chatId, $params = Array())
Chat::mute($chatId, $action, $userId = null)
Text::parse($text, $params = Array())
Text::getDateConverterParams($text)
Text::setReplacement($match)
Text::recoverReplacements($text)
Text::removeBbCodes($text, $withFile = false, $withAttach = false)
RelationHandler::beforeInsertTrigger(array &$newRecord)
RelationHandler::beforeLogUpdate(array $record)
RelationHandler::beforeLogInsert(array $record)
RelationHandler::afterUpdateTrigger(array $oldRecord, array $newRecord)
Bind::start()
MessageParamHandler::__construct()
MessageParamHandler::beforeLogInsert(array $record)
MessageParamHandler::paramValueTranslation($record)
MessageParamHandler::beforeLogFormat(array &$record)
MessageParamHandler::afterInsertTrigger(array $newRecord)
MessageHandler::beforeLogInsert(array $record)
MessageHandler::beforeInsertTrigger(array &$newRecord)
MessageHandler::beforeUpdateTrigger(array $oldRecord, array &$newRecord)
MessageHandler::fixMessage($message)
MessageHandler::afterInsertTrigger(array $newRecord)
MessageHandler::afterUpdateTrigger(array $oldRecord, array $newRecord)
MessageHandler::beforeLogFormat(array &$record)
StatusHandler::afterInsertTrigger(array $newRecord)
StatusHandler::afterUpdateTrigger(array $oldRecord, array $newRecord)
StatusHandler::onUserSetLastActivityDate(\Bitrix\Main\Event $event)
StatusHandler::handleStatusUpdateOperation($event, $nodeFrom, $nodeTo)
StatusHandler::onStartUserReplication(\Bitrix\Main\Event $event)
StatusHandler::handleStatusBindOperation($event, $nodeFrom, $nodeTo)
StatusHandler::OnAfterRecentDelete(\Bitrix\Main\Event $event)
StatusHandler::handleStatusUnbindOperation($event, $nodeFrom, $nodeTo)
StatusHandler::OnAfterRecentAdd(\Bitrix\Main\Event $event)
StatusHandler::handleStatusRebindOperation($event, $nodeFrom, $nodeTo)
StartWritingHandler::initDataManagerEvents()
StartWritingHandler::onStartWriting($userId, $dialogId)
StartWritingHandler::onExecuteStartWriting(\Bitrix\Main\Event $event)
ChatHandler::beforeInsertTrigger(array &$newRecord)
ChatHandler::beforeUpdateTrigger(array $oldRecord, array &$newRecord)
ChatHandler::afterUpdateTrigger(array $oldRecord, array $newRecord)
Token::isActive($botId, $dialogId)
Token::add($botId, $dialogId)
Token::get($botId, $dialogId, $prolong = false)
Token::getFromCache($botId)
Department::getId()
ContextMenu::__construct($botId = 0)
ContextMenu::addItem($params)
ContextMenu::getByJson($params, $textReplace = array(), $options = Array())
ContextMenu::isEmpty()
ContextMenu::isAllowSize()
ContextMenu::getArray()
ContextMenu::getJson()
Keyboard::__construct($botId = 0, array $colors = Array(), $voteMode = false)
Keyboard::setDefaultColor(array $colors)
Keyboard::addButton($params)
Keyboard::addNewLine()
Keyboard::getKeyboardByJson($params, $textReplace = array(), $options = Array())
Keyboard::isEmpty()
Keyboard::isAllowSize()
Keyboard::getArray()
Keyboard::getJson()
User::__construct($userId = null)
User::getInstance($userId = null)
User::getId()
User::getFullName($safe = true)
User::getName($safe = true)
User::getLastName($safe = true)
User::getAvatar()
User::getStatus()
User::getIdle()
User::getLastActivityDate()
User::getMobileLastDate()
User::getBirthday()
User::getAvatarId()
User::getWorkPosition($safe = false)
User::getGender()
User::getExternalAuthId()
User::getWebsite()
User::getEmail()
User::getPhone($type = self::PHONE_ANY)
User::getColor()
User::getTzOffset()
User::isOnline()
User::isExtranet()
User::isActive()
User::isAbsent()
User::isNetwork()
User::isBot()
User::isConnector()
User::isExists()
User::getFields()
User::getPhones()
User::getDepartments()
User::getArray($options = array())
User::getParams()
User::uploadAvatar($avatarUrl = '')
User::clearStaticCache()
User::isOpenlinesOperator($userId = null)
User::getList($params)
User::getListFilter($params)
App::register(array $fields)
App::unRegister(array $app)
App::update(array $app, array $updateFields)
App::addToken(array $params)
App::addMessage(array $app, array $messageFields)
App::getListCache($lang = LANGUAGE_ID)
App::getListForJs($lang = LANGUAGE_ID)
App::getUserHash($userId, $hash = 'register')
App::getDomainHash($hash)
App::clearCache()
Color::isEnabled()
Color::getColors()
Color::getNames()
Color::getSafeColors()
Color::getSafeColorNames()
Color::getCode($color)
Color::getReplaceColors()
Color::getColor($code)
Color::getName($code)
Color::getColorByNumber($number)
Color::getNameByNumber($number)
Color::getCodeByNumber($number)
Color::isSafeColor($code)
Color::getRandomColor()
Color::getRandomCode()
NoRelationPermission::add($chatId, $userId)
NoRelationPermission::delete($chatId, $userId, $permissionDisk = true)
NoRelationPermission::cleaningAgent()
Im::getSecurityContextByUser($user)
Im::getStorageBaseUrl()
Im::getEntityUrl()
Im::getEntityTitle()
Im::getEntityImageSrc($width, $height)
Im::getTitle()
LastSearch::add($dialogId, $userId = null)
LastSearch::delete($dialogId, $userId = null)
LastSearch::get($userId = null, $options = array())
LastSearch::clearCache($userId = null)
AliasTable::getTableName()
AliasTable::getMap()
AliasTable::validateAlias()
AliasTable::validateEntityType()
AliasTable::validateEntityId()
CommandTable::getTableName()
CommandTable::getMap()
CommandTable::validateAppId()
CommandTable::validateCommand()
CommandTable::validateClass()
CommandTable::validateMethodCommandAdd()
CommandTable::validateMethodLangGet()
CommandTable::validateModuleId()
RelationTable::getTableName()
RelationTable::getMap()
RelationTable::validateMessageType()
RelationTable::validateMessageStatus()
MessageParamTable::getTableName()
MessageParamTable::getMap()
MessageParamTable::validateParamName()
MessageParamTable::validateParamValue()
RecentTable::getTableName()
RecentTable::getMap()
RecentTable::validateItemType()
RecentTable::getCurrentDate()
MessageTable::getTableName()
MessageTable::getMap()
MessageTable::validateEmailTemplate()
MessageTable::validateNotifyModule()
MessageTable::validateNotifyEvent()
MessageTable::validateNotifyTag()
MessageTable::validateNotifySubTag()
MessageTable::validateNotifyTitle()
MessageTable::getCurrentDate()
NoRelationPermissionDiskTable::getTableName()
NoRelationPermissionDiskTable::getMap()
BotTable::getTableName()
BotTable::getMap()
BotTable::validateBotName()
BotTable::validateToClass()
BotTable::validateToMethod()
BotTable::validateAppId()
BotTable::validateBotType()
BotTable::validateLanguage()
BotChatTable::getTableName()
BotChatTable::getMap()
ChatTable::getFilePath()
ChatTable::getTableName()
ChatTable::getMap()
ChatTable::validateTitle()
ChatTable::validateType()
ChatTable::validateColor()
ChatTable::validateEntityType()
ChatTable::validateEntityId()
ChatTable::validateCallNumber()
ChatTable::validateEntityData()
ChatTable::getCurrentDate()
ChatTable::validateMessageStatus()
CommandLangTable::getTableName()
CommandLangTable::getMap()
CommandLangTable::validateLanguageId()
CommandLangTable::validateTitle()
CommandLangTable::validateParams()
ExternalAvatarTable::getTableName()
ExternalAvatarTable::getMap()
ExternalAvatarTable::validateLinkMd5()
AppTable::getTableName()
AppTable::getMap()
AppTable::validateModuleId()
AppTable::validateAppId()
AppTable::validateHash()
AppTable::validateIconCode()
AppTable::validateIconFileId()
AppTable::validateContext()
AppTable::validateIframe()
AppTable::validateJs()
AppTable::validateClass()
AppTable::validateMethodLangGet()
LastSearchTable::getTableName()
LastSearchTable::getMap()
LastSearchTable::validateDialogId()
StatusTable::getFilePath()
StatusTable::getTableName()
StatusTable::getMap()
StatusTable::validateStatus()
StatusTable::validateStatusText()
StatusTable::validateColor()
BotTokenTable::getTableName()
BotTokenTable::getMap()
BotTokenTable::validateToken()
BotTokenTable::validateDialogId()
BotTokenTable::getCurrentDate()
AppLangTable::getTableName()
AppLangTable::getMap()
AppLangTable::validateLanguageId()
AppLangTable::validateTitle()
AppLangTable::validateDescription()
AppLangTable::validateCopyright()
im::im()
im::DoInstall()
im::InstallDB()
im::InstallFiles()
im::InstallEvents()
im::InstallTemplateRules()
im::InstallUserFields()
im::DoUninstall()
im::UnInstallDB($arParams = Array())
im::UnInstallFiles($arParams = array())
im::UnInstallEvents()
im::UnInstallUserFields($arParams = Array())