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

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

 startRecordVoice ()
 
 sendPushUpdateMessage (Message $message)
 
 getLoadContextMessage ()
 
 extendPullWatch ()
 
- Открытые члены унаследованные от GroupChat
 setType (string $type)
 
 allowMention ()
 
 add (array $params, ?Context $context=null)
 
 checkTitle ()
 
 sendMessage ($message, $sendingConfig=null)
 
 getPopupData (array $excludedList=[])
 

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

 getDefaultType ()
 
 checkAccessWithoutCaching (int $userId)
 
 getAccessCodesForDiskFolder ()
 
 updateStateAfterUsersAdd (array $usersToAdd)
 
 sendPushUsersAdd (array $usersToAdd, RelationCollection $oldRelations)
 
 sendPushUserDelete (int $userId, RelationCollection $oldRelations)
 
- Защищенные члены унаследованные от GroupChat
 needToSendGreetingMessages ()
 
 filterParams (array $params)
 
 prepareParams (array $params=[])
 
 addUsersToRelation (array $usersToAdd, array $managerIds=[], ?bool $hideHistory=null)
 
 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)
 

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

- Открытые статические члены унаследованные от 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
 

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

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

Методы

◆ checkAccessWithoutCaching()

checkAccessWithoutCaching ( int $userId)
protected

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

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

◆ extendPullWatch()

extendPullWatch ( )

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

◆ getAccessCodesForDiskFolder()

getAccessCodesForDiskFolder ( )
protected

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

◆ getDefaultType()

getDefaultType ( )
protected

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

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

◆ getLoadContextMessage()

getLoadContextMessage ( )

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

◆ sendPushUpdateMessage()

sendPushUpdateMessage ( Message $message)

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

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

◆ sendPushUserDelete()

sendPushUserDelete ( int $userId,
RelationCollection $oldRelations )
protected

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

◆ sendPushUsersAdd()

sendPushUsersAdd ( array $usersToAdd,
RelationCollection $oldRelations )
protected

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

◆ startRecordVoice()

startRecordVoice ( )

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

◆ updateStateAfterUsersAdd()

updateStateAfterUsersAdd ( array $usersToAdd)
protected

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