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

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

 getDefaultManageUsersAdd ()
 
 getDefaultManageUsersDelete ()
 
 getDefaultManageSettings ()
 
 setCanPost (string $canPost)
 
 setManageSettings (string $manageSettings)
 
 setManageUI (string $manageUI)
 
 setManageUsersAdd (string $manageUsersAdd)
 
 setManageUsersDelete (string $manageUsersDelete)
 
 add (array $params, ?Context $context=null)
 
 getDescription ()
 
 toRestFormat (array $option=[])
 
- Открытые члены унаследованные от GroupChat
 setType (string $type)
 
 allowMention ()
 
 checkTitle ()
 
 sendPushUpdateMessage (Message $message)
 
 sendMessage ($message, $sendingConfig=null)
 
 getPopupData (array $excludedList=[])
 

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

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

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

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

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

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

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

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

Методы

◆ add()

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

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

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

◆ addIndex()

addIndex ( )
protected

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

◆ generateTitle()

generateTitle ( )
protected

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

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

◆ getDefaultManageSettings()

getDefaultManageSettings ( )

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

◆ getDefaultManageUsersAdd()

getDefaultManageUsersAdd ( )

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

◆ getDefaultManageUsersDelete()

getDefaultManageUsersDelete ( )

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

◆ getDefaultType()

getDefaultType ( )
protected

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

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

◆ getDescription()

getDescription ( )

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

◆ getTitleTemplate()

static getTitleTemplate ( )
static

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

◆ isAvailable()

static isAvailable ( )
static

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

◆ prepareParams()

prepareParams ( array $params = [])
protected

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

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

◆ sendBanner()

sendBanner ( ?int $authorId = null)
protected

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

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

◆ sendDescriptionMessage()

sendDescriptionMessage ( ?int $authorId = null)
protected

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

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

◆ sendEventUsersAdd()

sendEventUsersAdd ( array $usersToAdd)
protected

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

◆ sendGreetingMessage()

sendGreetingMessage ( ?int $authorId = null)
protected

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

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

◆ sendMessageUsersAdd()

sendMessageUsersAdd ( array $usersToAdd,
bool $skipRecent = false )
protected

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

◆ setCanPost()

setCanPost ( string $canPost)

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

◆ setManageSettings()

setManageSettings ( string $manageSettings)

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

◆ setManageUI()

setManageUI ( string $manageUI)

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

◆ setManageUsersAdd()

setManageUsersAdd ( string $manageUsersAdd)

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

◆ setManageUsersDelete()

setManageUsersDelete ( string $manageUsersDelete)

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

◆ toRestFormat()

toRestFormat ( array $option = [])

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

◆ updateIndex()

updateIndex ( )
protected

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