$accessCache | Chat | protected |
$aliasName | Chat | protected |
$authorId | Chat | protected |
$avatarId | Chat | protected |
$callNumber | Chat | protected |
$callType | Chat | protected |
$canPost | Chat | protected |
$chatId | Chat | protected |
$chatStaticCache | Chat | protectedstatic |
$color | Chat | protected |
$dateCreate | Chat | protected |
$dateMessage | Chat | protected |
$description | Chat | protected |
$dialogId | Chat | protected |
$disappearingTime | Chat | protected |
$diskFolder | Chat | protected |
$diskFolderId | Chat | protected |
$entityData1 | Chat | protected |
$entityData2 | Chat | protected |
$entityData3 | Chat | protected |
$entityId | Chat | protected |
$entityType | Chat | protected |
$extranet | Chat | protected |
$isDiskFolderFilled | Chat | protected |
$isFilledNonCachedData | Chat | protected |
$lastFileId | Chat | protected |
$lastMessageId | Chat | protected |
$lastMessageStatus | Chat | protected |
$manageSettings | Chat | protected |
$manageUI | Chat | protected |
$manageUsersAdd | Chat | protected |
$manageUsersDelete | Chat | protected |
$markedId | Chat | protected |
$messageCount | Chat | protected |
$messageRegistry | Chat | protected |
$parentChatId | Chat | protected |
$parentMessageId | Chat | protected |
$pinMessageId | Chat | protected |
$prevMessageId | Chat | protected |
$readService | Chat | protected |
$relations | Chat | protected |
$role | Chat | protected |
$title | Chat | protected |
$type | Chat | protected |
$userCount | Chat | protected |
$usersIds | Chat | protected |
__construct($source=null) | Chat | |
add(array $params) | Chat | |
addIndex() | Chat | protected |
addUsers(array $userIds, array $managerIds=[], ?bool $hideHistory=null, bool $withMessage=true, bool $skipRecent=false) | Chat | |
addUsersToRelation(array $usersToAdd, array $managerIds=[], ?bool $hideHistory=null) | Chat | protected |
allowMention() | Chat | |
AVAILABLE_PARAMS | Chat | |
beforeSaveType() | Chat | protected |
canDo(string $action) | Chat | |
changeAuthor() | Chat | |
checkAccessWithoutCaching(int $userId) | Chat | protected |
checkAllowedAction(string $action) | Chat | |
checkColor() | Chat | |
checkIsExtranet() | Chat | protected |
checkTitle() | Chat | |
cleanAccessCache(int $chatId) | Chat | static |
cleanCache(int $id) | Chat | static |
createChatIfNotExists(array $params) | Chat | |
createDiskFolder() | Chat | protected |
delete() | ActiveRecord | |
deleteChat() | Chat | |
deleteMessage(Message $message) | Chat | |
deleteUser(int $userId, bool $withMessage=true, bool $skipRecent=false, bool $withNotification=true) | Chat | |
ENTITY_TYPE_FAVORITE | Chat | |
ENTITY_TYPE_GENERAL | Chat | |
ENTITY_TYPE_LINE | Chat | |
ENTITY_TYPE_LIVECHAT | Chat | |
ENTITY_TYPE_VIDEOCONF | Chat | |
ENTITY_TYPES | Chat | protected |
EXTRANET_CAN_SEE_HISTORY | Chat | protected |
fill(array $source) | ActiveRecord | |
fillNonCachedData() | Chat | |
fillRole(array $chats, ?int $userId=null) | Chat | static |
filterUsersToAdd(array $userIds) | Chat | protected |
find(array $params, ?Context $context=null) | Chat | static |
getAccessCodesForDiskFolder() | Chat | protected |
getAliasName() | Chat | |
getAuthor() | Chat | |
getAuthorId() | Chat | |
getAvatar(int $size=200, bool $addBlankPicture=false) | Chat | |
getAvatarId() | Chat | |
getBotInChat() | Chat | |
getCallNumber() | Chat | |
getCallType() | Chat | |
getCanPost() | Chat | |
getCanPostList() | Chat | static |
getChatId() | Chat | |
getColor() | Chat | |
getDataClass() | Chat | static |
getDataEntity() | ActiveRecord | |
getDateCreate() | Chat | |
getDefaultCanPost() | Chat | |
getDefaultColor() | Chat | |
getDefaultDateCreate() | Chat | |
getDefaultEntityType() | Chat | protected |
getDefaultExtranet() | Chat | |
getDefaultLastMessageStatus() | Chat | |
getDefaultManageSettings() | Chat | |
getDefaultManageUI() | Chat | |
getDefaultManageUsersAdd() | Chat | |
getDefaultManageUsersDelete() | Chat | |
getDefaultType() | Chat | protected |
getDescription() | Chat | |
getDialogContextId() | Chat | |
getDialogId() | Chat | |
getDisappearingTime() | Chat | |
getDiskFolder() | Chat | |
getDiskFolderId() | Chat | |
getDisplayedTitle() | Chat | |
getEntityData1() | Chat | |
getEntityData2() | Chat | |
getEntityData3() | Chat | |
getEntityId() | Chat | |
getEntityLink() | Chat | |
getEntityType() | Chat | |
getExtranet() | Chat | |
getId() | Chat | |
getInstance(?int $chatId) | Chat | static |
getLastFileId() | Chat | |
getLastId() | Chat | protected |
getLastMessageId() | Chat | |
getLastMessages(int $upperBound, int $lowerBound) | Chat | |
getLastMessageStatus() | Chat | |
getLastMessageViews() | Chat | |
getLastMessageViewsByGroups() | Chat | |
getLoadContextMessage() | Chat | |
getManagerList() | Chat | protected |
getManageSettings() | Chat | |
getManageUI() | Chat | |
getManageUsersAdd() | Chat | |
getManageUsersDelete() | Chat | |
getMarkedId() | Chat | |
getMessage(int $messageId) | Chat | |
getMessageCount() | Chat | |
getMessageRegistry() | Chat | |
getMessageUserDeleteText(int $userId) | Chat | protected |
getMuteList() | Chat | protected |
getOrCreateDiskFolder() | Chat | |
getParentChatId() | Chat | |
getParentMessageId() | Chat | |
getPinMessageId() | Chat | |
getPrevMessageId() | Chat | |
getPrimaryId() | Chat | |
getPublicOption() | Chat | protected |
getReadService() | Chat | protected |
getRegistry() | RegistryEntry | |
getRelations(array $options=[]) | Chat | |
getRestEntityName() | Chat | static |
getRestrictions() | Chat | protected |
getRole() | Chat | |
getSelfRelation(array $options=[]) | Chat | |
getSharedChatsWithUser(int $userId, int $limit=50, int $offset=0, ?int $currentUserId=null) | Chat | static |
getStartId(?int $userId=null) | Chat | |
getStorageId() | Chat | protected |
getTitle() | Chat | |
getType() | Chat | |
getTypeForRest() | Chat | |
getUnreadId() | Chat | protected |
getUserCount() | Chat | |
getUserId($user) | Chat | protected |
getUserIds() | Chat | |
getUsersForPush(bool $skipBot=false, bool $skipSelf=true) | Chat | protected |
hasAccess($user=null) | Chat | |
hasPostAccess(?int $userId=null) | Chat | |
IM_TYPE_CHANNEL | Chat | |
IM_TYPE_CHAT | Chat | |
IM_TYPE_COMMENT | Chat | |
IM_TYPE_COPILOT | Chat | |
IM_TYPE_OPEN | Chat | |
IM_TYPE_OPEN_LINE | Chat | |
IM_TYPE_PRIVATE | Chat | |
IM_TYPE_SYSTEM | Chat | |
IM_TYPES | Chat | |
IM_TYPES_TRANSLATE | Chat | |
incrementMessageCount(int $increment=1) | Chat | |
isChanged() | ActiveRecord | |
isDeleted() | ActiveRecord | |
isExist() | Chat | |
join() | Chat | |
load($source) | ActiveRecord | |
loadPhrases() | Chat | static |
MANAGE_RIGHTS_MANAGERS | Chat | |
MANAGE_RIGHTS_MEMBER | Chat | |
MANAGE_RIGHTS_NONE | Chat | |
MANAGE_RIGHTS_OWNER | Chat | |
markChanged() | ActiveRecord | |
markDrop() | ActiveRecord | |
mirrorDataEntityFields() | Chat | protectedstatic |
prepareAliasToLoad($alias) | Chat | |
prepareFields() | ActiveRecord | |
read(bool $onlyRecent=false, bool $byEvent=false) | Chat | |
readAllChats(int $userId) | Chat | static |
readAllMessages(bool $byEvent=false) | Chat | |
readMessages(?MessageCollection $messages, bool $byEvent=false) | Chat | |
readTo(Message $message, bool $byEvent=false) | Chat | |
removeUsers(array $userIds) | Chat | |
ROLE_GUEST | Chat | |
ROLE_MANAGER | Chat | |
ROLE_MEMBER | Chat | |
ROLE_NONE | Chat | |
ROLE_OWNER | Chat | |
save() | Chat | |
sendEventRead(int $startId, int $endId, int $counter, bool $byEvent) | Chat | protected |
sendEventUserDelete(int $userId) | Chat | protected |
sendEventUsersAdd(array $usersToAdd) | Chat | protected |
sendMessage($message, $sendingConfig=null) | Chat | |
sendMessageUpdateAvatar(bool $skipRecent=false) | Chat | protected |
sendMessageUserDelete(int $userId, bool $skipRecent=false) | Chat | protected |
sendMessageUsersAdd(array $usersToAdd, bool $skipRecent=false) | Chat | protected |
sendNotificationUserDelete(int $userId) | Chat | protected |
sendPushRead(MessageCollection $messages, int $lastId, int $counter) | Chat | protected |
sendPushReadOpponent(MessageCollection $messages, int $lastId) | Chat | protected |
sendPushReadSelf(MessageCollection $messages, int $lastId, int $counter) | Chat | protected |
sendPushUnreadSelf(int $unreadToId, int $lastId, int $counter, ?array $lastMessageStatuses) | Chat | protected |
sendPushUpdateMessage(Message $message) | Chat | |
sendPushUserDelete(int $userId, RelationCollection $oldRelations) | Chat | protected |
sendPushUsersAdd(array $usersToAdd, RelationCollection $oldRelations) | Chat | protected |
setAliasName(string $aliasName) | Chat | |
setAuthorId(int $authorId) | Chat | |
setAvatarId(?int $avatarId) | Chat | |
setCallNumber(?string $callNumber) | Chat | |
setCallType(?int $callType) | Chat | |
setCanPost(string $canPost) | Chat | |
setChatId(int $chatId) | Chat | protected |
setColor(?string $color) | Chat | |
setContext(?Context $context) | Chat | |
setDateCreate(?DateTime $dateCreate) | Chat | |
setDescription(?string $description) | Chat | |
setDialogId(string $dialogId) | Chat | |
setDisappearingTime(int $disappearingTime) | Chat | |
setDiskFolder(?Folder $folder) | Chat | protected |
setDiskFolderId(?int $diskFolderId) | Chat | |
setEntityData1(?string $entityData1) | Chat | |
setEntityData2(?string $entityData2) | Chat | |
setEntityData3(?string $entityData3) | Chat | |
setEntityId(?string $entityId) | Chat | |
setEntityType(?string $entityType) | Chat | |
setExtranet(?bool $extranet) | Chat | |
setLastMessageId(int $lastMessageId) | Chat | |
setLastMessageStatus(?string $lastMessageStatus) | Chat | |
setManageSettings(string $manageSettings) | Chat | |
setManageUI(string $manageUI) | Chat | |
setManageUsersAdd(string $manageUsersAdd) | Chat | |
setManageUsersDelete(string $manageUsersDelete) | Chat | |
setMessageCount(int $messageCount) | Chat | |
setParentChatId(int $parentChatId) | Chat | |
setParentMessageId(int $messageId) | Chat | |
setPinMessageId(?int $pinMessageId) | Chat | |
setPrevMessageId(int $prevMessageId) | Chat | |
setPrimaryId(int $primaryId) | Chat | |
setRegistry(Registry $registry) | RegistryEntry | |
setRelations(RelationCollection $relations) | Chat | |
setTitle(?string $title) | Chat | |
setType(string $type) | Chat | |
setUserCount(int $userCount) | Chat | |
setUserIds(?array $userIds) | Chat | protected |
startRecordVoice() | Chat | |
toArray() | ActiveRecord | |
toRestFormat(array $option=[]) | Chat | |
unreadToMessage(Message $message) | Chat | |
updateAvatar(string $avatarBase64, bool $withMessage=true, bool $skipRecent=false) | Chat | |
updateAvatarId(int $avatarId, bool $withMessage=true, bool $skipRecent=false) | Chat | |
updateIndex() | Chat | protected |
updateMessage(Message $message) | Chat | |
updateParentMessageCount() | Chat | |
updateStateAfterUserDelete(int $deletedUserId) | Chat | protected |
updateStateAfterUsersAdd(array $usersToAdd) | Chat | protected |
validateColor() | Chat | |