1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Chat
Граф наследования:Chat:
RegistryEntry ActiveRecord RestEntity PopupDataAggregatable Entity RestConvertible

Открытые типы

enum  ExtendedType : string { isInternal }

Открытые члены

 __construct ($source=null)
 save ()
 getStartId (?int $userId=null)
 isExist ()
 isCounterIncrementAllowed ()
 shouldAddToRecent ()
 getRecentSections ()
 getRecentSectionsForGuest ()
 add (array $params)
 containsCollaber ()
 containsCopilot ()
 getUserIds ()
 getAliasName ()
 setAliasName (string $aliasName)
 prepareAliasToLoad ($alias)
 getMarkedId ()
 setMarkedId (?int $markedId)
 markFilledNonCachedData (bool $isFilledNonCachedData)
 getRole ()
 checkColor ()
 setChatParams (array $chatParams=[])
 getChatParams ()
 checkAccess (int|User|null $user=null)
 getMessageRegistry ()
 getMessage (int $messageId)
 sendMessage (Message $message, ?SendingConfig $sendingConfig=null)
 onAfterMessageUpdate (Message $message)
 getRelationsForSendMessage ()
 updateMessage (Message $message)
 deleteMessage (Message $message)
 read (bool $onlyRecent=false, bool $byEvent=false)
 readAllMessages (bool $byEvent=false)
 readMessages (?MessageCollection $messages, bool $byEvent=false)
 readTo (Message $message, bool $byEvent=false)
 sendPushUpdateMessage (Message $message)
 startRecordVoice ()
 getLastMessageViews ()
 getLastMessageViewsByGroups ()
 getPrimaryId ()
 setPrimaryId (int $primaryId)
 getChatId ()
 getId ()
 setDialogId (string $dialogId)
 allowMention ()
 filterUsersToMention (array $userIds)
 filterUsersToMentionAnchor (array $userIds)
 getDialogId (?int $contextUserId=null)
 getDialogContextId ()
 setType (string $type)
 getType ()
 getCounterType ()
 setAuthorId (int $authorId)
 getAuthorId ()
 getAuthor ()
 setTitle (?string $title)
 getTitle ()
 getDisplayedTitle ()
 setDescription (?string $description)
 getDescription ()
 setColor (?string $color)
 getColor (bool $forRest=false)
 validateColor ()
 getDefaultColor ()
 setParentChatId (int $parentChatId)
 getParentChatId ()
 setParentMessageId (int $messageId)
 getParentMessageId ()
 setExtranet (?bool $extranet)
 getExtranet ()
 getDefaultExtranet ()
 setAvatarId (?int $avatarId)
 getAvatarId ()
 getAvatar (bool $addBlankPicture=false, bool $withDomain=false)
 setPinMessageId (?int $pinMessageId)
 getPinMessageId ()
 setCallType (?int $callType)
 getCallType ()
 setCallNumber (?string $callNumber)
 getCallNumber ()
 setEntityType (?string $entityType)
 getEntityType ()
 setEntityId (?string $entityId)
 getEntityId ()
 setEntityData1 (?string $entityData1)
 getEntityData1 ()
 setEntityData2 (?string $entityData2)
 getEntityData2 ()
 setEntityData3 (?string $entityData3)
 getEntityData3 ()
 setDiskFolderId (?int $diskFolderId)
 getDiskFolderId ()
 getOrCreateDiskFolder ()
 getStorageId ()
 getDiskFolder ()
 setMessageCount (int $messageCount)
 getMessageCount ()
 setUserCount (int $userCount)
 getUserCount ()
 setUserCounter (?int $userCounter)
 getUserCounter ()
 setPrevMessageId (int $prevMessageId)
 getPrevMessageId ()
 setLastMessageId (int $lastMessageId)
 getLastMessageId ()
 getLastFileId ()
 setLastMessageStatus (?string $lastMessageStatus)
 getLastMessageStatus ()
 getDefaultLastMessageStatus ()
 setDateCreate (?DateTime $dateCreate)
 getDateCreate ()
 getDefaultDateCreate ()
 getRelations ()
 getRawRelations ()
 getRelationFacade ()
 getRelationsByUserIds (array $userIds)
 getRelationByReason (Reason $reason)
 setRelations (RelationCollection $relations)
 getSelfRelation ()
 getRelationByUserId (int $userId)
 getRelationProvider ()
 getBackground ()
 getTextFieldEnabled ()
 getBotInChat ()
 isNew ()
 checkTitle ()
 setManageUsersAdd (string $manageUsersAdd)
 getManageUsersAdd ()
 getDefaultManageUsersAdd ()
 setManageUsersDelete (string $manageUsersDelete)
 getManageUsersDelete ()
 getDefaultManageUsersDelete ()
 setManageUI (string $manageUI)
 getManageUI ()
 getDefaultManageUI ()
 setManageSettings (string $manageSettings)
 getManageSettings ()
 getDefaultManageSettings ()
 setMessagesAutoDeleteDelay (int $messagesAutoDeleteDelay)
 getMessagesAutoDeleteDelay ()
 getDefaultMessagesAutoDeleteDelay ()
 setCanPost (string $canPost)
 setManageMessages (string $manageMessages)
 getManageMessages ()
 getDefaultManageMessages ()
 setManageMessagesAutoDelete (string $manageMessagesAutoDelete)
 getManageMessagesAutoDelete ()
 getDefaultManageMessagesAutoDelete ()
 getCallToken ()
 isAutoJoinEnabled ()
 canUserAutoJoin (?int $userId=null)
 join (bool $withMessage=true)
 addUsers (array $userIds, AddUsersConfig $config=new AddUsersConfig())
 deleteUser (int $userId, DeleteUserConfig $config=new DeleteUserConfig())
 hideUser (int $userId)
 getUserDeleteMessageText (int $deletedUserId)
 changeAuthor ()
 setContext (?Context $context)
 getLoadContextMessage (bool $ignoreMark=false)
 fillNonCachedData ()
 getEntityLink ()
 getMessageAutoDeleteConfigs ()
 getRecentConfig ()
 getPermissions ()
 getPopupData (array $excludedList=[])
 toRestFormat (array $option=[])
 toPullFormat ()
 getMultidialogData ()
 getManagerList (bool $fullList=true)
 getPublicOption ()
 getExtendedType (bool $forRest=true)
 getUnreadId ()
 getLastId ()
 deleteChat ()
 sendMessageUpdateAvatar (bool $skipRecent=false)
 needToSendPublicPull ()
 checkAllowedAction (string $action)
 canDo (Action $action, mixed $target=null)
Открытые члены унаследованные от RegistryEntry
 setRegistry (Registry $registry)
 getRegistry ()
Открытые члены унаследованные от ActiveRecord
 load ($source)
 prepareFields ()
 getDataEntity ()
 delete ()
 markChanged ()
 isChanged ()
 markDrop ()
 isDeleted ()
 fill (array $source)
 toArray (bool $recursive)
Открытые члены унаследованные от Entity
 initializeField ($fieldName, $fieldInfo)
 reinitialize ($className)
 postInitialize ()
 getObjectClass ()
 getObjectClassName ()
 getCollectionClass ()
 getCollectionClassName ()
 createObject ($setDefaultValues=true)
 createCollection ()
 wakeUpObject ($row)
 wakeUpCollection ($rows)
 addField ($fieldInfo, $fieldName=null)
 getReferencesCountTo ($refEntityName)
 getReferencesTo ($refEntityName)
 getFields ()
 getField ($name)
 hasField ($name)
 getScalarFields ()
 getUField ($name)
 getName ()
 getFullName ()
 getNamespace ()
 getModule ()
 getDBTableName ()
 getPrimary ()
 getPrimaryArray ()
 getAutoIncrement ()
 isUts ()
 isUtm ()
 getUfId ()
 setDefaultScope ($query)
 getCode ()
 getLangCode ()
 __clone ()
 createDbTable ()
 readFromCache ($ttl, $cacheId, $countTotal=false)
 writeToCache (Main\DB\Result $result, $cacheId, $countTotal=false)
 getCacheTtl ($ttl)
 cleanCache ()
 enableFullTextIndex ($field, $mode=true)
 fullTextIndexEnabled ($field)

