См. определение в файле ChatFactory.php строка 11
◆ addChat()
◆ cleanCache()
◆ createNotifyFeed()
createNotifyFeed |
( |
?array | $params = null | ) |
|
◆ createOpenChat()
createOpenChat |
( |
?array | $params = null | ) |
|
◆ createOpenLineChat()
createOpenLineChat |
( |
?array | $params = null | ) |
|
◆ createPersonalChat()
createPersonalChat |
( |
?array | $params = null | ) |
|
◆ createPrivateChat()
createPrivateChat |
( |
?array | $params = null | ) |
|
◆ findChat()
findChat |
( |
array | $params | ) |
|
- Аргументы
-
array | $params | [
(string) MESSAGE_TYPE - Message type:
|
- См. также
\IM_MESSAGE_SYSTEM = S - notification,
-
\IM_MESSAGE_PRIVATE = P - private chat,
-
\IM_MESSAGE_CHAT = C - group chat,
-
\IM_MESSAGE_OPEN = O - open chat,
-
\IM_MESSAGE_OPEN_LINE = L - open line chat.
(string|int) DIALOG_ID - Dialog Id:
chatNNN - chat,
sgNNN - sonet group,
crmNNN - crm chat,
NNN - recipient user.
(int) CHAT_ID - Chat Id.
(int) TO_USER_ID - Recipient user Id.
(int) FROM_USER_ID - Sender user Id.
]
- Возвращает
- Result
См. определение в файле ChatFactory.php строка 356
◆ getCache()
◆ getChat()
- Аргументы
-
array | int | string | $params | |
- Возвращает
- Chat|null
См. определение в файле ChatFactory.php строка 47
◆ getEntityChat()
getEntityChat |
( |
string | $entityType, |
|
|
| $entityId ) |
- Аргументы
-
string | $entityType | |
int | string | $entityId | |
- Возвращает
- Chat|EntityChat|null
См. определение в файле ChatFactory.php строка 118
◆ getGeneralChat()
- Аргументы
-
string | $entityType | |
int | string | $entityId | |
- Возвращает
- Chat|GeneralChat|null
См. определение в файле ChatFactory.php строка 134
◆ getInstance()
Returns current instance of the Dispatcher.
- Возвращает
- self
См. определение в файле ChatFactory.php строка 27
◆ getNotifyFeed()
getNotifyFeed |
( |
| $userId = null | ) |
|
◆ getPersonalChat()
getPersonalChat |
( |
| $userId = null | ) |
|
◆ getPrivateChat()
getPrivateChat |
( |
| $fromUserId, |
|
|
| $toUserId ) |
◆ initChat()
initChat |
( |
?array | $params = null | ) |
|
◆ $instance
◆ NON_CACHED_FIELDS
const NON_CACHED_FIELDS = ['MESSAGE_COUNT', 'USER_COUNT', 'LAST_MESSAGE_ID'] |