Bitrix API

ChatCleanupAgent

FinalYes

Table of Contents

Methods

processChat()  : string
processCleanup()  : string
register()  : void

Methods

processChat()

public static processChat(int $chatId, int $currentChatId[, int|null $userId = null ]) : string
Parameters
$chatId : int
$currentChatId : int
$userId : int|null = null
Tags
throws
ObjectPropertyException
throws
SystemException
throws
ArgumentException
Return values
string

processCleanup()

public static processCleanup(int $chatId, int $currentChatId[, string|null $prevCompletedStep = null ][, int|null $userId = null ]) : string
Parameters
$chatId : int
$currentChatId : int
$prevCompletedStep : string|null = null
$userId : int|null = null
Tags
throws
ObjectPropertyException
throws
SystemException
throws
ArgumentException
Return values
string

register()

public static register(int $chatId[, int|null $currentChatId = null ][, int|null $userId = null ]) : void
Parameters
$chatId : int
$currentChatId : int|null = null
$userId : int|null = null

        
On this page

Search results