[PR #680] [MERGED] [stable31] feat: implement integration with telegram client api #689

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/680
Author: @backportbot[bot]
Created: 9/25/2025
Status: Merged
Merged: 9/25/2025
Merged by: @vitormattos

Base: stable31Head: backport/671/stable31


📝 Commits (10+)

  • 3fde674 feat: start to implement integration with telegram client api
  • fda064a chore: configure bot
  • 65cbdee fix: psalm issues
  • d346767 chore: add a todo
  • ad52beb fix: remove duplicated row
  • 5a163a7 fix: remove unused row
  • 971c0d7 fix: chore add a docblock do describe why have a shell_execute
  • 3c41e17 fix: remove wrong arguments
  • 04cf893 chore: error handler when send a message
  • e33eeef chore: use only exec and not shell_exec and exec at the same file

📊 Changes

17 files changed (+5405 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 (+6 -0)
📝 tests/psalm-baseline.xml (+28 -0)
vendor-bin/telegram-client/composer.json (+11 -0)
vendor-bin/telegram-client/composer.lock (+4661 -0)

📄 Description

Backport of #671

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.


🔄 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/680 **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:** `stable31` ← **Head:** `backport/671/stable31` --- ### 📝 Commits (10+) - [`3fde674`](https://github.com/nextcloud/twofactor_gateway/commit/3fde674660c37999f8e4503171b48e25b7f7c7a6) feat: start to implement integration with telegram client api - [`fda064a`](https://github.com/nextcloud/twofactor_gateway/commit/fda064a5ddef897a6a105d72b6129cf0c60fb2dc) chore: configure bot - [`65cbdee`](https://github.com/nextcloud/twofactor_gateway/commit/65cbdee4188455248a12542951fbfab3627d002d) fix: psalm issues - [`d346767`](https://github.com/nextcloud/twofactor_gateway/commit/d346767ac83a1b8bf1d658887a10a3d8020e1b58) chore: add a todo - [`ad52beb`](https://github.com/nextcloud/twofactor_gateway/commit/ad52bebaf1118b985bb8ce860bf40bab5127807b) fix: remove duplicated row - [`5a163a7`](https://github.com/nextcloud/twofactor_gateway/commit/5a163a762d44ba51e03e6c30c0540f3b3fe007af) fix: remove unused row - [`971c0d7`](https://github.com/nextcloud/twofactor_gateway/commit/971c0d7e5142851d13e3c70bdcacc8fcb759712b) fix: chore add a docblock do describe why have a shell_execute - [`3c41e17`](https://github.com/nextcloud/twofactor_gateway/commit/3c41e1717af5e88ddf70cbcdc93bc7e54ebc4493) fix: remove wrong arguments - [`04cf893`](https://github.com/nextcloud/twofactor_gateway/commit/04cf89316c9af97ebdb7618c4c484d1c4da6b02b) chore: error handler when send a message - [`e33eeef`](https://github.com/nextcloud/twofactor_gateway/commit/e33eeef048bad6f3fc5af5b862a7feede012bcc8) chore: use only exec and not shell_exec and exec at the same file ### 📊 Changes **17 files changed** (+5405 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` (+6 -0) 📝 `tests/psalm-baseline.xml` (+28 -0) ➕ `vendor-bin/telegram-client/composer.json` (+11 -0) ➕ `vendor-bin/telegram-client/composer.lock` (+4661 -0) </details> ### 📄 Description Backport of #671 Warning, This backport's changes differ from the original and might be incomplete ⚠️ ## Todo - [x] Review and resolve any conflicts - [x] Amend HEAD commit to remove the line stating to skip CI --- Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. --- <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#689
No description provided.