Открытые статические члены

static getInstance (?int $chatId)
static cleanCache (int $id, bool $cleanStaticCache=true)
static cleanAccessCache (int $chatId)
static fillSelfRelations (array $chats, ?int $userId=null)
static readAllChats (int $userId)
static getDataClass ()
static find (array $params, ?Context $context=null)
static getSharedChatsWithUser (int $userId, int $limit=50, int $offset=0, ?int $currentUserId=null)
static getDialogIdByContextId (string $contextId, ?int $userId=null)
static getCanPostList ()
static loadPhrases ()
static getRestEntityName ()
static updateStateAfterOrmEvent (int $id, array $fields)
Открытые статические члены унаследованные от Entity
static get ($entityName)
static has ($entityName)
static getInstance ($entityName)
static getDefaultObjectClassName ($entityName)
static getDefaultCollectionClassName ($entityName)
static isExists ($name)
static normalizeEntityClass ($entityName)
static getEntityClassParts ($class)
static camel2snake ($str)
static snake2camel ($str)
static normalizeName ($entityName)
static compileObjectClass ($dataClass)
static compileCollectionClass ($dataClass)
static destroy ($entity)
static onUserTypeChange ($userfield, $id=null)

Поля данных

const IM_TYPE_PRIVATE = 'P'
const IM_TYPE_CHAT = 'C'
const IM_TYPE_COMMENT = 'T'
const IM_TYPE_OPEN_LINE = 'L'
const IM_TYPE_SYSTEM = 'S'
const IM_TYPE_CHANNEL = 'N'
const IM_TYPE_OPEN_CHANNEL = 'J'
const IM_TYPE_OPEN = 'O'
const IM_TYPE_COPILOT = 'A'
const IM_TYPE_COLLAB = 'B'
const IM_TYPE_EXTERNAL = 'X'
const IM_TYPE_AI_ASSISTANT = 'Q'
const IM_TYPE_AI_ASSISTANT_ENTITY = 'E'
const IM_TYPES
const IM_TYPES_TRANSLATE
const ENTITY_TYPE_VIDEOCONF = 'VIDEOCONF'
const ENTITY_TYPE_GENERAL = 'GENERAL'
const ENTITY_TYPE_FAVORITE = 'FAVORITE'
const ENTITY_TYPE_GENERAL_CHANNEL = 'GENERAL_CHANNEL'
const ENTITY_TYPE_PRIVATE_AI_ASSISTANT = 'AI_ASSISTANT_PRIVATE'
const ENTITY_TYPE_LINE = 'LINES'
const ENTITY_TYPE_LIVECHAT = 'LIVECHAT'
const AVAILABLE_PARAMS
const MANAGE_RIGHTS_NONE = 'NONE'
const MANAGE_RIGHTS_MEMBER = 'MEMBER'
const MANAGE_RIGHTS_OWNER = 'OWNER'
const MANAGE_RIGHTS_MANAGERS = 'MANAGER'
const ROLE_OWNER = 'OWNER'
const ROLE_MANAGER = 'MANAGER'
const ROLE_MEMBER = 'MEMBER'
const ROLE_GUEST = 'GUEST'
const ROLE_NONE = 'NONE'
Поля данных унаследованные от Entity
const DEFAULT_OBJECT_PREFIX = 'EO_'

Защищенные члены

 setUserIds (?array $userIds)
 checkAccessInternal (int $userId)
 getUserId ($user)
 onBeforeMessageSend (Message $message, SendingConfig $config)
 onAfterMessageSend (Message $message, SendingService $sendingService)
 processSendToOtherChat (Message $message, SendingConfig $config)
 prepareMessage (Message $message)
 updateStateAfterMessageSend (Message $message, SendingConfig $sendingConfig)
 updateChatAfterMessageSend (Message $message)
 updateRecentAfterMessageSend (Message $message, SendingConfig $config)
 getUsersToAddToRecent ()
 updateRecentItems (Message $message)
 addToRecent (array $users, Message $message)
 insertRecent (array $fields)
 getFieldsForRecent (int $userId, Message $message)
 getUpdatedFieldsForRecent (Message $message)
 updateRelationsAfterMessageSend (Message $message)
 updateCountersAfterMessageSend (Message $message, SendingConfig $sendingConfig)
 logToSyncAfterMessageSend (Message $message)
 getMentionService (SendingConfig $config)
 sendPushRead (MessageCollection $messages, int $lastId, int $counter)
 getPushService (Message $message, SendingConfig $config)
 sendPushReadSelf (MessageCollection $messages, int $lastId, int $counter)
 sendPushReadOpponent (MessageCollection $messages, int $lastId)
 sendEventRead (int $startId, int $endId, int $counter, bool $byEvent)
 getUsersForPush (bool $skipBot=false, bool $skipSelf=true)
 setChatId (int $chatId)
 getDefaultType ()
 beforeSaveType ()
 getDefaultEntityType ()
 setDiskFolder (?Folder $folder)
 createDiskFolder ()
 getAccessCodesForDiskFolder ()
 getReadService ()
 resolveRelationConflicts (array $userIds, AddUsersConfig $config)
 sendMessageUsersAdd (array $usersToAdd, AddUsersConfig $config)
 sendPushUsersAdd (array $usersToAdd, RelationCollection $oldRelations)
 updateStateAfterRelationsAdd (array $usersToAdd)
 updateStateAfterMembersAdd (array $newMembers)
 addUsersToRelation (array $usersToAdd, AddUsersConfig $config)
 createRelation (int $userId, AddUsersConfig $config)
 getValidUsersToAdd (array $userIds)
 isValidToAdd (int $userId)
 sendEventUsersAdd (array $usersToAdd)
 needToSendMessageUserDelete ()
 sendMessageUserDelete (int $userId, DeleteUserConfig $config)
 prepareMessageParamsFromUserDelete (string $message, bool $skipRecent)
 sendNotificationUserDelete (int $userId, DeleteUserConfig $config)
 updateStateAfterUserDelete (int $deletedUserId, DeleteUserConfig $config)
 clearLegacyCache (int $userId)
 sendEventUserDelete (int $userId)
 sendPushUserDelete (int $userId, RelationCollection $oldRelations)
 getMuteList (bool $fullList=false)
 addIndex ()
 updateIndex ()
 disableUserDeleteMessage (bool $skipRecent=false)
 canDisableUserDeleteMessage ()
 sendMessageOnUserDeleteMessageDisabled (bool $skipRecent)
Защищенные члены унаследованные от Entity
 appendField (Field $field)
 getCacheDir ()

Защищенные статические члены

static mirrorDataEntityFields ()

Защищенные данные

const ENTITY_TYPES
const EXTRANET_CAN_SEE_HISTORY = true
const MAX_USERS_TO_DISABLE_DELETE_MESSAGE = 50
array $accessCache = []
int $chatId = null
string $dialogId = null
string $type = null
int $authorId = null
string $title = null
string $description = null
string $color = null
int $parentChatId = 0
int $parentMessageId = 0
bool $extranet = null
int $avatarId = null
int $pinMessageId = null
int $callType = null
string $callNumber = null
string $entityType = null
string $entityId = null
string $entityData1 = null
string $entityData2 = null
string $entityData3 = null
int $diskFolderId = null
Folder $diskFolder = null
int $messageCount = null
int $userCount = null
int $userCounter = null
int $prevMessageId = null
int $lastMessageId = null
int $lastFileId = null
DateTime $dateMessage = null
int $markedId = null
string $role = null
string $aliasName = null
string $lastMessageStatus = null
DateTime $dateCreate = null
string $manageUsersAdd = null
string $manageUsersDelete = null
string $manageUI = null
string $manageSettings = null
string $manageMessages = null
array $usersIds = null
int $messagesAutoDeleteDelay = null
Params $chatParams = null
Registry $messageRegistry
Im V2 Relation ChatRelations $chatRelations = null
Background $background
TextFieldEnabled $textFieldEnabled
ReadService $readService = null
RecentConfigManager $recentConfigManager
RelationProvider $relationProvider
bool $isFilledNonCachedData = false
bool $isDiskFolderFilled = false
Im V2 Call CallToken $callToken = null
Защищенные данные унаследованные от Entity
 $className
 $module
 $name
 $connectionName
 $dbTableName
 $primary
 $autoIncrement
 $uf_id
 $isUts
 $isUtm
 $fields
 $fieldsMap
 $u_fields
 $code
 $references
 $isClone = false

