[PR #679] [MERGED] [stable32] feat: implement integration with telegram client api #688

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

📋 Pull Request Information

Original PR: https://github.com/nextcloud/twofactor_gateway/pull/679
Author: @backportbot[bot]
Created: 9/25/2025
Status: Merged
Merged: 9/25/2025
Merged by: @vitormattos

Base: stable32Head: backport/671/stable32


📝 Commits (10+)

  • 266572d feat: start to implement integration with telegram client api
  • b77dea8 chore: configure bot
  • c915c01 fix: psalm issues
  • a95bd83 chore: add a todo
  • 29a6a62 fix: remove duplicated row
  • f4884ba fix: remove unused row
  • cc9e0ad fix: chore add a docblock do describe why have a shell_execute
  • a8b37cc fix: remove wrong arguments
  • 898af40 chore: error handler when send a message
  • 3fe000c 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

Backport of PR #671


🔄 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/679 **Author:** [@backportbot[bot]](https://github.com/apps/backportbot) **Created:** 9/25/2025 **Status:** ✅ Merged **Merged:** 9/25/2025 **Merged by:** [@vitormattos](https://github.com/vitormattos) **Base:** `stable32` ← **Head:** `backport/671/stable32` --- ### 📝 Commits (10+) - [`266572d`](https://github.com/nextcloud/twofactor_gateway/commit/266572dfdb5d3d477492bf390c6ff3878c67be15) feat: start to implement integration with telegram client api - [`b77dea8`](https://github.com/nextcloud/twofactor_gateway/commit/b77dea8ea4680a57bdbbd7dadb76db810cd2b955) chore: configure bot - [`c915c01`](https://github.com/nextcloud/twofactor_gateway/commit/c915c01ba78d3e78620797ad24c4f6b49c142e76) fix: psalm issues - [`a95bd83`](https://github.com/nextcloud/twofactor_gateway/commit/a95bd83a7a2c2f8ad3e1728994ac76924da07ef8) chore: add a todo - [`29a6a62`](https://github.com/nextcloud/twofactor_gateway/commit/29a6a621abd9fc67cb627970bc05190cf7909477) fix: remove duplicated row - [`f4884ba`](https://github.com/nextcloud/twofactor_gateway/commit/f4884ba46684cd03ddfef75313cfe5b6863e6930) fix: remove unused row - [`cc9e0ad`](https://github.com/nextcloud/twofactor_gateway/commit/cc9e0ad91e7a4595004501b72e7a0284af347a4b) fix: chore add a docblock do describe why have a shell_execute - [`a8b37cc`](https://github.com/nextcloud/twofactor_gateway/commit/a8b37cc28733c0fbe564b93443a46006d05a236b) fix: remove wrong arguments - [`898af40`](https://github.com/nextcloud/twofactor_gateway/commit/898af40daed3b434e69a57c564b433821ab64d6b) chore: error handler when send a message - [`3fe000c`](https://github.com/nextcloud/twofactor_gateway/commit/3fe000ce07ff85894ab187ff211a7a918b76fb17) 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 Backport of PR #671 --- <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:50 +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#688
No description provided.