[GH-ISSUE #269] Make Telegram code selectable in the message received by the bot #60

Closed
opened 2026-02-26 05:32:45 +03:00 by kerem · 2 comments
Owner

Originally created by @jandr on GitHub (Aug 27, 2019).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/269

If the bot were to send the code enclosed in backticks, the Telegram app allows copying that specific part of the message, which can be helpful when using the Telegram bot 2FA from mobile devices.

Originally created by @jandr on GitHub (Aug 27, 2019). Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/269 If the bot were to send the code enclosed in backticks, the Telegram app allows copying that specific part of the message, which can be helpful when using the Telegram bot 2FA from mobile devices.
Author
Owner

@ChristophWurst commented on GitHub (Aug 29, 2019):

Makes sense. This needs a little refactoring, however as we currently use the very same string for all gateways, so modifications in https://github.com/nextcloud/twofactor_gateway/blob/master/lib/Service/Gateway/Telegram/Gateway.php aren't easily possible.

<!-- gh-comment-id:526119715 --> @ChristophWurst commented on GitHub (Aug 29, 2019): Makes sense. This needs a little refactoring, however as we currently use the very same string for all gateways, so modifications in https://github.com/nextcloud/twofactor_gateway/blob/master/lib/Service/Gateway/Telegram/Gateway.php aren't easily possible.
Author
Owner

@vitormattos commented on GitHub (Sep 12, 2025):

This issue has already been resolved in my fork, but my goal is to bring the updates back to the main repository so that the whole community can benefit directly.
Since the app currently has no maintainer, I’ve also offered to take care of its development here:

If you’d like to see this app updated and maintained, it would be really helpful if you could also add your support in that discussion. That way, it will be clearer to the Nextcloud team that this app is still important for the community.

Image
<!-- gh-comment-id:3283363280 --> @vitormattos commented on GitHub (Sep 12, 2025): This issue has already been resolved in my fork, but my goal is to bring the updates back to the main repository so that the whole community can benefit directly. Since the app currently has no maintainer, I’ve also offered to take care of its development here: - https://github.com/nextcloud/twofactor_gateway/issues/454#issuecomment-3276728446 If you’d like to see this app updated and maintained, it would be really helpful if you could also add your support in that discussion. That way, it will be clearer to the Nextcloud team that this app is still important for the community. <img width="345" height="157" alt="Image" src="https://github.com/user-attachments/assets/d30b1486-c039-4bb3-b939-cda53c2d543e" />
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#60
No description provided.