Статические защищенные данные

static array $chatStaticCache = []
Статические защищенные данные унаследованные от Entity
static $instances
static $ufIdIndex = []

Подробное описание

Chat version #2

См. определение в файле Chat.php строка 69

Перечисления

◆ ExtendedType

enum ExtendedType : string
Элементы перечислений
isInternal 

См. определение в файле ExtendedType.php строка 7

Конструктор(ы)

◆ __construct()

__construct ( $source = null)
Аргументы
int | array | EO_Chat | null$source

См. определение в файле Chat.php строка 312

Методы

◆ add()

add ( array $params)

См. определение в файле Chat.php строка 435

◆ addIndex()

addIndex ( )
protected

См. определение в файле Chat.php строка 3757

◆ addToRecent()

addToRecent ( array $users,
Message $message )
protected

См. определение в файле Chat.php строка 846

◆ addUsers()

addUsers ( array $userIds,
AddUsersConfig $config = new AddUsersConfig() )
Аргументы
array$userIds
Возвращает
self

См. определение в файле Chat.php строка 2835

◆ addUsersToRelation()

addUsersToRelation ( array $usersToAdd,
AddUsersConfig $config )
protected

См. определение в файле Chat.php строка 3023

◆ allowMention()

allowMention ( )
abstract

Allows to send mention notification.

Возвращает
bool

◆ beforeSaveType()

beforeSaveType ( )
protected

См. определение в файле Chat.php строка 1963

◆ canDisableUserDeleteMessage()

canDisableUserDeleteMessage ( )
protected

См. определение в файле Chat.php строка 3911

◆ canDo()

canDo ( Action $action,
mixed $target = null )

См. определение в файле Chat.php строка 3954

◆ canUserAutoJoin()

canUserAutoJoin ( ?int $userId = null)

См. определение в файле Chat.php строка 2817

◆ changeAuthor()

changeAuthor ( )

См. определение в файле Chat.php строка 3397

◆ checkAccess()

checkAccess ( int|User|null $user = null)
final

См. определение в файле Chat.php строка 580

◆ checkAccessInternal()

checkAccessInternal ( int $userId)
protected

См. определение в файле Chat.php строка 601

◆ checkAllowedAction()

checkAllowedAction ( string $action)

См. определение в файле Chat.php строка 3939

◆ checkColor()

checkColor ( )

См. определение в файле Chat.php строка 549

◆ checkTitle()

checkTitle ( )

См. определение в файле Chat.php строка 2542

◆ cleanAccessCache()

cleanAccessCache ( int $chatId)
static

См. определение в файле Chat.php строка 370

◆ cleanCache()

cleanCache ( int $id,
bool $cleanStaticCache = true )
static

См. определение в файле Chat.php строка 359

◆ clearLegacyCache()

clearLegacyCache ( int $userId)
protected

См. определение в файле Chat.php строка 3348

◆ containsCollaber()

containsCollaber ( )

См. определение в файле Chat.php строка 440

◆ containsCopilot()

containsCopilot ( )

См. определение в файле Chat.php строка 445

◆ createDiskFolder()

createDiskFolder ( )
protected

См. определение в файле Chat.php строка 2285

◆ createRelation()

createRelation ( int $userId,
AddUsersConfig $config )
protected

См. определение в файле Chat.php строка 3049

◆ deleteChat()

deleteChat ( )
Исключения

Exception

См. определение в файле Chat.php строка 3806

◆ deleteMessage()

deleteMessage ( Message $message)
Аргументы
Message$message
Возвращает
Result

См. определение в файле Chat.php строка 977

◆ deleteUser()

deleteUser ( int $userId,
DeleteUserConfig $config = new DeleteUserConfig() )

См. определение в файле Chat.php строка 3153

◆ disableUserDeleteMessage()

disableUserDeleteMessage ( bool $skipRecent = false)
protected

См. определение в файле Chat.php строка 3897

◆ fillNonCachedData()

fillNonCachedData ( )

См. определение в файле Chat.php строка 3521

◆ fillSelfRelations()

fillSelfRelations ( array $chats,
?int $userId = null )
static
Аргументы
static[]$chats
int | null$userId
Возвращает
void

См. определение в файле Chat.php строка 990

◆ filterUsersToMention()

filterUsersToMention ( array $userIds)

См. определение в файле Chat.php строка 1840

◆ filterUsersToMentionAnchor()

filterUsersToMentionAnchor ( array $userIds)

См. определение в файле Chat.php строка 1861

◆ find()

find ( array $params,
?Context $context = null )
static

Looks for chat by its parameters.

Аргументы
array$params
Context | null$context
Возвращает
Result

См. определение в файле Chat.php строка 1632

◆ getAccessCodesForDiskFolder()

getAccessCodesForDiskFolder ( )
protected

См. определение в файле Chat.php строка 2313

◆ getAliasName()

getAliasName ( )

См. определение в файле Chat.php строка 462

◆ getAuthor()

getAuthor ( )

См. определение в файле Chat.php строка 1987

◆ getAuthorId()

getAuthorId ( )

См. определение в файле Chat.php строка 1982

◆ getAvatar()

getAvatar ( bool $addBlankPicture = false,
bool $withDomain = false )

См. определение в файле Chat.php строка 2109

◆ getAvatarId()

getAvatarId ( )

См. определение в файле Chat.php строка 2104

◆ getBackground()

getBackground ( )

См. определение в файле Chat.php строка 2508

◆ getBotInChat()

getBotInChat ( )

См. определение в файле Chat.php строка 2522

◆ getCallNumber()

getCallNumber ( )

См. определение в файле Chat.php строка 2145

◆ getCallToken()

getCallToken ( )

См. определение в файле Chat.php строка 2801

◆ getCallType()

getCallType ( )

См. определение в файле Chat.php строка 2133

◆ getCanPostList()

getCanPostList ( )
static

См. определение в файле Chat.php строка 2791

◆ getChatId()

getChatId ( )

См. определение в файле Chat.php строка 1797

◆ getChatParams()

getChatParams ( )

См. определение в файле Chat.php строка 568

◆ getColor()

getColor ( bool $forRest = false)

См. определение в файле Chat.php строка 2028

◆ getCounterType()

getCounterType ( )

См. определение в файле Chat.php строка 1958

◆ getDataClass()

getDataClass ( )
static
Возвращает
string|DataManager;

Замещает ActiveRecord.

См. определение в файле Chat.php строка 1599

◆ getDateCreate()

getDateCreate ( )

См. определение в файле Chat.php строка 2429

◆ getDefaultColor()

getDefaultColor ( )

См. определение в файле Chat.php строка 2049

◆ getDefaultDateCreate()

getDefaultDateCreate ( )

См. определение в файле Chat.php строка 2434

◆ getDefaultEntityType()

getDefaultEntityType ( )
protected

См. определение в файле Chat.php строка 2167

◆ getDefaultExtranet()

getDefaultExtranet ( )

См. определение в файле Chat.php строка 2092

◆ getDefaultLastMessageStatus()

getDefaultLastMessageStatus ( )

См. определение в файле Chat.php строка 2417

◆ getDefaultManageMessages()

getDefaultManageMessages ( )

См. определение в файле Chat.php строка 2727

◆ getDefaultManageMessagesAutoDelete()

getDefaultManageMessagesAutoDelete ( )

См. определение в файле Chat.php строка 2786

◆ getDefaultManageSettings()

getDefaultManageSettings ( )

См. определение в файле Chat.php строка 2660

◆ getDefaultManageUI()

getDefaultManageUI ( )

См. определение в файле Chat.php строка 2634

◆ getDefaultManageUsersAdd()

getDefaultManageUsersAdd ( )

См. определение в файле Chat.php строка 2573

◆ getDefaultManageUsersDelete()

getDefaultManageUsersDelete ( )

См. определение в файле Chat.php строка 2604

◆ getDefaultMessagesAutoDeleteDelay()

getDefaultMessagesAutoDeleteDelay ( )

См. определение в файле Chat.php строка 2681

◆ getDefaultType()

getDefaultType ( )
abstractprotected

◆ getDescription()

getDescription ( )

См. определение в файле Chat.php строка 2016

◆ getDialogContextId()

getDialogContextId ( )

См. определение в файле Chat.php строка 1890

◆ getDialogId()

getDialogId ( ?int $contextUserId = null)

См. определение в файле Chat.php строка 1878

◆ getDialogIdByContextId()

getDialogIdByContextId ( string $contextId,
?int $userId = null )
static
См. также
\Bitrix\Im\V2\Message::getContextId
Аргументы
string$contextId
int | null$userId
Возвращает
string

См. определение в файле Chat.php строка 1901

◆ getDiskFolder()

getDiskFolder ( )

См. определение в файле Chat.php строка 2256

◆ getDiskFolderId()

getDiskFolderId ( )

См. определение в файле Chat.php строка 2227

◆ getDisplayedTitle()

getDisplayedTitle ( )

См. определение в файле Chat.php строка 2004

◆ getEntityData1()

getEntityData1 ( )

См. определение в файле Chat.php строка 2191

◆ getEntityData2()

getEntityData2 ( )

См. определение в файле Chat.php строка 2203

◆ getEntityData3()

getEntityData3 ( )

См. определение в файле Chat.php строка 2215

◆ getEntityId()

getEntityId ( )

См. определение в файле Chat.php строка 2179

◆ getEntityLink()

getEntityLink ( )

См. определение в файле Chat.php строка 3539

◆ getEntityType()

getEntityType ( )

См. определение в файле Chat.php строка 2157

◆ getExtendedType()

getExtendedType ( bool $forRest = true)

См. определение в файле Chat.php строка 3727

◆ getExtranet()

getExtranet ( )

См. определение в файле Chat.php строка 2087

◆ getFieldsForRecent()

getFieldsForRecent ( int $userId,
Message $message )
protected

См. определение в файле Chat.php строка 877

◆ getId()

getId ( )

См. определение в файле Chat.php строка 1802

◆ getInstance()

getInstance ( ?int $chatId)
static
Аргументы
int | null$chatId
Возвращает
static

См. определение в файле Chat.php строка 335

◆ getLastFileId()

getLastFileId ( )

См. определение в файле Chat.php строка 2398

◆ getLastId()

getLastId ( )

См. определение в файле Chat.php строка 3746

◆ getLastMessageId()

getLastMessageId ( )

См. определение в файле Chat.php строка 2391

◆ getLastMessageStatus()

getLastMessageStatus ( )

См. определение в файле Chat.php строка 2412

◆ getLastMessageViews()

getLastMessageViews ( )

См. определение в файле Chat.php строка 1270

◆ getLastMessageViewsByGroups()

getLastMessageViewsByGroups ( )

См. определение в файле Chat.php строка 1282

◆ getLoadContextMessage()

getLoadContextMessage ( bool $ignoreMark = false)

См. определение в файле Chat.php строка 3507

◆ getManageMessages()

getManageMessages ( )

См. определение в файле Chat.php строка 2722

◆ getManageMessagesAutoDelete()

getManageMessagesAutoDelete ( )

См. определение в файле Chat.php строка 2775

◆ getManagerList()

getManagerList ( bool $fullList = true)

См. определение в файле Chat.php строка 3671

◆ getManageSettings()

getManageSettings ( )

См. определение в файле Chat.php строка 2655

◆ getManageUI()

getManageUI ( )

См. определение в файле Chat.php строка 2629

◆ getManageUsersAdd()

getManageUsersAdd ( )

См. определение в файле Chat.php строка 2567

◆ getManageUsersDelete()

getManageUsersDelete ( )

См. определение в файле Chat.php строка 2598

◆ getMarkedId()

getMarkedId ( )

См. определение в файле Chat.php строка 489

◆ getMentionService()

getMentionService ( SendingConfig $config)
protected

См. определение в файле Chat.php строка 953

◆ getMessage()

getMessage ( int $messageId)
Аргументы
int$messageId
Возвращает
Message|null

См. определение в файле Chat.php строка 642

◆ getMessageAutoDeleteConfigs()

getMessageAutoDeleteConfigs ( )

См. определение в файле Chat.php строка 3544

◆ getMessageCount()

getMessageCount ( )

См. определение в файле Chat.php строка 2335

◆ getMessageRegistry()

getMessageRegistry ( )
Возвращает
Registry<Message>

См. определение в файле Chat.php строка 633

◆ getMessagesAutoDeleteDelay()

getMessagesAutoDeleteDelay ( )

См. определение в файле Chat.php строка 2676

◆ getMultidialogData()

getMultidialogData ( )

См. определение в файле Chat.php строка 3666

◆ getMuteList()

getMuteList ( bool $fullList = false)
protected

См. определение в файле Chat.php строка 3686

◆ getOrCreateDiskFolder()

getOrCreateDiskFolder ( )

См. определение в файле Chat.php строка 2238

◆ getParentChatId()

getParentChatId ( )

См. определение в файле Chat.php строка 2063

◆ getParentMessageId()

getParentMessageId ( )

См. определение в файле Chat.php строка 2075

◆ getPermissions()

getPermissions ( )

См. определение в файле Chat.php строка 3554

◆ getPinMessageId()

getPinMessageId ( )

См. определение в файле Chat.php строка 2121

◆ getPopupData()

getPopupData ( array $excludedList = [])

Returns the data to be raised to the top of the REST response. Works on the principle of the composite pattern.

См. также
RestAdapter::toRestFormat()
Аргументы
string[]$excludedList
Возвращает
PopupData

Замещает PopupDataAggregatable.

См. определение в файле Chat.php строка 3567

◆ getPrevMessageId()

getPrevMessageId ( )

См. определение в файле Chat.php строка 2379

◆ getPrimaryId()

getPrimaryId ( )
Возвращает
int|null

Замещает ActiveRecord.

См. определение в файле Chat.php строка 1607

◆ getPublicOption()

getPublicOption ( )

См. определение в файле Chat.php строка 3714

◆ getPushService()

getPushService ( Message $message,
SendingConfig $config )
abstractprotected

◆ getRawRelations()

getRawRelations ( )

См. определение в файле Chat.php строка 2459

◆ getReadService()

getReadService ( )
protected

См. определение в файле Chat.php строка 2439

◆ getRecentConfig()

getRecentConfig ( )

См. определение в файле Chat.php строка 3549

◆ getRecentSections()

getRecentSections ( )

См. определение в файле Chat.php строка 425

◆ getRecentSectionsForGuest()

getRecentSectionsForGuest ( )

См. определение в файле Chat.php строка 430

◆ getRelationByReason()

getRelationByReason ( Reason $reason)

См. определение в файле Chat.php строка 2479

◆ getRelationByUserId()

getRelationByUserId ( int $userId)

См. определение в файле Chat.php строка 2496

◆ getRelationFacade()

getRelationFacade ( )

См. определение в файле Chat.php строка 2464

◆ getRelationProvider()

getRelationProvider ( )

См. определение в файле Chat.php строка 2501

◆ getRelations()

getRelations ( )
Аргументы
array$options
Возвращает
RelationCollection

См. определение в файле Chat.php строка 2454

◆ getRelationsByUserIds()

getRelationsByUserIds ( array $userIds)

См. определение в файле Chat.php строка 2474

◆ getRelationsForSendMessage()

getRelationsForSendMessage ( )

См. определение в файле Chat.php строка 737

◆ getRestEntityName()

getRestEntityName ( )
static

Returns the name of the entity that will be used in the rest response

Возвращает
string

Замещает RestConvertible.

См. определение в файле Chat.php строка 3534

◆ getRole()

getRole ( )

См. определение в файле Chat.php строка 514

◆ getSelfRelation()

getSelfRelation ( )

См. определение в файле Chat.php строка 2491

◆ getSharedChatsWithUser()

getSharedChatsWithUser ( int $userId,
int $limit = 50,
int $offset = 0,
?int $currentUserId = null )
static
Аргументы
int$currentUserId
int$userId
int$limit
int$offset
Возвращает
static[]

См. определение в файле Chat.php строка 1737

◆ getStartId()

getStartId ( ?int $userId = null)

См. определение в файле Chat.php строка 405

◆ getStorageId()

getStorageId ( )

См. определение в файле Chat.php строка 2251

◆ getTextFieldEnabled()

getTextFieldEnabled ( )

См. определение в файле Chat.php строка 2515

◆ getTitle()

getTitle ( )

Переопределяет метод предка Entity.

См. определение в файле Chat.php строка 1999

◆ getType()

getType ( )

См. определение в файле Chat.php строка 1946

◆ getUnreadId()

getUnreadId ( )

См. определение в файле Chat.php строка 3735

◆ getUpdatedFieldsForRecent()

getUpdatedFieldsForRecent ( Message $message)
protected

См. определение в файле Chat.php строка 899

◆ getUserCount()

getUserCount ( )

См. определение в файле Chat.php строка 2349

◆ getUserCounter()

getUserCounter ( )

См. определение в файле Chat.php строка 2362

◆ getUserDeleteMessageText()

getUserDeleteMessageText ( int $deletedUserId)

См. определение в файле Chat.php строка 3282

◆ getUserId()

getUserId ( $user)
protected

См. определение в файле Chat.php строка 606

◆ getUserIds()

getUserIds ( )

См. определение в файле Chat.php строка 457

◆ getUsersForPush()

getUsersForPush ( bool $skipBot = false,
bool $skipSelf = true )
protected

См. определение в файле Chat.php строка 1346

◆ getUsersToAddToRecent()

getUsersToAddToRecent ( )
protected

См. определение в файле Chat.php строка 833

◆ getValidUsersToAdd()

getValidUsersToAdd ( array $userIds)
protected

См. определение в файле Chat.php строка 3073

◆ hideUser()

hideUser ( int $userId)

См. определение в файле Chat.php строка 3192

◆ insertRecent()

insertRecent ( array $fields)
protected

См. определение в файле Chat.php строка 869

◆ isAutoJoinEnabled()

isAutoJoinEnabled ( )

См. определение в файле Chat.php строка 2812

◆ isCounterIncrementAllowed()

isCounterIncrementAllowed ( )

См. определение в файле Chat.php строка 415

◆ isExist()

isExist ( )

См. определение в файле Chat.php строка 410

◆ isNew()

isNew ( )

См. определение в файле Chat.php строка 2537

◆ isValidToAdd()

isValidToAdd ( int $userId)
protected

См. определение в файле Chat.php строка 3096

◆ join()

join ( bool $withMessage = true)

См. определение в файле Chat.php строка 2824

◆ loadPhrases()

loadPhrases ( )
static

Lazy load message's context phrases.

Возвращает
void

См. определение в файле Chat.php строка 3493

◆ logToSyncAfterMessageSend()

logToSyncAfterMessageSend ( Message $message)
protected

См. определение в файле Chat.php строка 932

◆ markFilledNonCachedData()

markFilledNonCachedData ( bool $isFilledNonCachedData)

См. определение в файле Chat.php строка 505

◆ mirrorDataEntityFields()

mirrorDataEntityFields ( )
staticprotected
Возвращает
array<array>
См. также
Chat::$chatId
Chat::setChatId
Chat::getChatId
Chat::$type
Chat::setType
Chat::getType
Chat::getDefaultType
Chat::beforeSaveType
Chat::$authorId
Chat::setAuthorId
Chat::getAuthorId
Chat::$color
Chat::getColor
Chat::setColor
Chat::checkColor
Chat::$title
Chat::setTitle
Chat::getTitle
Chat::checkTitle
Chat::$description
Chat::getDescription
Chat::setDescription
Chat::$parentChatId
Chat::getParentChatId
Chat::setParentChatId
Chat::$parentMessageId
Chat::getParentMessageId
Chat::setParentMessageId
Chat::$extranet
Chat::getExtranet
Chat::setExtranet
Chat::getDefaultExtranet
Chat::$avatarId
Chat::getAvatarId
Chat::setAvatarId
Chat::$pinMessageId
Chat::getPinMessageId
Chat::setPinMessageId
Chat::$callType
Chat::getCallType
Chat::setCallType
Chat::$callNumber
Chat::getCallNumber
Chat::setCallNumber
Chat::$entityType
Chat::getEntityType
Chat::setEntityType
Chat::getDefaultEntityType
Chat::$entityId
Chat::getEntityId
Chat::setEntityId
Chat::$entityData1
Chat::getEntityData1
Chat::setEntityData1
Chat::$entityData2
Chat::getEntityData2
Chat::setEntityData2
Chat::$entityData3
Chat::getEntityData3
Chat::setEntityData3
Chat::$diskFolderId
Chat::getDiskFolderId
Chat::setDiskFolderId
Chat::$messageCount
Chat::getMessageCount
Chat::setMessageCount
Chat::$userCount
Chat::getUserCount
Chat::setUserCount
Chat::$prevMessageId
Chat::getPrevMessageId
Chat::setPrevMessageId
Chat::$lastMessageId
Chat::getLastMessageId
Chat::setLastMessageId
Chat::$lastMessageStatus
Chat::getLastMessageStatus
Chat::setLastMessageStatus
Chat::getDefaultLastMessageStatus
Chat::$dateCreate
Chat::getDateCreate
Chat::setDateCreate
Chat::getDefaultDateCreate
Chat::$manageUsersAdd
Chat::getManageUsersAdd
Chat::setManageUsersAdd
Chat::getDefaultManageUsersAdd
Chat::$manageUsersDelete
Chat::getManageUsersDelete
Chat::setManageUsersDelete
Chat::getDefaultManageUsersDelete
Chat::$manageUI
Chat::getManageUI
Chat::setManageUI
Chat::getDefaultManageUI
Chat::$manageSettings
Chat::getManageSettings
Chat::setManageSettings
Chat::getDefaultManageSettings
Chat::getManageMessagesAutoDelete
Chat::setManageMessagesAutoDelete
Chat::getDefaultManageMessagesAutoDelete
Chat::$messagesAutoDeleteDelay
Chat::getMessagesAutoDeleteDelay
Chat::setMessagesAutoDeleteDelay
Chat::getDefaultMessagesAutoDeleteDelay()
Chat::$manageMessages
Chat::getManageMessages
Chat::setManageMessages
Chat::getDefaultManageMessages
Chat::getUserIds
Chat::setUserIds
Chat::getAliasName
Chat::setAliasName
Chat::prepareAliasToLoad
Chat::setRelations
Chat::setChatParams

См. определение в файле Chat.php строка 1379

◆ needToSendMessageUserDelete()

needToSendMessageUserDelete ( )
protected

См. определение в файле Chat.php строка 3208

◆ needToSendPublicPull()

needToSendPublicPull ( )

См. определение в файле Chat.php строка 3934

◆ onAfterMessageSend()

onAfterMessageSend ( Message $message,
SendingService $sendingService )
protected

См. определение в файле Chat.php строка 742

◆ onAfterMessageUpdate()

onAfterMessageUpdate ( Message $message)

См. определение в файле Chat.php строка 718

◆ onBeforeMessageSend()

onBeforeMessageSend ( Message $message,
SendingConfig $config )
protected

См. определение в файле Chat.php строка 723

◆ prepareAliasToLoad()

prepareAliasToLoad ( $alias)

См. определение в файле Chat.php строка 474

◆ prepareMessage()

prepareMessage ( Message $message)
protected

См. определение в файле Chat.php строка 772

◆ prepareMessageParamsFromUserDelete()

prepareMessageParamsFromUserDelete ( string $message,
bool $skipRecent )
protected

См. определение в файле Chat.php строка 3234

◆ processSendToOtherChat()

processSendToOtherChat ( Message $message,
SendingConfig $config )
protected

См. определение в файле Chat.php строка 764

◆ read()

read ( bool $onlyRecent = false,
bool $byEvent = false )

См. определение в файле Chat.php строка 1042

◆ readAllChats()

readAllChats ( int $userId)
static

См. определение в файле Chat.php строка 1018

◆ readAllMessages()

readAllMessages ( bool $byEvent = false)

См. определение в файле Chat.php строка 1061

◆ readMessages()

