[PR #671] [MERGED] feat: implement integration with telegram client api #681

Closed
opened 2026-02-26 06:31:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nextcloud/twofactor_gateway/pull/671
Author: @vitormattos
Created: 9/23/2025
Status: Merged
Merged: 9/25/2025
Merged by: @vitormattos

Base: masterHead: feat/integration-with-telegram-client-api


📝 Commits (10+)

  • a287236 feat: start to implement integration with telegram client api
  • 3589704 chore: configure bot
  • b9893b7 fix: psalm issues
  • 4fdcf84 chore: add a todo
  • 248250b fix: remove duplicated row
  • 2f85054 fix: remove unused row
  • b3c76c0 fix: chore add a docblock do describe why have a shell_execute
  • e02f486 fix: remove wrong arguments
  • 0ce2174 chore: error handler when send a message
  • dc21380 chore: use only exec and not shell_exec and exec at the same file

📊 Changes

17 files changed (+5412 additions, -47 deletions)

View changed files

📝 doc/Admin Documentation.md (+32 -0)
📝 doc/User Documentation.md (+13 -1)
📝 lib/Provider/AFactory.php (+3 -2)
lib/Provider/Channel/Telegram/Factory.php (+55 -0)
📝 lib/Provider/Channel/Telegram/Gateway.php (+65 -44)
lib/Provider/Channel/Telegram/Provider/AProvider.php (+64 -0)
lib/Provider/Channel/Telegram/Provider/Drivers/Bot.php (+82 -0)
lib/Provider/Channel/Telegram/Provider/Drivers/Client.php (+144 -0)
lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/Cli.php (+21 -0)
lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/Login.php (+69 -0)
lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/README.md (+28 -0)
lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/SendMessage.php (+88 -0)
lib/Provider/Channel/Telegram/Provider/IProvider.php (+35 -0)
📝 psalm.xml (+5 -0)
📝 tests/psalm-baseline.xml (+36 -0)
vendor-bin/telegram-client/composer.json (+11 -0)
vendor-bin/telegram-client/composer.lock (+4661 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nextcloud/twofactor_gateway/pull/671 **Author:** [@vitormattos](https://github.com/vitormattos) **Created:** 9/23/2025 **Status:** ✅ Merged **Merged:** 9/25/2025 **Merged by:** [@vitormattos](https://github.com/vitormattos) **Base:** `master` ← **Head:** `feat/integration-with-telegram-client-api` --- ### 📝 Commits (10+) - [`a287236`](https://github.com/nextcloud/twofactor_gateway/commit/a287236e7fd17df79299f65262c5192cd70d107b) feat: start to implement integration with telegram client api - [`3589704`](https://github.com/nextcloud/twofactor_gateway/commit/35897042a1b43ec81dc2f13e7883b4b4b05411e8) chore: configure bot - [`b9893b7`](https://github.com/nextcloud/twofactor_gateway/commit/b9893b70c68754b13825b74573c25c1f5cf96689) fix: psalm issues - [`4fdcf84`](https://github.com/nextcloud/twofactor_gateway/commit/4fdcf84f657ac6e9d05eaeab09ed6d66f9e494b2) chore: add a todo - [`248250b`](https://github.com/nextcloud/twofactor_gateway/commit/248250bebd957c79811d229114cc274550b6a092) fix: remove duplicated row - [`2f85054`](https://github.com/nextcloud/twofactor_gateway/commit/2f8505418acf236154aed7bcb5f5000ce02cddab) fix: remove unused row - [`b3c76c0`](https://github.com/nextcloud/twofactor_gateway/commit/b3c76c0a0a95dc68750dd3f1a49d4ecc08337927) fix: chore add a docblock do describe why have a shell_execute - [`e02f486`](https://github.com/nextcloud/twofactor_gateway/commit/e02f4869be7da7ebcdb65c2c7dce2df7f24eb00d) fix: remove wrong arguments - [`0ce2174`](https://github.com/nextcloud/twofactor_gateway/commit/0ce2174c8f39a16298d8f94ec7eee6483616e2a9) chore: error handler when send a message - [`dc21380`](https://github.com/nextcloud/twofactor_gateway/commit/dc21380f4e9082435b313c884481e06321248f94) chore: use only exec and not shell_exec and exec at the same file ### 📊 Changes **17 files changed** (+5412 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `doc/Admin Documentation.md` (+32 -0) 📝 `doc/User Documentation.md` (+13 -1) 📝 `lib/Provider/AFactory.php` (+3 -2) ➕ `lib/Provider/Channel/Telegram/Factory.php` (+55 -0) 📝 `lib/Provider/Channel/Telegram/Gateway.php` (+65 -44) ➕ `lib/Provider/Channel/Telegram/Provider/AProvider.php` (+64 -0) ➕ `lib/Provider/Channel/Telegram/Provider/Drivers/Bot.php` (+82 -0) ➕ `lib/Provider/Channel/Telegram/Provider/Drivers/Client.php` (+144 -0) ➕ `lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/Cli.php` (+21 -0) ➕ `lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/Login.php` (+69 -0) ➕ `lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/README.md` (+28 -0) ➕ `lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/SendMessage.php` (+88 -0) ➕ `lib/Provider/Channel/Telegram/Provider/IProvider.php` (+35 -0) 📝 `psalm.xml` (+5 -0) 📝 `tests/psalm-baseline.xml` (+36 -0) ➕ `vendor-bin/telegram-client/composer.json` (+11 -0) ➕ `vendor-bin/telegram-client/composer.lock` (+4661 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 06:31:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#681
No description provided.