Bitrix API

Item

Table of Contents

Constants

TYPE_BOT  = 'BOT'
TYPE_FINISH  = 'FINISH'
TYPE_FUNCTION  = 'FUNCTION'
TYPE_MENU  = 'MENU'
TYPE_QUEUE  = 'QUEUE'
TYPE_TEXT  = 'TEXT'
TYPE_USER  = 'USER'
TYPE_VOID  = 'VOID'

Methods

execFunction()  : mixed
finishSession()  : mixed
openMenu()  : mixed
sendText()  : mixed
transferToBot()  : mixed
transferToQueue()  : mixed
transferToUser()  : mixed
void()  : mixed

Constants

TYPE_BOT

public mixed TYPE_BOT = 'BOT'

TYPE_FINISH

public mixed TYPE_FINISH = 'FINISH'

TYPE_FUNCTION

public mixed TYPE_FUNCTION = 'FUNCTION'

TYPE_MENU

public mixed TYPE_MENU = 'MENU'

TYPE_QUEUE

public mixed TYPE_QUEUE = 'QUEUE'

TYPE_TEXT

public mixed TYPE_TEXT = 'TEXT'

TYPE_USER

public mixed TYPE_USER = 'USER'

TYPE_VOID

public mixed TYPE_VOID = 'VOID'

Methods

execFunction()

public static execFunction(mixed $function[, mixed $text = '' ][, mixed $hideMenu = false ]) : mixed
Parameters
$function : mixed
$text : mixed = ''
$hideMenu : mixed = false

finishSession()

public static finishSession([mixed $text = '' ]) : mixed
Parameters
$text : mixed = ''

openMenu()

public static openMenu(mixed $menuId) : mixed
Parameters
$menuId : mixed

sendText()

public static sendText([mixed $text = '' ][, mixed $hideMenu = false ]) : mixed
Parameters
$text : mixed = ''
$hideMenu : mixed = false

transferToBot()

public static transferToBot(mixed $botCode[, mixed $leave = true ][, mixed $text = '' ][, mixed $errorText = '' ]) : mixed
Parameters
$botCode : mixed
$leave : mixed = true
$text : mixed = ''
$errorText : mixed = ''

transferToQueue()

public static transferToQueue([mixed $text = '' ][, mixed $hideMenu = true ]) : mixed
Parameters
$text : mixed = ''
$hideMenu : mixed = true

transferToUser()

public static transferToUser(mixed $userId[, mixed $leave = false ][, mixed $text = '' ][, mixed $hideMenu = true ]) : mixed
Parameters
$userId : mixed
$leave : mixed = false
$text : mixed = ''
$hideMenu : mixed = true

void()

public static void([mixed $hideMenu = true ]) : mixed
Parameters
$hideMenu : mixed = true

        
On this page

Search results