Description
Add SDK support for the im REST API scope: https://apidocs.bitrix24.com/api-reference/chats/index.html
Below is the full list of im.* methods grouped by proposed services at
src/Services/IM/<SubScope>/Service/<Name>.php. Already implemented in the SDK is checked.
Total methods: 61. Implemented: 6. Remaining: 55.
IM\Chat\Service\Chat — 8 methods
IM\Chat\Service\ChatUser — 3 methods
IM\Dialog\Service\Dialog — 8 methods
IM\Message\Service\Message — 6 methods
IM\Recent\Service\Recent — 5 methods
IM\Notify\Service\Notify — 12 methods (6 already implemented)
IM\User\Service\User — 2 methods
IM\User\Service\UserStatus — 4 methods
IM\Search\Service\Search — 6 methods
IM\Department\Service\Department — 4 methods
IM\Counters\Service\Counters — 1 method
IM\Revision\Service\Revision — 1 method
IM\Disk\Service\Disk — 1 method
Example
No response
Description
Add SDK support for the
imREST API scope: https://apidocs.bitrix24.com/api-reference/chats/index.htmlBelow is the full list of
im.*methods grouped by proposed services atsrc/Services/IM/<SubScope>/Service/<Name>.php. Already implemented in the SDK is checked.Total methods: 61. Implemented: 6. Remaining: 55.
IM\Chat\Service\Chat — 8 methods
im.chat.add— create a new chatim.chat.get— get chat id by related object type and idim.chat.leave— remove the current user from the chatim.chat.mute— mute/unmute notifications in a chatim.chat.setOwner— change chat ownerim.chat.updateAvatar— update chat avatarim.chat.updateColor— update chat color (mobile app)im.chat.updateTitle— update chat titleIM\Chat\Service\ChatUser — 3 methods
im.chat.user.add— add participants to a chatim.chat.user.delete— remove a participant from a chatim.chat.user.list— list participant ids of a chatIM\Dialog\Service\Dialog — 8 methods
im.dialog.get— get chat/dialog informationim.dialog.messages.get— get messages of a dialogim.dialog.messages.search— search messages in a chatim.dialog.read— mark as read up to a given messageim.dialog.read.all— mark all chats of the current user as readim.dialog.unread— mark as unread starting from a given messageim.dialog.users.list— list dialog participants with paginationim.dialog.writing— send the "user is typing" indicatorIM\Message\Service\Message — 6 methods
im.message.add— send a messageim.message.command— invoke a chat-bot command in the context of a messageim.message.delete— delete a messageim.message.like— toggle the "Like" mark on a messageim.message.share— create an object based on a messageim.message.update— edit text and parameters of a messageIM\Recent\Service\Recent — 5 methods
im.recent.get— list the user's recent chatsim.recent.hide— hide a dialog from the listim.recent.list— list recent dialogs with paginationim.recent.pin— pin/unpin a dialogim.recent.unread— toggle the "read" mark on a chatIM\Notify\Service\Notify — 12 methods (6 already implemented)
im.notify.system.add— send a system notificationim.notify.personal.add— send a personal notificationim.notify.delete— delete a notificationim.notify.read— mark a notification read/unreadim.notify.confirm— reply via a notification buttonim.notify.answer— send a text reply to a notificationim.notify— send a notification (application context only)im.notify.get— list notifications paginated byLAST_ID/LAST_TYPEim.notify.history.search— search the notification historyim.notify.read.all— mark all notifications as readim.notify.read.list— mark a list of notifications as read/unreadim.notify.schema.get— schema of available notification types per moduleIM\User\Service\User — 2 methods
im.user.get— get data for the current user or by idim.user.list.get— get data for a list of user idsIM\User\Service\UserStatus — 4 methods
im.user.status.get— get the current user's statusim.user.status.set— set a custom user statusim.user.status.idle.start— enable the automatic "Away" statusim.user.status.idle.end— disable the automatic "Away" statusIM\Search\Service\Search — 6 methods
im.search.chat.list— search chats accessible to the current userim.search.user.list— search users by name, position, departmentim.search.department.list— search departments by titleim.search.last.add— add a dialog to the last-search history (legacy)im.search.last.get— get the last-search history (legacy)im.search.last.delete— remove a dialog from the last-search history (legacy)IM\Department\Service\Department — 4 methods
im.department.get— get department data by idsim.department.colleagues.list— list colleagues of the current userim.department.employees.get— list employees of given departmentsim.department.managers.get— list managers of given departmentsIM\Counters\Service\Counters — 1 method
im.counters.get— unread message and notification countersIM\Revision\Service\Revision — 1 method
im.revision.get— IM module API revisions for compatibility checksIM\Disk\Service\Disk — 1 method
im.disk.folder.get— id of the folder where chat files are storedExample
No response