Skip to content
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

Relay edits #1

Open
alb2001 opened this issue May 22, 2019 · 6 comments
Open

Relay edits #1

alb2001 opened this issue May 22, 2019 · 6 comments

Comments

@alb2001
Copy link

alb2001 commented May 22, 2019

Hello

The script works great. It relays content perfectly. Unfortunately I noticed it doesn't relay when a message has been edited or deleted. Could it be possible to add that?
Also, when a message is replied to, only the answer gets forwarded, but not the original message it was being answered.

Thank you.

@glogiotatidis
Copy link
Owner

Hi, I noticed that for the edits as well. Maybe I get to work on this a bit later in the summer but not a priority for me atm. I'm happy to accept pull requests though.

Thanks!

@alb2001
Copy link
Author

alb2001 commented May 23, 2019

Thanks!

I might try to do this myself. However, never used telethon. It seems that the only way to be able to do this is by keeping a track of the original message and the copies of it. For example by doing a dictionary, where the original message ID is stored an int as the key, and the copies of the message IDs are the values stored as list.

Or do you know a better method? Thanks

@open4profit
Copy link

Thanks!

I might try to do this myself. However, never used telethon. It seems that the only way to be able to do this is by keeping a track of the original message and the copies of it. For example by doing a dictionary, where the original message ID is stored an int as the key, and the copies of the message IDs are the values stored as list.

Or do you know a better method? Thanks

Did you got any solution for this, i'm also looking for reply msg with original msg.
Thanks

@alb2001
Copy link
Author

alb2001 commented Nov 12, 2019

Thanks!
I might try to do this myself. However, never used telethon. It seems that the only way to be able to do this is by keeping a track of the original message and the copies of it. For example by doing a dictionary, where the original message ID is stored an int as the key, and the copies of the message IDs are the values stored as list.
Or do you know a better method? Thanks

Did you got any solution for this, i'm also looking for reply msg with original msg.
Thanks

Hi, yes I did. I added a few more features, it doesn't seem to work 100% but for the most part it does.

@ferihelper
Copy link

Thanks!
I might try to do this myself. However, never used telethon. It seems that the only way to be able to do this is by keeping a track of the original message and the copies of it. For example by doing a dictionary, where the original message ID is stored an int as the key, and the copies of the message IDs are the values stored as list.
Or do you know a better method? Thanks

Did you got any solution for this, i'm also looking for reply msg with original msg.
Thanks

Hi, yes I did. I added a few more features, it doesn't seem to work 100% but for the most part it does.

can you share the results?

@scarlion1
Copy link

@alb2001 It's customary with open-source software to share your code solution with the rest of us, will you please do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants