1C-Bitrix 25.700.0
|
Открытые члены | |
__construct ($user_id=null, $arParams=Array()) | |
GetMessage ($ID) | |
GetLastMessage ($toChatId, $fromUserId=false, $loadExtraData=false, $bTimeZone=true, $limit=true) | |
GetLastMessageLimit ($chatId, $messageStartId, $messageEndId=0, $loadExtraData=false, $bTimeZone=true, $order='DESC') | |
GetLastSendMessage ($arParams) | |
GetPersonalChat (?int $userId=null) | |
SetReadMessage ($chatId, $lastId=null, $byEvent=false) | |
SetUnReadMessage ($chatId, $lastId) | |
GetUnreadMessage ($arParams=Array()) | |
SetOwner ($chatId, $userId, $checkPermission=true) | |
SetDescription ($chatId, $description) | |
SetManager ($chatId, $userId, $isManager=true, $checkPermission=true) | |
SetManagers ($chatId, $users, $checkPermission=true) | |
SetColor ($chatId, $color) | |
SetAvatarId ($chatId, $fileId) | |
Rename ($chatId, $title, $checkPermission=true, $sendMessage=true) | |
Add ($arParams) | |
Join ($chatId) | |
JoinParent ($chatId, $messageId) | |
AddUser ($chatId, $userId, $hideHistory=null, $skipMessage=false, $skipRecent=false, $skipRelation=false) | |
MuteNotify ($chatId, $mute=true) | |
DeleteUser ( $chatId, $userId, $checkPermission=true, $skipMessage=false, $skipRecent=false, $withoutRead=false, $additionalParams=[]) |
Открытые статические члены | |
static | getChatType ($chatData) |
static | GetRelationById ($ID, $userId=false, $timezone=true, $withCounter=true, bool $raw=false) |
static | GetPrivateRelation ($fromUserId, $toUserId) |
static | GetGeneralChatId () |
static | InstallGeneralChat ($agentMode=false) |
static | GetGeneralChatAutoMessageStatus ($type) |
static | CanSendMessageToGeneralChat ($userId=null) |
static | SetAccessToGeneralChat ($allowAll=true, $allowCodes=Array()) |
static | CanJoinGeneralChatId ($userId) |
static | linkGeneralChatId ($chatId) |
static | UnlinkGeneralChatId () |
static | AddGeneralMessage ($arFields) |
static | GetChatData ($arParams=Array()) |
static | GetOpenChatData ($arParams=Array()) |
static | SetChatParams ($chatId, $params) |
static | AddMessage ($arFields) |
static | GetAvatarImage ($id, $size=200, $addBlankPicture=true) |
static | AddSystemMessage ($params) |
static | CheckRestriction ($chatId, $action) |
static | GetChatOptions () |
static | GetSonetGroupChatId ($groupId) |
static | GetCrmChatId ($code) |
static | GetUserCount ($chatId) |
static | GetEntityChat ($entityType, $entityId) |
static | DeleteEntityChat ($entityType, $entityId) |
static | deleteChat (array $chatData) |
static | hide ($chatId) |
static | index ($chatId) |
static | addChatIndex (int $chatId, string $chatTitle) |
static | updateChatIndex ($chatId) |
static | fillChatIndexWithUserFullNames (\Bitrix\Im\Internals\ChatIndex $index) |
static | getNextConferenceDefaultTitle () |
static | isNewChat (string $type, ?DateTime $dateCreate) |
static | canDo (array $chatData, array $relations, IM\V2\Permission\Action $action, mixed $target=null) |
static | initChatByArray (array $chatData) |
static | getGroupTypes () |
static | getGroupTypesExtra () |
static | implodeTypesForQuery (array $types) |
Поля данных | |
const | CHAT_ALL = 'all' |
const | GENERAL_MESSAGE_TYPE_JOIN = IM\V2\Chat\GeneralChat::GENERAL_MESSAGE_TYPE_JOIN |
const | GENERAL_MESSAGE_TYPE_LEAVE = IM\V2\Chat\GeneralChat::GENERAL_MESSAGE_TYPE_LEAVE |
$lastAvatarId = 0 |
См. определение в файле im_chat.php строка 14
__construct | ( | $user_id = null, | |
$arParams = Array() ) |
См. определение в файле im_chat.php строка 25
Add | ( | $arParams | ) |
$arParams |
Exception |
См. определение в файле im_chat.php строка 2560
|
static |
См. определение в файле im_chat.php строка 3269
|
static |
См. определение в файле im_chat.php строка 997
|
static |
См. определение в файле im_chat.php строка 2634
|
static |
См. определение в файле im_chat.php строка 2849
AddUser | ( | $chatId, | |
$userId, | |||
$hideHistory = null, | |||
$skipMessage = false, | |||
$skipRecent = false, | |||
$skipRelation = false ) |
См. определение в файле im_chat.php строка 2709
|
static |
См. определение в файле im_chat.php строка 3335
|
static |
См. определение в файле im_chat.php строка 969
|
static |
См. определение в файле im_chat.php строка 901
|
static |
См. определение в файле im_chat.php строка 2903
|
static |
См. определение в файле im_chat.php строка 3188
|
static |
См. определение в файле im_chat.php строка 3161
DeleteUser | ( | $chatId, | |
$userId, | |||
$checkPermission = true, | |||
$skipMessage = false, | |||
$skipRecent = false, | |||
$withoutRead = false, | |||
$additionalParams = [] ) |
См. определение в файле im_chat.php строка 2757
|
static |
См. определение в файле im_chat.php строка 3296
|
static |
См. определение в файле im_chat.php строка 2826
|
static |
См. определение в файле im_chat.php строка 1006
|
static |
См. определение в файле im_chat.php строка 2936
|
static |
См. определение в файле im_chat.php строка 624
|
static |
См. определение в файле im_chat.php строка 3100
|
static |
См. определение в файле im_chat.php строка 3135
|
static |
См. определение в файле im_chat.php строка 893
|
static |
См. определение в файле im_chat.php строка 877
|
static |
См. определение в файле im_chat.php строка 3357
|
static |
См. определение в файле im_chat.php строка 3373
GetLastMessage | ( | $toChatId, | |
$fromUserId = false, | |||
$loadExtraData = false, | |||
$bTimeZone = true, | |||
$limit = true ) |
$toChatId | ||
bool | $fromUserId | |
bool | $loadExtraData | |
bool | $bTimeZone | |
bool | $limit |
См. определение в файле im_chat.php строка 93
GetLastMessageLimit | ( | $chatId, | |
$messageStartId, | |||
$messageEndId = 0, | |||
$loadExtraData = false, | |||
$bTimeZone = true, | |||
$order = 'DESC' ) |
См. определение в файле im_chat.php строка 497
GetLastSendMessage | ( | $arParams | ) |
См. определение в файле im_chat.php строка 629
GetMessage | ( | $ID | ) |
См. определение в файле im_chat.php строка 46
|
static |
См. определение в файле im_chat.php строка 3314
|
static |
См. определение в файле im_chat.php строка 1414
GetPersonalChat | ( | ?int | $userId = null | ) |
См. определение в файле im_chat.php строка 816
|
static |
|
static |
См. определение в файле im_chat.php строка 745
|
static |
См. определение в файле im_chat.php строка 3077
GetUnreadMessage | ( | $arParams = Array() | ) |
|
static |
См. определение в файле im_chat.php строка 3118
|
static |
См. определение в файле im_chat.php строка 3216
|
static |
См. определение в файле im_chat.php строка 3381
|
static |
См. определение в файле im_chat.php строка 3256
|
static |
См. определение в файле im_chat.php строка 3342
|
static |
См. определение в файле im_chat.php строка 885
|
static |
См. определение в файле im_chat.php строка 3323
Join | ( | $chatId | ) |
См. определение в файле im_chat.php строка 2641
JoinParent | ( | $chatId, | |
$messageId ) |
См. определение в файле im_chat.php строка 2675
|
static |
См. определение в файле im_chat.php строка 984
MuteNotify | ( | $chatId, | |
$mute = true ) |
См. определение в файле im_chat.php строка 2752
См. определение в файле im_chat.php строка 2384
|
static |
См. определение в файле im_chat.php строка 922
SetAvatarId | ( | $chatId, | |
$fileId ) |
См. определение в файле im_chat.php строка 2326
|
static |
См. определение в файле im_chat.php строка 2152
SetColor | ( | $chatId, | |
$color ) |
См. определение в файле im_chat.php строка 2224
SetDescription | ( | $chatId, | |
$description ) |
См. определение в файле im_chat.php строка 2117
См. определение в файле im_chat.php строка 2195
SetManagers | ( | $chatId, | |
$users, | |||
$checkPermission = true ) |
См. определение в файле im_chat.php строка 2200
SetOwner | ( | $chatId, | |
$userId, | |||
$checkPermission = true ) |
См. определение в файле im_chat.php строка 2061
SetReadMessage | ( | $chatId, | |
$lastId = null, | |||
$byEvent = false ) |
См. определение в файле im_chat.php строка 1527
SetUnReadMessage | ( | $chatId, | |
$lastId ) |
См. определение в файле im_chat.php строка 1671
|
static |
См. определение в файле im_chat.php строка 992
|
static |
См. определение в файле im_chat.php строка 3283
$lastAvatarId = 0 |
См. определение в файле im_chat.php строка 22
const CHAT_ALL = 'all' |
См. определение в файле im_chat.php строка 16
const GENERAL_MESSAGE_TYPE_JOIN = IM\V2\Chat\GeneralChat::GENERAL_MESSAGE_TYPE_JOIN |
См. определение в файле im_chat.php строка 17
const GENERAL_MESSAGE_TYPE_LEAVE = IM\V2\Chat\GeneralChat::GENERAL_MESSAGE_TYPE_LEAVE |
См. определение в файле im_chat.php строка 18