Chat
Table of Contents
Constants
-
CHAT_ENTITY_TYPE
= "CRM"
Methods
-
buildChatName()
: mixed
-
createChat()
: mixed
-
deleteChat()
: mixed
-
getChatId()
: mixed
-
getEntityCard()
: mixed
-
getEntityData()
: mixed
-
getEntityUserIDs()
: mixed
-
isEntitySupported()
: bool
-
joinChat()
: mixed
-
onAddChatUser()
: mixed
-
OnAfterChatRead()
: void
-
OnAfterMessagesAdd()
: void
-
onEntityModification()
: mixed
-
prepareUserInfos()
: mixed
-
transferOwnership()
: mixed
CHAT_ENTITY_TYPE
public
mixed
CHAT_ENTITY_TYPE
= "CRM"
buildChatName()
public
static buildChatName([mixed $params = [] ]) : mixed
Parameters
-
$params
: mixed
= []
-
createChat()
public
static createChat([mixed $params = [] ]) : mixed
Parameters
-
$params
: mixed
= []
-
deleteChat()
public
static deleteChat([array<string|int, mixed> $params = [] ]) : mixed
Parameters
-
$params
: array<string|int, mixed>
= []
-
getChatId()
public
static getChatId(mixed $entityTypeID, mixed $entityID) : mixed
Parameters
-
$entityTypeID
: mixed
-
-
$entityID
: mixed
-
getEntityCard()
public
static getEntityCard(mixed $entityType, mixed $entityId[, mixed $entityData = null ]) : mixed
Parameters
-
$entityType
: mixed
-
-
$entityId
: mixed
-
-
$entityData
: mixed
= null
-
getEntityData()
public
static getEntityData(mixed $entityType, mixed $entityId[, mixed $withMultiFields = false ]) : mixed
Parameters
-
$entityType
: mixed
-
-
$entityId
: mixed
-
-
$withMultiFields
: mixed
= false
-
getEntityUserIDs()
public
static getEntityUserIDs(mixed $entityTypeID, mixed $entityID) : mixed
Parameters
-
$entityTypeID
: mixed
-
-
$entityID
: mixed
-
isEntitySupported()
public
static isEntitySupported(int $entityTypeId) : bool
Parameters
-
$entityTypeId
: int
-
joinChat()
public
static joinChat([mixed $params = [] ]) : mixed
Parameters
-
$params
: mixed
= []
-
onAddChatUser()
public
static onAddChatUser(array<string|int, mixed> $eventArgs) : mixed
Parameters
-
$eventArgs
: array<string|int, mixed>
-
OnAfterChatRead()
public
static OnAfterChatRead(array<string|int, mixed> $data) : void
Parameters
-
$data
: array<string|int, mixed>
-
OnAfterMessagesAdd()
public
static OnAfterMessagesAdd(mixed $messageId, mixed $messageFields) : void
Parameters
-
$messageId
: mixed
-
-
$messageFields
: mixed
-
onEntityModification()
public
static onEntityModification(mixed $entityTypeID, mixed $entityID, array<string|int, mixed> $params) : mixed
Parameters
-
$entityTypeID
: mixed
-
-
$entityID
: mixed
-
-
$params
: array<string|int, mixed>
-
prepareUserInfos()
public
static prepareUserInfos(array<string|int, mixed> $userIDs) : mixed
Parameters
-
$userIDs
: array<string|int, mixed>
-
transferOwnership()
public
static transferOwnership(mixed $oldEntityTypeID, mixed $oldEntityID, mixed $newEntityTypeID, mixed $newEntityID) : mixed
Parameters
-
$oldEntityTypeID
: mixed
-
-
$oldEntityID
: mixed
-
-
$newEntityTypeID
: mixed
-
-
$newEntityID
: mixed
-