|
static | Add ($arFields) |
static | UpdateMessageOut ($id, $messageOut) |
static | GetUnsendMessage ($order="ASC") |
static | SetReadMessageAll ($fromUserId) |
static | SetLastId ($chatId, $userId, $lastId=null) |
static | SetLastIdForUnread ($chatId, $userId, $lastId) |
static | SetLastSendId ($chatId, $userId, $lastSendId) |
static | Delete ($id, $userId=null, $completeDelete=false, $byEvent=false) |
static | GetFormatMessage ($arParams) |
static | GetChatId ($fromUserId, $toUserId, $createIfNotExists=true) |
См. определение в файле im_message.php строка 13
◆ __construct()
__construct |
( |
| $user_id = false, |
|
|
| $arParams = Array() ) |
◆ Add()
◆ Delete()
Delete |
( |
| $id, |
|
|
| $userId = null, |
|
|
| $completeDelete = false, |
|
|
| $byEvent = false ) |
|
static |
◆ GetChatId()
GetChatId |
( |
| $fromUserId, |
|
|
| $toUserId, |
|
|
| $createIfNotExists = true ) |
|
static |
◆ GetFormatMessage()
GetFormatMessage |
( |
| $arParams | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\LoaderException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле im_message.php строка 1228
◆ GetLastMessage()
GetLastMessage |
( |
| $toUserId, |
|
|
| $fromUserId = false, |
|
|
| $loadUserData = false, |
|
|
| $bTimeZone = true, |
|
|
| $limit = true ) |
◆ GetLastSendMessage()
GetLastSendMessage |
( |
| $arParams | ) |
|
◆ GetMessage()
GetMessage |
( |
| $id, |
|
|
| $files = false ) |
◆ GetUnreadMessage()
GetUnreadMessage |
( |
| $arParams = Array() | ) |
|
◆ GetUnsendMessage()
GetUnsendMessage |
( |
| $order = "ASC" | ) |
|
|
static |
◆ SetLastId()
SetLastId |
( |
| $chatId, |
|
|
| $userId, |
|
|
| $lastId = null ) |
|
static |
◆ SetLastIdForUnread()
SetLastIdForUnread |
( |
| $chatId, |
|
|
| $userId, |
|
|
| $lastId ) |
|
static |
◆ SetLastSendId()
SetLastSendId |
( |
| $chatId, |
|
|
| $userId, |
|
|
| $lastSendId ) |
|
static |
- Аргументы
-
$chatId | |
$userId | |
$lastSendId | |
- Возвращает
- bool
См. определение в файле im_message.php строка 1199
◆ SetReadMessage()
SetReadMessage |
( |
| $fromUserId, |
|
|
| $lastId = null, |
|
|
| $byEvent = false ) |
◆ SetReadMessageAll()
SetReadMessageAll |
( |
| $fromUserId | ) |
|
|
static |
◆ SetUnReadMessage()
SetUnReadMessage |
( |
| $fromUserId, |
|
|
| $lastId ) |
◆ UpdateMessageOut()
UpdateMessageOut |
( |
| $id, |
|
|
| $messageOut ) |
|
static |
Объявления и описания членов класса находятся в файле: