HushTelegram icon indicating copy to clipboard operation
HushTelegram copied to clipboard

feat: Add unrestricted message forwarding and batch media selection

Open Adam39k opened this issue 2 weeks ago • 9 comments

What should it do?

Add two key productivity features inspired by other Telegram clients: 1-Unrestricted Forwarding: Allow forwarding messages, text, and media from private chats, restricted groups, and protected channels (similar to how AyuGram handles it, For implementation reference, I believe AyuGram achieves this by fetching/downloading the message—whether text or media—locally and then sending it as a new message, bypassing the platform restriction). 2-Batch Media Selection: Add a quick "Select All" or batch-select button when choosing multiple media items or files in chats and shared media (similar to Plus Messenger).

https://github.com/user-attachments/assets/ac44f4a5-2c25-4322-966c-44d9f55f84dc https://github.com/user-attachments/assets/1c18052b-3ab1-45b7-8a02-2fb196fe5ee4

Where in Telegram?

Channels, groups and chats

What happens today?

Currently, Telegram blocks forwarding messages and media from protected channels and private restricted chats. Additionally, when selecting multiple photos, videos, or files, users have to tap each item manually one by one, as there is no built-in batch selection or "Select All" button.

Why does it matter?

It significantly enhances flexibility and workflow efficiency. Unrestricted forwarding eliminates the tedious need to manually copy text or screenshot content from protected sources. Meanwhile, a batch "Select All" button saves a massive amount of time when managing, deleting, or downloading multiple media files.

Before you send it

  • [x] I searched the open and closed feature requests and this isn't one of them.

Adam39k avatar Nov 12 '26 19:11 Adam39k

Select all's in the next update. Turn on Select all under Add Repeat to the message menu and the bar you get while picking messages has a Select all button, in chats and in shared media.

Forwarding from protected chats is already in 0.0.25 with Bypass channel restrictions.

SysAdminDoc avatar Nov 13 '26 02:11 SysAdminDoc

Select all's in the next update. Turn on Select all under Add Repeat to the message menu and the bar you get while picking messages has a Select all button, in chats and in shared media.

Forwarding from protected chats is already in 0.0.25 with Bypass channel restrictions.

Hi! Thanks a lot for the quick turnaround on adding the "Select all" feature—really appreciate it!

Regarding the forwarding feature, I tested version 0.0.25 with "Bypass channel restrictions" turned on, but unfortunately, it isn't working for me on protected chats/channels. Is there a specific setting or extra step I might be missing, or is it behaving differently on certain types of private chats?

I have a short video demonstration showing it not working if that helps debug or trace what's going on.

https://github.com/user-attachments/assets/5faea995-b5d9-4428-810a-966d88900680

Adam39k avatar Nov 13 '26 13:11 Adam39k

Your video helped a lot. You didn't miss anything, the switch just didn't reach far enough. With Bypass channel restrictions on, the next release gives you Forward, Copy, Save to Gallery and Share on protected posts, and forwards go out as new messages.

SysAdminDoc avatar Nov 13 '26 19:11 SysAdminDoc

Your video helped a lot. You didn't miss anything, the switch just didn't reach far enough. With Bypass channel restrictions on, the next release gives you Forward, Copy, Save to Gallery and Share on protected posts, and forwards go out as new messages.

Awesome, glad the video was useful! Thanks for the quick fix and explanation—can't wait to test it out in the next release.

Adam39k avatar Nov 14 '26 13:11 Adam39k

Closing this one since forwarding and saving protected posts ship in the coming update 🙂 Still not going through once you have it? Say the word and I'll put it back.

SysAdminDoc avatar Nov 17 '26 04:11 SysAdminDoc

Thanks for the update! I tested the new bypass feature, and while it works for very small videos, larger videos still fail to forward—even after they are fully downloaded to the phone first. Right now, the only way to forward a larger video is to download it first and then manually tap Share to upload it to the target chat. What I expected is for the Forward button to handle that entire download-and-reupload process automatically in one tap.

Here is a video demonstration showing the issue

https://github.com/user-attachments/assets/dfddae07-2ce7-4e70-aec5-70ff1c086266

Adam39k avatar Nov 18 '26 15:11 Adam39k

Closing this one since forwarding and saving protected posts ship in the coming update 🙂 Still not going through once you have it? Say the word and I'll put it back.

Thanks for the update! I tested the new bypass feature, and while it works for very small videos, larger videos still fail to forward—even after they are fully downloaded to the phone first. Right now, the only way to forward a larger video is to download it first and then manually tap Share to upload it to the target chat. What I expected is for the Forward button to handle that entire download-and-reupload process automatically in one tap.

Here is a video demonstration showing the issue

https://github.com/user-attachments/assets/33828bdf-8f3c-43ee-aea2-b67430a15eb1

Adam39k avatar Nov 18 '26 20:11 Adam39k

You were right about the bigger videos. A protected 37 MB one forwards on my phone now. It downloads first, then goes out as a new message. Yours failing even after downloading sounds like a video with several qualities, where the forward waited on the wrong file. I changed that too, but my test video only has one quality so I haven't seen that part work yet. Reopened this, tell me how it goes after the next release.

SysAdminDoc avatar Nov 25 '26 16:11 SysAdminDoc

You were right about the bigger videos. A protected 37 MB one forwards on my phone now. It downloads first, then goes out as a new message. Yours failing even after downloading sounds like a video with several qualities, where the forward waited on the wrong file. I changed that too, but my test video only has one quality so I haven't seen that part work yet. Reopened this, tell me how it goes after the next release.

Just tested the new release on a 113 MB video from a private group, and it worked! Your fix for the multi-quality videos did the trick—it downloaded and forwarded smoothly. Thanks a lot for sorting this out!

https://github.com/user-attachments/assets/7972dfd5-98ab-4712-806d-076947d86f6e

Adam39k avatar Nov 25 '26 20:11 Adam39k

Nice, a 113 MB one going through is a real test 🙂 Closing this. If a forward ever gets stuck again, tell me and I'll open it back up.

SysAdminDoc avatar Nov 30 '26 15:11 SysAdminDoc