readMessages ( ?MessageCollection $messages,
bool $byEvent = false )

См. определение в файле Chat.php строка 1066

◆ readTo()

readTo ( Message $message,
bool $byEvent = false )

См. определение в файле Chat.php строка 1107

◆ resolveRelationConflicts()

resolveRelationConflicts ( array $userIds,
AddUsersConfig $config )
protected

См. определение в файле Chat.php строка 2869

◆ save()

save ( )

Saves object state into database.

Возвращает
Result

Замещает ActiveRecord.

См. определение в файле Chat.php строка 378

◆ sendEventRead()

sendEventRead ( int $startId,
int $endId,
int $counter,
bool $byEvent )
protected

См. определение в файле Chat.php строка 1253

◆ sendEventUserDelete()

sendEventUserDelete ( int $userId)
protected

См. определение в файле Chat.php строка 3353

◆ sendEventUsersAdd()

sendEventUsersAdd ( array $usersToAdd)
protected

См. определение в файле Chat.php строка 3108

◆ sendMessage()

sendMessage ( Message $message,
?SendingConfig $sendingConfig = null )

См. определение в файле Chat.php строка 661

◆ sendMessageOnUserDeleteMessageDisabled()

sendMessageOnUserDeleteMessageDisabled ( bool $skipRecent)
protected

См. определение в файле Chat.php строка 3916

◆ sendMessageUpdateAvatar()

sendMessageUpdateAvatar ( bool $skipRecent = false)

См. определение в файле Chat.php строка 3866

◆ sendMessageUserDelete()

sendMessageUserDelete ( int $userId,
DeleteUserConfig $config )
protected

См. определение в файле Chat.php строка 3213

◆ sendMessageUsersAdd()

sendMessageUsersAdd ( array $usersToAdd,
AddUsersConfig $config )
protected

См. определение в файле Chat.php строка 2905

◆ sendNotificationUserDelete()

sendNotificationUserDelete ( int $userId,
DeleteUserConfig $config )
protected

См. определение в файле Chat.php строка 3249

◆ sendPushRead()

sendPushRead ( MessageCollection $messages,
int $lastId,
int $counter )
protected

См. определение в файле Chat.php строка 1148

◆ sendPushReadOpponent()

sendPushReadOpponent ( MessageCollection $messages,
int $lastId )
protected

См. определение в файле Chat.php строка 1211

◆ sendPushReadSelf()

sendPushReadSelf ( MessageCollection $messages,
int $lastId,
int $counter )
protected

См. определение в файле Chat.php строка 1185

◆ sendPushUpdateMessage()

sendPushUpdateMessage ( Message $message)

См. определение в файле Chat.php строка 1143

◆ sendPushUserDelete()

sendPushUserDelete ( int $userId,
RelationCollection $oldRelations )
protected

См. определение в файле Chat.php строка 3387

◆ sendPushUsersAdd()

sendPushUsersAdd ( array $usersToAdd,
RelationCollection $oldRelations )
protected

См. определение в файле Chat.php строка 2968

◆ setAliasName()

setAliasName ( string $aliasName)

См. определение в файле Chat.php строка 467

◆ setAuthorId()

setAuthorId ( int $authorId)

См. определение в файле Chat.php строка 1976

◆ setAvatarId()

setAvatarId ( ?int $avatarId)

См. определение в файле Chat.php строка 2098

◆ setCallNumber()

setCallNumber ( ?string $callNumber)

См. определение в файле Chat.php строка 2139

◆ setCallType()

setCallType ( ?int $callType)

См. определение в файле Chat.php строка 2127

◆ setCanPost()

setCanPost ( string $canPost)
См. также
self::setManageMessages()
Аргументы
string$canPost
Возвращает
$this

См. определение в файле Chat.php строка 2692

◆ setChatId()

setChatId ( int $chatId)
protected

См. определение в файле Chat.php строка 1788

◆ setChatParams()

setChatParams ( array $chatParams = [])

См. определение в файле Chat.php строка 561

◆ setColor()

setColor ( ?string $color)

См. определение в файле Chat.php строка 2022

◆ setContext()

setContext ( ?Context $context)

См. определение в файле Chat.php строка 3498

◆ setDateCreate()

setDateCreate ( ?DateTime $dateCreate)

См. определение в файле Chat.php строка 2423

◆ setDescription()

setDescription ( ?string $description)

См. определение в файле Chat.php строка 2010

◆ setDialogId()

setDialogId ( string $dialogId)
Аргументы
string$dialogId
Возвращает
self

См. определение в файле Chat.php строка 1811

◆ setDiskFolder()

setDiskFolder ( ?Folder $folder)
protected

См. определение в файле Chat.php строка 2232

◆ setDiskFolderId()

setDiskFolderId ( ?int $diskFolderId)

См. определение в файле Chat.php строка 2221

◆ setEntityData1()

setEntityData1 ( ?string $entityData1)

См. определение в файле Chat.php строка 2185

◆ setEntityData2()

setEntityData2 ( ?string $entityData2)

См. определение в файле Chat.php строка 2197

◆ setEntityData3()

setEntityData3 ( ?string $entityData3)

См. определение в файле Chat.php строка 2209

◆ setEntityId()

setEntityId ( ?string $entityId)

См. определение в файле Chat.php строка 2173

◆ setEntityType()

setEntityType ( ?string $entityType)

См. определение в файле Chat.php строка 2151

◆ setExtranet()

setExtranet ( ?bool $extranet)

См. определение в файле Chat.php строка 2081

◆ setLastMessageId()

setLastMessageId ( int $lastMessageId)

См. определение в файле Chat.php строка 2385

◆ setLastMessageStatus()

setLastMessageStatus ( ?string $lastMessageStatus)

См. определение в файле Chat.php строка 2406

◆ setManageMessages()

setManageMessages ( string $manageMessages)
Аргументы
string$manageMessagesALL|OWNER|MANAGER
Возвращает
self

См. определение в файле Chat.php строка 2701

◆ setManageMessagesAutoDelete()

setManageMessagesAutoDelete ( string $manageMessagesAutoDelete)

См. определение в файле Chat.php строка 2732

◆ setManageSettings()

setManageSettings ( string $manageSettings)
Аргументы
string$manageSettingsOWNER|MANAGERS
Возвращает
self

См. определение в файле Chat.php строка 2643

◆ setManageUI()

setManageUI ( string $manageUI)
Аргументы
string$manageUIALL|OWNER|MANAGERS
Возвращает
self

См. определение в файле Chat.php строка 2613

◆ setManageUsersAdd()

setManageUsersAdd ( string $manageUsersAdd)
Аргументы
string$manageUsersAddMEMBER|OWNER|MANAGERS
Возвращает
self

См. определение в файле Chat.php строка 2551

◆ setManageUsersDelete()

setManageUsersDelete ( string $manageUsersDelete)
Аргументы
string$manageUsersDeleteMEMBER|OWNER|MANAGERS
Возвращает
self

См. определение в файле Chat.php строка 2582

◆ setMarkedId()

setMarkedId ( ?int $markedId)

См. определение в файле Chat.php строка 499

◆ setMessageCount()

setMessageCount ( int $messageCount)

См. определение в файле Chat.php строка 2329

◆ setMessagesAutoDeleteDelay()

setMessagesAutoDeleteDelay ( int $messagesAutoDeleteDelay)

См. определение в файле Chat.php строка 2665

◆ setParentChatId()

setParentChatId ( int $parentChatId)

См. определение в файле Chat.php строка 2057

◆ setParentMessageId()

setParentMessageId ( int $messageId)

См. определение в файле Chat.php строка 2069

◆ setPinMessageId()

setPinMessageId ( ?int $pinMessageId)

См. определение в файле Chat.php строка 2115

◆ setPrevMessageId()

setPrevMessageId ( int $prevMessageId)

См. определение в файле Chat.php строка 2373

◆ setPrimaryId()

setPrimaryId ( int $primaryId)
Аргументы
int$primaryId
Возвращает
self

Замещает ActiveRecord.

См. определение в файле Chat.php строка 1616

◆ setRelations()

setRelations ( RelationCollection $relations)

См. определение в файле Chat.php строка 2484

◆ setTitle()

setTitle ( ?string $title)

См. определение в файле Chat.php строка 1993

◆ setType()

setType ( string $type)
Аргументы
string$type
Возвращает
self

См. определение в файле Chat.php строка 1928

◆ setUserCount()

setUserCount ( int $userCount)

См. определение в файле Chat.php строка 2343

◆ setUserCounter()

setUserCounter ( ?int $userCounter)

См. определение в файле Chat.php строка 2356

◆ setUserIds()

setUserIds ( ?array $userIds)
protected

См. определение в файле Chat.php строка 450

◆ shouldAddToRecent()

shouldAddToRecent ( )

См. определение в файле Chat.php строка 420

◆ startRecordVoice()

startRecordVoice ( )

См. определение в файле Chat.php строка 1157

◆ toPullFormat()

toPullFormat ( )

См. определение в файле Chat.php строка 3629

◆ toRestFormat()

toRestFormat ( array $option = [])

Returns an array in JSON like format to return the entity as a rest response.

Аргументы
array$option
Возвращает
array|null

Замещает RestConvertible.

См. определение в файле Chat.php строка 3572

◆ updateChatAfterMessageSend()

updateChatAfterMessageSend ( Message $message)
protected

См. определение в файле Chat.php строка 800

◆ updateCountersAfterMessageSend()

updateCountersAfterMessageSend ( Message $message,
SendingConfig $sendingConfig )
protected

См. определение в файле Chat.php строка 921

◆ updateIndex()

updateIndex ( )
protected

См. определение в файле Chat.php строка 3774

◆ updateMessage()

updateMessage ( Message $message)
Аргументы
Message$message
Возвращает
Result

См. определение в файле Chat.php строка 962

◆ updateRecentAfterMessageSend()

updateRecentAfterMessageSend ( Message $message,
SendingConfig $config )
protected

См. определение в файле Chat.php строка 813

◆ updateRecentItems()

updateRecentItems ( Message $message)
protected

См. определение в файле Chat.php строка 838

◆ updateRelationsAfterMessageSend()

updateRelationsAfterMessageSend ( Message $message)
protected

См. определение в файле Chat.php строка 909

◆ updateStateAfterMembersAdd()

updateStateAfterMembersAdd ( array $newMembers)
protected

См. определение в файле Chat.php строка 2996

◆ updateStateAfterMessageSend()

updateStateAfterMessageSend ( Message $message,
SendingConfig $sendingConfig )
protected

См. определение в файле Chat.php строка 783

◆ updateStateAfterOrmEvent()

updateStateAfterOrmEvent ( int $id,
array $fields )
static

См. определение в файле Chat.php строка 3979

◆ updateStateAfterRelationsAdd()

updateStateAfterRelationsAdd ( array $usersToAdd)
protected

См. определение в файле Chat.php строка 2978

◆ updateStateAfterUserDelete()

updateStateAfterUserDelete ( int $deletedUserId,
DeleteUserConfig $config )
protected

См. определение в файле Chat.php строка 3306

◆ validateColor()

validateColor ( )

См. определение в файле Chat.php строка 2039

Поля

◆ $accessCache

array $accessCache = []
protected

См. определение в файле Chat.php строка 196

◆ $aliasName

string $aliasName = null
protected

См. определение в файле Chat.php строка 270

◆ $authorId

int $authorId = null
protected

См. определение в файле Chat.php строка 219

◆ $avatarId

int $avatarId = null
protected

См. определение в файле Chat.php строка 233

◆ $background

Background $background
protected

См. определение в файле Chat.php строка 296

◆ $callNumber

string $callNumber = null
protected

См. определение в файле Chat.php строка 239

◆ $callToken

Im V2 Call CallToken $callToken = null
protected

См. определение в файле Chat.php строка 307

◆ $callType

int $callType = null
protected

См. определение в файле Chat.php строка 237

◆ $chatId

int $chatId = null
protected

См. определение в файле Chat.php строка 198

◆ $chatParams

Params $chatParams = null
protected

См. определение в файле Chat.php строка 289

◆ $chatRelations

Im V2 Relation ChatRelations $chatRelations = null
protected

См. определение в файле Chat.php строка 294

◆ $chatStaticCache

array $chatStaticCache = []
staticprotected

См. определение в файле Chat.php строка 194

◆ $color

string $color = null
protected

См. определение в файле Chat.php строка 225

◆ $dateCreate

DateTime $dateCreate = null
protected

См. определение в файле Chat.php строка 274

◆ $dateMessage

DateTime $dateMessage = null
protected

См. определение в файле Chat.php строка 265

◆ $description

string $description = null
protected

См. определение в файле Chat.php строка 223

◆ $dialogId

string $dialogId = null
protected

Dialog Id: chatNNN - chat, sgNNN - socnet group, crmNNN - crm chat, NNN - recipient user.

См. определение в файле Chat.php строка 207

◆ $diskFolder

Folder $diskFolder = null
protected

См. определение в файле Chat.php строка 254

◆ $diskFolderId

int $diskFolderId = null
protected

См. определение в файле Chat.php строка 252

◆ $entityData1

string $entityData1 = null
protected

См. определение в файле Chat.php строка 245

◆ $entityData2

string $entityData2 = null
protected

См. определение в файле Chat.php строка 247

◆ $entityData3

string $entityData3 = null
protected

Keeps only one flag - Silent mode flag for Open Lines (Y|N).

См. определение в файле Chat.php строка 250

◆ $entityId

string $entityId = null
protected

См. определение в файле Chat.php строка 243

◆ $entityType

string $entityType = null
protected

См. определение в файле Chat.php строка 241

◆ $extranet

bool $extranet = null
protected

См. определение в файле Chat.php строка 231

◆ $isDiskFolderFilled

bool $isDiskFolderFilled = false
protected

См. определение в файле Chat.php строка 306

◆ $isFilledNonCachedData

bool $isFilledNonCachedData = false
protected

См. определение в файле Chat.php строка 305

◆ $lastFileId

int $lastFileId = null
protected

См. определение в файле Chat.php строка 264

◆ $lastMessageId

int $lastMessageId = null
protected

См. определение в файле Chat.php строка 263

◆ $lastMessageStatus

string $lastMessageStatus = null
protected

См. определение в файле Chat.php строка 272

◆ $manageMessages

string $manageMessages = null
protected

См. определение в файле Chat.php строка 283

◆ $manageSettings

string $manageSettings = null
protected

См. определение в файле Chat.php строка 281

◆ $manageUI

string $manageUI = null
protected

См. определение в файле Chat.php строка 279

◆ $manageUsersAdd

string $manageUsersAdd = null
protected

См. определение в файле Chat.php строка 276

◆ $manageUsersDelete

string $manageUsersDelete = null
protected

См. определение в файле Chat.php строка 277

◆ $markedId

int $markedId = null
protected

См. определение в файле Chat.php строка 267

◆ $messageCount

int $messageCount = null
protected

См. определение в файле Chat.php строка 256

◆ $messageRegistry

Registry $messageRegistry
protected

См. определение в файле Chat.php строка 292

◆ $messagesAutoDeleteDelay

int $messagesAutoDeleteDelay = null
protected

См. определение в файле Chat.php строка 287

◆ $parentChatId

int $parentChatId = 0
protected

См. определение в файле Chat.php строка 227

◆ $parentMessageId

int $parentMessageId = 0
protected

См. определение в файле Chat.php строка 229

◆ $pinMessageId

int $pinMessageId = null
protected

См. определение в файле Chat.php строка 235

◆ $prevMessageId

int $prevMessageId = null
protected

См. определение в файле Chat.php строка 261

◆ $readService

ReadService $readService = null
protected

См. определение в файле Chat.php строка 299

◆ $recentConfigManager

RecentConfigManager $recentConfigManager
protected

См. определение в файле Chat.php строка 301

◆ $relationProvider

RelationProvider $relationProvider
protected

См. определение в файле Chat.php строка 303

◆ $role

string $role = null
protected

См. определение в файле Chat.php строка 268

◆ $textFieldEnabled

TextFieldEnabled $textFieldEnabled
protected

См. определение в файле Chat.php строка 297

◆ $title

string $title = null
protected

