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

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

 setParentChatId (int $parentId)
 
 setParentMessageId (int $messageId)
 
 getParent ()
 
 add (array $params, ?Context $context=null)
 
 hasAccess ($user=null)
 
- Открытые члены унаследованные от GroupChat
 setType (string $type)
 
 allowMention ()
 
 checkTitle ()
 
 sendPushUpdateMessage (Message $message)
 
 sendMessage ($message, $sendingConfig=null)
 
 getPopupData (array $excludedList=[])
 

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

 getDefaultType ()
 
 prepareParams (array $params=[])
 
 addIndex ()
 
 updateIndex ()
 
- Защищенные члены унаследованные от GroupChat
 needToSendGreetingMessages ()
 
 checkAccessWithoutCaching (int $userId)
 
 filterParams (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 $parentChat
 

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

- Открытые статические члены унаследованные от Chat
static getTypes ()
 
static getType ($chatData)
 
static getRelation ($chatId, $params=[])
 
static mute ($chatId, $action, $userId=null)
 
static getMessageCount ($chatId, $userId=null)
 
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
 

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

Chat for comments

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

Методы

◆ add()

add ( array $params,
?Context $context = null )

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

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

◆ addIndex()

addIndex ( )
protected

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

◆ getDefaultType()

getDefaultType ( )
protected

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

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

◆ getParent()

getParent ( )

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

◆ hasAccess()

hasAccess ( $user = null)

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

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

◆ prepareParams()

prepareParams ( array $params = [])
protected

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

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

◆ setParentChatId()

setParentChatId ( int $parentId)

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

◆ setParentMessageId()

setParentMessageId ( int $messageId)

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

◆ updateIndex()

updateIndex ( )
protected

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

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

◆ $parentChat

Chat $parentChat
protected

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