Skip to content

Add IM Disk service for im.disk.folder.get#445

Draft
mesilov wants to merge 5 commits intov3-devfrom
feature/435-add-im-disk-service
Draft

Add IM Disk service for im.disk.folder.get#445
mesilov wants to merge 5 commits intov3-devfrom
feature/435-add-im-disk-service

Conversation

@mesilov
Copy link
Copy Markdown
Collaborator

@mesilov mesilov commented Apr 19, 2026

Q A
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #435
License MIT

Add support for im.disk.folder.get via a dedicated IM Disk service in the IM scope.

Changes in this PR:

  • add IMServiceBuilder::disk() and Bitrix24\SDK\Services\IM\Disk\Service\Disk::getFolderId(?int $chatId = null, ?string $dialogId = null)
  • add FolderIdResult to unwrap result.ID
  • add unit coverage, dedicated IM Disk integration coverage, PHPUnit suite wiring, Make target, and changelog entry

Validation:

  • make test-unit
  • docker compose run --rm -e BITRIX24_WEBHOOK=... php-cli vendor/bin/phpunit --testsuite integration_tests_im_disk

Closes #435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant