См. определение в файле chat.php строка 17
◆ __construct()
__construct |
( |
Call | $call, |
|
|
| $entityId ) |
◆ canExtendChat()
◆ canStartCall()
canStartCall |
( |
int | $userId | ) |
|
Returns true is user can call users in the associated chat and false otherwise.
- Аргументы
-
- Возвращает
- bool
Переопределяет метод предка AbstractEntity.
См. определение в файле chat.php строка 128
◆ checkAccess()
checkAccess |
( |
int | $userId | ) |
|
Returns true is user has access to the associated chat and false otherwise.
- Аргументы
-
- Возвращает
- bool
Переопределяет метод предка AbstractEntity.
См. определение в файле chat.php строка 111
◆ getAvatar()
getAvatar |
( |
| $currentUserId | ) |
|
◆ getAvatarColor()
getAvatarColor |
( |
| $currentUserId | ) |
|
◆ getCallDuration()
◆ getChatId()
◆ getEntityId()
getEntityId |
( |
| $currentUserId = 0 | ) |
|
◆ getEntityType()
Returns associated entity type.
- Возвращает
- string
Переопределяет метод предка AbstractEntity.
См. определение в файле chat.php строка 75
◆ getManagerIds()
Returns list of the chat managers.
- Возвращает
- int[]
См. определение в файле chat.php строка 180
◆ getName()
getName |
( |
| $currentUserId | ) |
|
Returns associated entity name.
- Аргументы
-
int | $currentUserId | Id of the user. |
- Возвращает
- string|false
Переопределяет метод предка AbstractEntity.
См. определение в файле chat.php строка 196
◆ getOwnerId()
Returns chat owner id.
- Возвращает
- int|null
См. определение в файле chat.php строка 166
◆ getUsers()
Returns list of users in the chat
- Возвращает
- array
Переопределяет метод предка AbstractEntity.
См. определение в файле chat.php строка 100
◆ isBroadcast()
◆ isPrivateChat()
◆ onCallCreate()
◆ onExistingUsersInvite()
onExistingUsersInvite |
( |
| $userIds | ) |
|
◆ onStateChange()
onStateChange |
( |
| $state, |
|
|
| $prevState ) |
◆ onUserAdd()
◆ sendMessage()
sendMessage |
( |
| $message, |
|
|
| $muted = false, |
|
|
| $skipCounterInc = false, |
|
|
| $componentParams = [] ) |
- См. также
- \Bitrix\Call\NotifyService::MESSAGE_COMPONENT_ID
См. определение в файле chat.php строка 413
◆ sendMessageDeferred()
sendMessageDeferred |
( |
| $message, |
|
|
| $muted = false, |
|
|
| $skipCounterInc = false, |
|
|
| $componentParams = [] ) |
◆ sendMessagesCallStart()
sendMessagesCallStart |
( |
| ) |
|
- См. также
- \Bitrix\Call\NotifyService::MESSAGE_TYPE_START
См. определение в файле chat.php строка 387
◆ toArray()
toArray |
( |
| $initiatorId = 0 | ) |
|
◆ $chatFields
◆ $chatId
◆ $chatUsers
◆ MUTE_MESSAGE
const MUTE_MESSAGE = true |
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/im/lib/call/integration/chat.php