imbot

Constant module imbot

ConstantChecked
BOT_CLIENT_GEO_DATANetwork :: getUserGeoData
BOT_CLIENT_URLHttp :: getServerAddress
BOT_CONTROLLER_URLHttp :: query
BOT_IFRAME_URLGiphy :: getIframeUrl

List of module methods imbot

Methods
Base :: getBotId()
Base :: getBotOption($userId, $name, $value = false)
Base :: getClassName()
Base :: getError()
Base :: onAnswerAdd($command, $params)
Base :: onBotDelete($bodId)
Base :: onChatStart($dialogId, $joinFields)
Base :: onCommandAdd($messageId, $messageFields)
Base :: onCommandLang($command, $lang = null)
Base :: onMessageAdd($messageId, $messageFields)
Base :: setBotId($id)
Base :: setBotOption($userId, $name, $value)
Base :: uploadAvatar($lang = LANGUAGE_ID)
Base :: uploadIcon($iconName)
Controller :: sendToBot($botName, $command, $params)
Controller :: sendToService($serviceName, $command, $params)
Designer :: addMenu(Menu $items)
Designer :: execMenuItem($itemId = '')
Designer :: getCurrentMenu()
Designer :: getMenuItems()
Designer :: run($text)
Designer :: setCurrentMenu($id)
Designer :: __construct($portalId, $dialogId, $botId, $userId)
Error :: __construct($method, $code, $msg, $params = Array())
Event :: onMessageLike($params)
Event :: onSessionVote($params)
Event :: onStartWriting($params)
Event :: onUserRead($params)
Giphy :: getIframeUrl()
Giphy :: getLangMessage($messageCode = '')
Giphy :: onAnswerAdd($command, $params)
Giphy :: onAppLang($icon, $lang = null)
Giphy :: onChatStart($dialogId, $joinFields)
Giphy :: onCommandAdd($messageId, $messageFields)
Giphy :: onCommandLang($command, $lang = null)
Giphy :: onMessageAdd($messageId, $messageFields)
Giphy :: register(array $params = Array())
Giphy :: sendAnswer($messageId, $messageFields)
Giphy :: sendMessage($params)
Giphy :: unRegister()
Http :: getError()
Http :: getPortalType()
Http :: getServerAddress()
Http :: query($command, $params = array(), $waitResponse = false)
Http :: requestSign($type, $str)
Http :: sendMessage($dialogId, $messageId, $messageText, $userName, $userAge = 30)
Http :: __construct($botId)
imbot :: CheckModules()
imbot :: DoInstall()
imbot :: DoUninstall()
imbot :: imbot()
imbot :: InstallDB($params = Array())
imbot :: InstallEvents()
imbot :: InstallFiles()
imbot :: UnInstallDB($arParams = Array())
imbot :: UnInstallEvents()
imbot :: UnInstallFiles($arParams = array())
Item :: execFunction($function, $text = '', $hideMenu = false)
Item :: finishSession($text = '')
Item :: openMenu($menuId)
Item :: sendText($text = '', $hideMenu = false)
Item :: transferToBot($botCode, $leave = true, $text = '', $errorText = '')
Item :: transferToQueue($text = '', $hideMenu = true)
Item :: transferToUser($userId, $leave = false, $text = '', $hideMenu = true)
Item :: void($hideMenu = true)
Log :: write($data, $title = '')
Log :: writeToFile($fileName, $data, $title = '')
Marta :: addPlannerMessageAgent($userId)
Marta :: addRenameMessageAgent($userId = null)
Marta :: addWelcomeMessageAgent()
Marta :: getHelloMessage($userId, $language = null)
Marta :: getLangMessage($messageCode = '')
Marta :: notifyAboutPlans($dialogId, $userId)
Marta :: onAfterTmDayStart($params)
Marta :: onAfterUserAuthorize($params)
Marta :: onAnswerAdd($command, $params)
Marta :: onAppLang($icon, $lang = null)
Marta :: onChatStart($dialogId, $joinFields)
Marta :: onCommandAdd($messageId, $messageFields)
Marta :: onLocalCommandAdd($messageId, $messageFields)
Marta :: onMessageAdd($messageId, $messageFields)
Marta :: onRenamePortalDomainChange($params)
Marta :: onRenamePortalLaterCommand($messageId, $messageFields)
Marta :: onSettingsCommandAdd($messageId, $messageFields)
Marta :: register(array $params = Array())
Marta :: sendAnswer($messageId, $messageFields)
Marta :: sendAnswerCommand($messageId, $messageFields)
Marta :: sendCommand($params)
Marta :: sendMessage($params)
Marta :: unRegister()
Menu :: addItem($id, $title, array $action)
Menu :: getId()
Menu :: getItems()
Menu :: getText()
Menu :: setText($text)
Menu :: __construct($id)
Network :: addFdc($userId)
Network :: clientMessageAdd($messageId, $messageFields)
Network :: clientMessageDelete($messageId, $messageFields)
Network :: clientMessageReceived($params)
Network :: clientMessageSend(array $fields)
Network :: clientMessageUpdate($messageId, $messageFields)
Network :: clientSessionVote($params)
Network :: clientStartWriting($params)
Network :: fdcAddWelcomeMessageAgent($userId)
Network :: fdcOnAfterUserAuthorize($params)
Network :: fdcOnChatStart($dialogId, $joinFields)
Network :: fdcOnMessageAdd($messageId, $messageFields)
Network :: getBotId()
Network :: getLangMessage($messageCode = '')
Network :: getNetworkBotId($code, $getFromDb = false)
Network :: getUserGeoData()
Network :: isFdcCode($text)
Network :: isNeedUpdateBotFieldsAfterNewMessage()
Network :: join($code, $options = array())
Network :: onAnswerAdd($command, $params)
Network :: onChatStart($dialogId, $joinFields)
Network :: onLocalCommandAdd($messageId, $messageFields)
Network :: onMessageAdd($messageId, $messageFields)
Network :: onMessageDelete($messageId, $messageFields)
Network :: onMessageUpdate($messageId, $messageFields)
Network :: onReceiveCommand($command, $params)
Network :: onSessionVote($params)
Network :: onStartWriting($params)
Network :: operatorMessageAdd($messageId, $messageFields)
Network :: operatorMessageDelete($messageId, $messageFields)
Network :: operatorMessageReceived($params)
Network :: operatorMessageUpdate($messageId, $messageFields)
Network :: operatorStartWriting($params)
Network :: register(array $params = Array())
Network :: registerConnector($lineId, $fields = array())
Network :: removeFdc($userId)
Network :: search($text, $register = false)
Network :: sendTextFdc($userId, $text = '30-1')
Network :: sendUnregisterRequest($code, $botId)
Network :: setBotId($id)
Network :: setNetworkBotId($code, $id)
Network :: unRegister($code = '', $serverRequest = true)
Network :: unRegisterConnector($lineId)
Network :: updateConnector($lineId, $fields)
Network :: uploadAvatar($avatarUrl = '')
Openlines :: onReceiveCommand($command, $params)
Openlines :: operatorMessageAdd($params)
Openlines :: operatorMessageDelete($params)
Openlines :: operatorMessageReceived($params)
Openlines :: operatorMessageUpdate($params)
Openlines :: operatorStartWriting($params)
OpenlinesListenerExample :: getBotId()
OpenlinesListenerExample :: getLastMessageId($dialogId)
OpenlinesListenerExample :: onBotDelete($bodId)
OpenlinesListenerExample :: onChatStart($dialogId, $joinFields)
OpenlinesListenerExample :: onMessageAdd($messageId, $messageFields)
OpenlinesListenerExample :: prepareText($message)
OpenlinesListenerExample :: register(array $params = Array())
OpenlinesListenerExample :: setBotId($id)
OpenlinesListenerExample :: setLastMessageId($dialogId, $messageId)
OpenlinesListenerExample :: unRegister()
OpenlinesMenuExample :: getBotId()
OpenlinesMenuExample :: itrRun($dialogId, $userId, $message = '')
OpenlinesMenuExample :: onBotDelete($bodId)
OpenlinesMenuExample :: onChatStart($dialogId, $joinFields)
OpenlinesMenuExample :: onMessageAdd($messageId, $messageFields)
OpenlinesMenuExample :: prepareText($message)
OpenlinesMenuExample :: register(array $params = Array())
OpenlinesMenuExample :: setBotId($id)
OpenlinesMenuExample :: unRegister()
Partner24 :: acceptRequest(int $userId)
Partner24 :: activate(int $userId, string $supportCode, string $supportName = null)
Partner24 :: change(int $userId, string $supportCode, string $supportName = null)
Partner24 :: deactivate(int $userId)
Partner24 :: declineRequest(int $userId)
Partner24 :: getAdministrators()
Partner24 :: getBotAvatar()
Partner24 :: getBotCode()
Partner24 :: getBotDesc()
Partner24 :: getBotId()
Partner24 :: getBotName()
Partner24 :: getBusinessUsers()
Partner24 :: getLicenceLanguage()
Partner24 :: getMessage($code)
Partner24 :: getPartnerName()
Partner24 :: getSupportLevel()
Partner24 :: isActiveSupport()
Partner24 :: isActiveSupportForAll()
Partner24 :: isActiveSupportForUser($userId)
Partner24 :: isEnabled()
Partner24 :: isNeedUpdateBotAvatarAfterNewMessage()
Partner24 :: isNeedUpdateBotFieldsAfterNewMessage()
Partner24 :: isUserAdmin($userId)
Partner24 :: isUserIntegrator($userId)
Partner24 :: isWaitingActivation()
Partner24 :: onAfterSupportCodeChange($currentCode = '', $previousCode = '')
Partner24 :: onAnswerAdd($command, $params)
Partner24 :: onMessageAdd($messageId, $messageFields)
Partner24 :: onReceiveCommand($command, $params)
Partner24 :: onStartWriting($params)
Partner24 :: onWelcomeMessage($dialogId, $joinFields)
Partner24 :: register(array $params = Array())
Partner24 :: replacePlaceholders($message, $userId = 0)
Partner24 :: sendMessage($messageFields)
Partner24 :: sendMessageForRecent($message)
Partner24 :: sendRequest(string $supportCode, string $supportName = null)
Partner24 :: sendRequestFinalizeSession()
Partner24 :: setOptions(string $supportCode, string $supportName = null)
Partner24 :: unRegister($code = '', $serverRequest = true)
Partner24 :: updateBotProperties()
Properties :: convertIpToAttach(array $ipFields)
Properties :: convertOrganizationToAttach(array $organizationFields)
Properties :: convertSearchResultsToAttach(array $searchResults, array $messageFields)
Properties :: getLangMessage($messageCode = '')
Properties :: onAnswerAdd($command, $params)
Properties :: onChatStart($dialogId, $joinFields)
Properties :: onMessageAdd($messageId, $messageFields)
Properties :: parseRequest($request)
Properties :: register(array $params = Array())
Properties :: sendAnswer($messageId, $messageFields)
Properties :: sendMessage($dialogId, $messageId, $messageText)
Properties :: unRegister()
Properties :: validateRequest($request)
PropertiesUa :: convertFoToAttach(array $foFields)
PropertiesUa :: convertSearchResultsToAttach(array $searchResults, array $messageFields)
PropertiesUa :: convertUoToAttach(array $uoFields)
PropertiesUa :: getLangMessage($messageCode = '')
PropertiesUa :: onAnswerAdd($command, $params)
PropertiesUa :: onChatStart($dialogId, $joinFields)
PropertiesUa :: onMessageAdd($messageId, $messageFields)
PropertiesUa :: parseRequest($request)
PropertiesUa :: register(array $params = Array())
PropertiesUa :: sendAnswer($messageId, $messageFields)
PropertiesUa :: sendMessage($dialogId, $messageId, $messageText)
PropertiesUa :: unRegister()
PropertiesUa :: validateRequest($request)
ServiceExample :: getBotId()
ServiceExample :: onBotDelete($bodId)
ServiceExample :: onChatStart($dialogId, $joinFields)
ServiceExample :: onMessageAdd($messageId, $messageFields)
ServiceExample :: onMessageDelete($messageId, $messageFields)
ServiceExample :: onMessageUpdate($messageId, $messageFields)
ServiceExample :: register(array $params = Array())
ServiceExample :: setBotId($id)
ServiceExample :: unRegister()
Support24 :: deleteScheduledAction($userId = null, $action = '', $code = '')
Support24 :: execScheduleAction($userId, $action, $code = '')
Support24 :: getAdministrators()
Support24 :: getBotAvatar()
Support24 :: getBotCode()
Support24 :: getBotDesc()
Support24 :: getBotId()
Support24 :: getBotName()
Support24 :: getBusinessUsers()
Support24 :: getFreeSupportLifeTime()
Support24 :: getLicenceLanguage()
Support24 :: getMessage($code, $supportLevel = null)
Support24 :: getPartnerCode()
Support24 :: getPartnerData()
Support24 :: getPartnerId()
Support24 :: getPartnerName()
Support24 :: getSupportLevel()
Support24 :: getUserSupportLevel()
Support24 :: isActiveFreeSupport()
Support24 :: isActiveFreeSupportForAll()
Support24 :: isActiveFreeSupportForUser($userId)
Support24 :: isActivePaidSupport()
Support24 :: isActivePaidSupportForAll()
Support24 :: isActivePaidSupportForUser($userId)
Support24 :: isActivePartnerSupport()
Support24 :: isEnabled()
Support24 :: isFreeSupportLifeTimeExpired()
Support24 :: isNeedUpdateBotAvatarAfterNewMessage()
Support24 :: isNeedUpdateBotFieldsAfterNewMessage()
Support24 :: isUserAdmin($userId)
Support24 :: isUserIntegrator($userId)
Support24 :: onAfterLicenseChange()
Support24 :: onAfterSupportCodeChange($previousFreeCode = '', $previousPaidCode = '')
Support24 :: onAfterUserAuthorize($params)
Support24 :: onAnswerAdd($command, $params)
Support24 :: onCommandAdd($messageId, $messageFields)
Support24 :: onMessageAdd($messageId, $messageFields)
Support24 :: onReceiveCommand($command, $params)
Support24 :: onStartWriting($params)
Support24 :: onWelcomeMessage($dialogId, $joinFields)
Support24 :: register(array $params = Array())
Support24 :: replacePlaceholders($message, $userId = 0)
Support24 :: scheduleAction($userId, $action, $code = '', $delayMinutes = 1)
Support24 :: scheduledActionAgent($userId, $action, $code = '')
Support24 :: sendMessage($messageFields)
Support24 :: sendNotifyAboutChangeLevel($params)
Support24 :: sendRequestFinalizeSession($message = '')
Support24 :: unRegister($code = '', $serverRequest = true)
Support24 :: updateBotProperties()
Support :: checkPublicUrl()
Support :: getBotId()
Support :: getCode()
Support :: isEnabled()
Support :: onChatStart($dialogId, $joinFields)
Support :: onMessageAdd($messageId, $messageFields)
Support :: register(array $params = Array())
Support :: unRegister($code = '', $serverRequest = true)