Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс OpenLineChat
+ Граф наследования:OpenLineChat:

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

 setEntityMap (array $entityMap)
 
 read (bool $onlyRecent=false, bool $byEvent=false, bool $forceRead=false)
 
 readAllMessages (bool $byEvent=false, bool $forceRead=false)
 
 readMessages (?MessageCollection $messages, bool $byEvent=false, bool $forceRead=false)
 
 canUpdateOwnMessage ()
 
 extendPullWatch ()
 
 setExtranet (?bool $extranet)
 
 getExtranet ()
 
 startRecordVoice ()
 
 sendPushUpdateMessage (Message $message)
 
- Открытые члены унаследованные от EntityChat
 getEntityMap ()
 
 getEntityData (bool $force=false)
 
- Открытые члены унаследованные от GroupChat
 setType (string $type)
 
 allowMention ()
 
 add (array $params, ?Context $context=null)
 
 checkTitle ()
 
 sendMessage ($message, $sendingConfig=null)
 
 getPopupData (array $excludedList=[])
 

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

 getDefaultType ()
 
 getDefaultEntityType ()
 
 checkAccessWithoutCaching (int $userId)
 
 prepareParams (array $params=[])
 
 filterUsersToAdd (array $userIds)
 
 updateStateAfterUsersAdd (array $usersToAdd)
 
 sendPushUsersAdd (array $usersToAdd, RelationCollection $oldRelations)
 
 addUsersToRelation (array $usersToAdd, array $managerIds=[], ?bool $hideHistory=null)
 
 addIndex ()
 
 updateIndex ()
 
- Защищенные члены унаследованные от GroupChat
 needToSendGreetingMessages ()
 
 filterParams (array $params)
 
 generateTitle ()
 
 sendPushReadOpponent (MessageCollection $messages, int $lastId)
 
 sendGreetingMessage (?int $authorId=null)
 
 getCodeGreetingMessage (\Bitrix\Im\V2\Entity\User\User $author)
 
 sendMessageAuthorChange (\Bitrix\Im\V2\Entity\User\User $author)
 
 sendBanner (?int $authorId=null)
 
 sendInviteMessage (?int $authorId=null)
 
 sendDescriptionMessage (?int $authorId=null)
 

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

const EXTRANET_CAN_SEE_HISTORY = true
 
 $entityMap
 
- Защищенные данные унаследованные от EntityChat
const ENTITY_SEPARATOR = '|'
 
const ENTITY_MAP_FIELDS = ['entityId', 'entityData1', 'entityData2', 'entityData3']
 
 $entityMap
 
 $entityData = []
 

Дополнительные унаследованные члены

- Открытые статические члены унаследованные от EntityChat
static find (array $params=[], ?Context $context=null)
 
- Открытые статические члены унаследованные от Chat
static getTypes ()
 
static getType ($chatData)
 
static getRelation ($chatId, $params=[])
 
static mute ($chatId, $action, $userId=null)
 
static getMessageCount ($chatId, $userId=null)
 
static hasAccess ($chatId)
 
static getMessages ($chatId, $userId=null, $options=Array())
 
static getUsers ($chatId, $options=[])
 
static getById ($id, $params=array())
 
static getList ($params=array())
 
static formatChatData ($chat)
 
static getListParams ($params)
 
static toJson ($array)
 
static isUserInChat ($chatId, $userId=0)
 
static isUserKickedFromChat ($chatId, $userId=0)
 
static checkReplicaDeprecatedAgent ()
 
static isActionAllowed ($dialogId, $action, $entityType=null)
 
static getOwnerById ($dialogId)
 
static fillCounterData (array $chats)
 
- Открытые атрибуты унаследованные от Chat
const TYPE_SYSTEM = 'S'
 
const TYPE_PRIVATE = 'P'
 
const TYPE_OPEN = 'O'
 
const TYPE_THREAD = 'T'
 
const TYPE_GROUP = 'C'
 
const TYPE_CHANNEL = 'N'
 
const TYPE_OPEN_LINE = 'L'
 
const STATUS_UNREAD = 0
 
const STATUS_NOTIFY = 1
 
const STATUS_READ = 2
 
const LIMIT_SEND_EVENT = 30
 
const FILTER_LIMIT = 50
 

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

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

Методы

◆ addIndex()

addIndex ( )
protected

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

◆ addUsersToRelation()

addUsersToRelation ( array $usersToAdd,
array $managerIds = [],
?bool $hideHistory = null )
protected

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

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

◆ canUpdateOwnMessage()

canUpdateOwnMessage ( )

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

◆ checkAccessWithoutCaching()

checkAccessWithoutCaching ( int $userId)
protected

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

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

◆ extendPullWatch()

extendPullWatch ( )

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

◆ filterUsersToAdd()

filterUsersToAdd ( array $userIds)
protected

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

◆ getDefaultEntityType()

getDefaultEntityType ( )
protected

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

◆ getDefaultType()

getDefaultType ( )
protected

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

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

◆ getExtranet()

getExtranet ( )

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

◆ prepareParams()

prepareParams ( array $params = [])
protected

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

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

◆ read()

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

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

◆ readAllMessages()

readAllMessages ( bool $byEvent = false,
bool $forceRead = false )

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

◆ readMessages()

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

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

◆ sendPushUpdateMessage()

sendPushUpdateMessage ( Message $message)

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

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

◆ sendPushUsersAdd()

sendPushUsersAdd ( array $usersToAdd,
RelationCollection $oldRelations )
protected

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

◆ setEntityMap()

setEntityMap ( array $entityMap)

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

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

◆ setExtranet()

setExtranet ( ?bool $extranet)

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

◆ startRecordVoice()

startRecordVoice ( )

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

◆ updateIndex()

updateIndex ( )
protected

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

◆ updateStateAfterUsersAdd()

updateStateAfterUsersAdd ( array $usersToAdd)
protected

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

Данные класса

◆ $entityMap

$entityMap
protected

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

◆ EXTRANET_CAN_SEE_HISTORY

const EXTRANET_CAN_SEE_HISTORY = true
protected

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