|
| | configureActions () |
| | getPrimaryAutoWiredParameter () |
| | shallowLoadAction (\Bitrix\Im\V2\Chat $chat) |
| | loadAction (\Bitrix\Im\V2\Chat $chat, int $messageLimit=Chat\Message::DEFAULT_LIMIT, int $pinLimit=Pin::DEFAULT_LIMIT, string $ignoreMark='N') |
| | loadInContextAction (Message $message, int $messageLimit=Chat\Message::DEFAULT_LIMIT, int $pinLimit=Pin::DEFAULT_LIMIT) |
| | getAction (\Bitrix\Im\V2\Chat $chat) |
| | listSharedAction (array $filter, int $limit=self::DEFAULT_LIMIT, int $offset=0) |
| | getDialogIdAction (string $externalId) |
| | readAction (\Bitrix\Im\V2\Chat $chat, string $onlyRecent='N') |
| | readAllAction (CurrentUser $user) |
| | unreadAction (\Bitrix\Im\V2\Chat $chat) |
| | startRecordVoiceAction (\Bitrix\Im\V2\Chat $chat) |
| | addAction (array $fields) |
| | updateAction (GroupChat $chat, array $fields) |
| | deleteAction (\Bitrix\Im\V2\Chat $chat) |
| | addUsersAction (\Bitrix\Im\V2\Chat $chat, array $userIds, ?string $hideHistory=null) |
| | joinAction (\Bitrix\Im\V2\Chat $chat) |
| | extendPullWatchAction (\Bitrix\Im\V2\Chat $chat) |
| | deleteUserAction (\Bitrix\Im\V2\Chat $chat, int $userId) |
| | setTitleAction (\Bitrix\Im\V2\Chat $chat, string $title) |
| | setDescriptionAction (\Bitrix\Im\V2\Chat $chat, string $description) |
| | setColorAction (\Bitrix\Im\V2\Chat $chat, string $color) |
| | updateAvatarAction (\Bitrix\Im\V2\Chat $chat, string $avatar) |
| | setAvatarIdAction (\Bitrix\Im\V2\Chat $chat, int $avatarId) |
| | setAvatarAction (\Bitrix\Im\V2\Chat $chat, string $avatarBase64) |
| | setOwnerAction (\Bitrix\Im\V2\Chat $chat, int $ownerId) |
| | setManagersAction (\Bitrix\Im\V2\Chat $chat, array $userIds) |
| | addManagersAction (GroupChat $chat, array $userIds) |
| | deleteManagersAction (GroupChat $chat, array $userIds) |
| | setManageUsersAddAction (\Bitrix\Im\V2\Chat $chat, string $rightsLevel) |
| | setManageUsersDeleteAction (\Bitrix\Im\V2\Chat $chat, string $rightsLevel) |
| | setManageUIAction (\Bitrix\Im\V2\Chat $chat, string $rightsLevel) |
| | setManageSettingsAction (\Bitrix\Im\V2\Chat $chat, string $rightsLevel) |
| | setManageMessagesAction (\Bitrix\Im\V2\Chat $chat, string $rightsLevel) |
| | pinAction (\Bitrix\Im\V2\Chat $chat, CurrentUser $user) |
| | unpinAction (\Bitrix\Im\V2\Chat $chat, CurrentUser $user) |
| | sortPinAction (\Bitrix\Im\V2\Chat $chat, int $newPosition, CurrentUser $user) |
| | getAutoWiredParameters () |
|
| static | recursiveWhiteList ($fields, $whiteList, bool $sanitizeOnly=false) |
| | getDefaultPreFilters () |
| | getLimit (int $limit) |
| | toRestFormat (RestConvertible ... $entities) |
| | load (\Bitrix\Im\V2\Chat $chat, int $messageLimit, int $pinLimit, bool $ignoreMark=false, ?Message $targetMessage=null) |
| | toRestFormatWithPaginationData (array $entities, int $needCount, int $realCount) |
| | checkWhiteList (array $fields, array $whiteList) |
| | getChatByPostId (int $postId, bool $createIfNotExists) |
| | getMessagesByIds (array $ids) |
| | convertCharToBool (string $char, bool $default=false) |
| | getRawValue (string $key) |
| | prepareFields (array $fields, array $whiteList) |
| const | MAX_LIMIT = 200 |
| const | DEFAULT_LIMIT = 50 |
| const | MAX_MESSAGES_COUNT = 100 |
См. определение в файле Chat.php строка 44