-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow hiding sender's name and/or caption when forwarding #3197
Comments
you can use send_message for hide senders name. msg = event.message
msg.raw_text = ""
await client.send_message(chat, msg) |
Oh, yeah, that does work and makes sense - just taking the message object and sending it as self - all the media stays there too lol Though still, since at least official Telegram offer this functionality as a type of a forward, I feel like it's still a good idea to implement this with the |
yeah👍 i dont know why still they didn't implement this with |
I also had this problem, I modified the parameters and it worked du5@64733fa |
@Lonami have same issue |
This is unlikely to happen in the near future so I will be closing the issue. We can reopen it if there's still interest once the time is right. Note that it's possible to use raw API if you need features not exposed by the friendly API. |
Guys you didn't read the docs. Just use copy_message. Here are the Docs |
It's not telethon docs, it even doesn't replace telethon, it's just simple bot wrapper |
Best possible way to solve this is to just use Pyrogram whose |
Between using an entirely different unrelated package for dealing with Telegram and rewriting all my code to use that, and doing a simple albeit a bit obtuse thing that Telethon has that achieves the same purpose, I think I'd rather choose the latter lmao |
I got a problem, when the message has markdown style, like text, the send_message with formatting_entities=message.entities doesn't work well. |
But copy_message() doesn't work well when the message has complicated styles. |
Telegram Desktop 3.0 client has introduced the ability to "change how the messages will be sent" when forwarding (see attached image): https://desktop.telegram.org/changelog#v-3-0-31-08-21
From that, I assume it would be possible for Telethon to expose that as well. However, I do not see any way to do the same thing in the function
telethon.client.messages.MessageMethods.forward_messages
. Either I'm blind and missed it, or it's not in Telethon?The text was updated successfully, but these errors were encountered: