Skip to content

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

Merged
mesilov merged 7 commits into
v3-devfrom
feature/435-add-im-disk-service
May 22, 2026
Merged

Add IM Disk service for im.disk.folder.get#445
mesilov merged 7 commits into
v3-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

@mesilov mesilov linked an issue Apr 29, 2026 that may be closed by this pull request
7 tasks
…disk-service

# Conflicts:
#	CHANGELOG.md
#	Makefile
#	phpunit.xml.dist
#	src/Services/IM/IMServiceBuilder.php
#	tests/Unit/Services/IM/IMServiceBuilderTest.php
@mesilov mesilov marked this pull request as ready for review May 22, 2026 05:43
Copy link
Copy Markdown
Collaborator Author

@mesilov mesilov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

Comment thread src/Services/IM/Disk/Service/Disk.php Outdated
@mesilov mesilov merged commit aa40a1c into v3-dev May 22, 2026
10 checks passed
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.

Add IM\Disk service for im.disk.folder.get

1 participant