См. определение в файле Chat.php строка 221

◆ $type

string $type = null
protected

Message type:

См. также
\IM_MESSAGE_SYSTEM = S - notification,
\IM_MESSAGE_PRIVATE = P - private chat,
\IM_MESSAGE_CHAT = S - group chat,
\IM_MESSAGE_OPEN = O - open chat,
\IM_MESSAGE_OPEN_LINE = L - open line chat.

См. определение в файле Chat.php строка 217

◆ $userCount

int $userCount = null
protected

См. определение в файле Chat.php строка 258

◆ $userCounter

int $userCounter = null
protected

См. определение в файле Chat.php строка 259

◆ $usersIds

array $usersIds = null
protected

См. определение в файле Chat.php строка 285

◆ AVAILABLE_PARAMS

const AVAILABLE_PARAMS
Инициализатор
= [
'type',
'entityType',
'entityId',
'entityData1',
'entityData2',
'entityData3',
'title',
'description',
'searchable',
'color',
'ownerId',
'users',
'managers',
'manageUsersAdd',
'manageUsersDelete',
'manageUi',
'manageSettings',
'messagesAutoDeleteDelay',
'manageMessages',
'avatar',
'conferencePassword',
'memberEntities',
]

См. определение в файле Chat.php строка 149

◆ ENTITY_TYPE_FAVORITE

const ENTITY_TYPE_FAVORITE = 'FAVORITE'

См. определение в файле Chat.php строка 132

◆ ENTITY_TYPE_GENERAL

const ENTITY_TYPE_GENERAL = 'GENERAL'

См. определение в файле Chat.php строка 131

◆ ENTITY_TYPE_GENERAL_CHANNEL

const ENTITY_TYPE_GENERAL_CHANNEL = 'GENERAL_CHANNEL'

См. определение в файле Chat.php строка 133

◆ ENTITY_TYPE_LINE

const ENTITY_TYPE_LINE = 'LINES'

См. определение в файле Chat.php строка 139

◆ ENTITY_TYPE_LIVECHAT

const ENTITY_TYPE_LIVECHAT = 'LIVECHAT'

См. определение в файле Chat.php строка 140

◆ ENTITY_TYPE_PRIVATE_AI_ASSISTANT

const ENTITY_TYPE_PRIVATE_AI_ASSISTANT = 'AI_ASSISTANT_PRIVATE'

См. определение в файле Chat.php строка 134

◆ ENTITY_TYPE_VIDEOCONF

const ENTITY_TYPE_VIDEOCONF = 'VIDEOCONF'

См. определение в файле Chat.php строка 130

◆ ENTITY_TYPES

const ENTITY_TYPES
protected
Инициализатор
= [
self::ENTITY_TYPE_LINE,
self::ENTITY_TYPE_LIVECHAT,
self::ENTITY_TYPE_FAVORITE,
self::ENTITY_TYPE_VIDEOCONF,
]

См. определение в файле Chat.php строка 142

◆ EXTRANET_CAN_SEE_HISTORY

const EXTRANET_CAN_SEE_HISTORY = true
protected

См. определение в файле Chat.php строка 188

◆ IM_TYPE_AI_ASSISTANT

const IM_TYPE_AI_ASSISTANT = 'Q'

См. определение в файле Chat.php строка 93

◆ IM_TYPE_AI_ASSISTANT_ENTITY

const IM_TYPE_AI_ASSISTANT_ENTITY = 'E'

См. определение в файле Chat.php строка 94

◆ IM_TYPE_CHANNEL

const IM_TYPE_CHANNEL = 'N'

См. определение в файле Chat.php строка 87

◆ IM_TYPE_CHAT

const IM_TYPE_CHAT = 'C'

См. определение в файле Chat.php строка 83

◆ IM_TYPE_COLLAB

const IM_TYPE_COLLAB = 'B'

См. определение в файле Chat.php строка 91

◆ IM_TYPE_COMMENT

const IM_TYPE_COMMENT = 'T'

См. определение в файле Chat.php строка 84

◆ IM_TYPE_COPILOT

const IM_TYPE_COPILOT = 'A'

См. определение в файле Chat.php строка 90

◆ IM_TYPE_EXTERNAL

const IM_TYPE_EXTERNAL = 'X'

См. определение в файле Chat.php строка 92

◆ IM_TYPE_OPEN

const IM_TYPE_OPEN = 'O'

См. определение в файле Chat.php строка 89

◆ IM_TYPE_OPEN_CHANNEL

const IM_TYPE_OPEN_CHANNEL = 'J'

См. определение в файле Chat.php строка 88

◆ IM_TYPE_OPEN_LINE

const IM_TYPE_OPEN_LINE = 'L'

См. определение в файле Chat.php строка 85

◆ IM_TYPE_PRIVATE

const IM_TYPE_PRIVATE = 'P'

См. определение в файле Chat.php строка 82

◆ IM_TYPE_SYSTEM

const IM_TYPE_SYSTEM = 'S'

См. определение в файле Chat.php строка 86

◆ IM_TYPES

const IM_TYPES
Инициализатор
= [
self::IM_TYPE_PRIVATE,
self::IM_TYPE_CHAT,
self::IM_TYPE_COMMENT,
self::IM_TYPE_OPEN_LINE,
self::IM_TYPE_SYSTEM,
self::IM_TYPE_CHANNEL,
self::IM_TYPE_OPEN_CHANNEL,
self::IM_TYPE_OPEN,
self::IM_TYPE_COPILOT,
self::IM_TYPE_COLLAB,
self::IM_TYPE_EXTERNAL,
self::IM_TYPE_AI_ASSISTANT,
self::IM_TYPE_AI_ASSISTANT_ENTITY,
]

См. определение в файле Chat.php строка 97

◆ IM_TYPES_TRANSLATE

const IM_TYPES_TRANSLATE
Инициализатор
= [
'PRIVATE' => self::IM_TYPE_PRIVATE,
'CHAT' => self::IM_TYPE_CHAT,
'COMMENT' => self::IM_TYPE_COMMENT,
'OPENLINE' => self::IM_TYPE_OPEN_LINE,
'SYSTEM' => self::IM_TYPE_SYSTEM,
'NOTIFY' => self::IM_TYPE_SYSTEM,
'CHANNEL' => self::IM_TYPE_CHANNEL,
'OPEN_CHANNEL' => self::IM_TYPE_OPEN_CHANNEL,
'OPEN' => self::IM_TYPE_OPEN,
'COPILOT' => self::IM_TYPE_COPILOT,
'COLLAB' => self::IM_TYPE_COLLAB,
'EXTERNAL' => self::IM_TYPE_EXTERNAL
]

См. определение в файле Chat.php строка 113

◆ MANAGE_RIGHTS_MANAGERS

const MANAGE_RIGHTS_MANAGERS = 'MANAGER'

См. определение в файле Chat.php строка 178

◆ MANAGE_RIGHTS_MEMBER

const MANAGE_RIGHTS_MEMBER = 'MEMBER'

См. определение в файле Chat.php строка 176

◆ MANAGE_RIGHTS_NONE

const MANAGE_RIGHTS_NONE = 'NONE'

См. определение в файле Chat.php строка 175

◆ MANAGE_RIGHTS_OWNER

const MANAGE_RIGHTS_OWNER = 'OWNER'

См. определение в файле Chat.php строка 177

◆ MAX_USERS_TO_DISABLE_DELETE_MESSAGE

const MAX_USERS_TO_DISABLE_DELETE_MESSAGE = 50
protected

См. определение в файле Chat.php строка 189

◆ ROLE_GUEST

const ROLE_GUEST = 'GUEST'

См. определение в файле Chat.php строка 184

◆ ROLE_MANAGER

const ROLE_MANAGER = 'MANAGER'

См. определение в файле Chat.php строка 182

◆ ROLE_MEMBER

const ROLE_MEMBER = 'MEMBER'

См. определение в файле Chat.php строка 183

◆ ROLE_NONE

const ROLE_NONE = 'NONE'

См. определение в файле Chat.php строка 185

◆ ROLE_OWNER

const ROLE_OWNER = 'OWNER'

См. определение в файле Chat.php строка 181


Объявления и описания членов классов находятся в файлах: