|
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) |
|
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 |
|
См. определение в файле GroupChat.php строка 30
◆ add()
add |
( |
array | $params, |
|
|
?Context | $context = null ) |
◆ addUsersToRelation()
addUsersToRelation |
( |
array | $usersToAdd, |
|
|
array | $managerIds = [], |
|
|
?bool | $hideHistory = null ) |
|
protected |
◆ allowMention()
Allows to send mention notification.
- Возвращает
- bool
См. определение в файле GroupChat.php строка 48
◆ checkAccessWithoutCaching()
checkAccessWithoutCaching |
( |
int | $userId | ) |
|
|
protected |
◆ checkTitle()
◆ filterParams()
filterParams |
( |
array | $params | ) |
|
|
protected |
◆ generateTitle()
◆ getCodeGreetingMessage()
◆ getDefaultType()
◆ getPopupData()
getPopupData |
( |
array | $excludedList = [] | ) |
|
Returns the data to be raised to the top of the REST response. Works on the principle of the composite pattern.
- См. также
- RestAdapter::toRestFormat()
- Аргументы
-
- Возвращает
- PopupData
Замещает PopupDataAggregatable.
См. определение в файле GroupChat.php строка 692
◆ needToSendGreetingMessages()
needToSendGreetingMessages |
( |
| ) |
|
|
protected |
◆ prepareParams()
prepareParams |
( |
array | $params = [] | ) |
|
|
protected |
◆ sendBanner()
sendBanner |
( |
?int | $authorId = null | ) |
|
|
protected |
◆ sendDescriptionMessage()
sendDescriptionMessage |
( |
?int | $authorId = null | ) |
|
|
protected |
◆ sendGreetingMessage()
sendGreetingMessage |
( |
?int | $authorId = null | ) |
|
|
protected |
◆ sendInviteMessage()
sendInviteMessage |
( |
?int | $authorId = null | ) |
|
|
protected |
◆ sendMessage()
sendMessage |
( |
| $message, |
|
|
| $sendingConfig = null ) |
Provides message sending process.
- Аргументы
-
Message | string | array | $message | |
SendingConfig | array | null | $sendingConfig | |
- Возвращает
- Result
См. определение в файле GroupChat.php строка 451
◆ sendMessageAuthorChange()
◆ sendPushReadOpponent()
◆ sendPushUpdateMessage()
sendPushUpdateMessage |
( |
Message | $message | ) |
|
◆ setType()