Problem
The Bitrix24 REST API methods im.chat.user.* (chat participant management) are not yet supported by the SDK. See https://apidocs.bitrix24.com/api-reference/chats/index.html.
Proposed solution
Add a new service src/Services/IM/Chat/Service/ChatUser.php that wraps the following REST methods, following patterns in other src/Services/<Scope>/ folders. Scope: im.
Methods to implement
Acceptance criteria
Part of #422.
Problem
The Bitrix24 REST API methods
im.chat.user.*(chat participant management) are not yet supported by the SDK. See https://apidocs.bitrix24.com/api-reference/chats/index.html.Proposed solution
Add a new service
src/Services/IM/Chat/Service/ChatUser.phpthat wraps the following REST methods, following patterns in othersrc/Services/<Scope>/folders. Scope:im.Methods to implement
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 chatAcceptance criteria
Bitrix24\SDK\Services\IM\Chat\Service\ChatUserimplements each method with correct parameter mapping and#[ApiEndpointMetadata]/#[ApiServiceMetadata(new Scope(['im']))]attributesIMServiceBuilder::chatUser()exposes the new servicetests/Unit/Services/IM/Chat/Service/ChatUserTest.phppass (make test-unit)tests/Integration/Services/IM/Chat/Service/ChatUserTest.phppassmake test-integration-im-chat-usertarget added toMakefileand a suite added tophpunit.xml.distCHANGELOG.mdentry under## 3.2.0 – UNRELEASED→### Addedwith link to this issuePart of #422.