Giter Club home page Giter Club logo

Comments (13)

khoben avatar khoben commented on July 25, 2024 1

Hi, I already thought about it, but there were no cases where it was necessary. Most likely replay cloning will be released with the next update.

from telemirror.

sid8840 avatar sid8840 commented on July 25, 2024 1

In general, this is not handled in any way and frequent errors in forwarding "restricted content" can lead to bans.

everything works now as expected!!
thank for the wonderful work!!

from telemirror.

sid8840 avatar sid8840 commented on July 25, 2024

Hi, I already thought about it, but there were no cases where it was necessary. Most likely replay cloning will be released with the next update.

thanks for prompt reply
another thing is, cant we send chats from channel/group to user?
channel to channel is working flawlessly but error comes up at channel to user case.

from telemirror.

khoben avatar khoben commented on July 25, 2024

another thing is, cant we send chats from channel/group to user

In general, everything should work the same as with channels, the only thing for user chats is an identifier without -100 prefix.

from telemirror.

khoben avatar khoben commented on July 25, 2024

Feel free to open a new issue if there are any problems.

from telemirror.

sid8840 avatar sid8840 commented on July 25, 2024

Feel free to open a new issue if there are any problems.

hi,
when i remove -100 prefix for user chat, the main.py just flashes and exits itself.

CHAT_MAPPING=[-100175****324:16*****472];

from telemirror.

khoben avatar khoben commented on July 25, 2024

Feel free to open a new issue if there are any problems.

hi, when i remove -100 prefix for user chat, the main.py just flashes and exits itself.

CHAT_MAPPING=[-100175****324:16*****472];

Exactly, identifiers are expected to be prefixed with -100. As a quick fix, you can change regex to \[?((?:-?\d+,?)+):((?:-?\d+,?)+)\]? from here.

from telemirror.

sid8840 avatar sid8840 commented on July 25, 2024

Feel free to open a new issue if there are any problems.

hi, when i remove -100 prefix for user chat, the main.py just flashes and exits itself.
CHAT_MAPPING=[-100175****324:16*****472];

Exactly, identifiers are expected to be prefixed with -100. As a quick fix, you can change regex to \[?((?:-?\d+,?)+):((?:-?\d+,?)+)\]? from here.

as a quick fix, I have changed \[?((?:-100\d+,?)+):((?:-100\d+,?)+)\]? to \[?((?:-100\d+,?)+):((?:-?\d+,?)+)\]? and its working for channel to user now.

sorry to disturb you on a very silly point but I got question regarding "Saving restricted Content".
you have already mentioned in your Readme about it but I am getting hiccups at that point.

I have channel_send to send only text chats to user. but when I turn on "Restrict saving content" , the script shows error. I don't have any media files to forward but only text to be forwarded with "restricted Saving content" condition.

from telemirror.

sid8840 avatar sid8840 commented on July 25, 2024

Hi, I already thought about it, but there were no cases where it was necessary. Most likely replay cloning will be released with the next update.

Reply Cloning Work flawlessly with channel to user

from telemirror.

khoben avatar khoben commented on July 25, 2024

I have channel_send to send only text chats to user. but when I turn on "Restrict saving content" , the script shows error. I don't have any media files to forward but only text to be forwarded with "restricted Saving content" condition.

Text messages will be sent as in the usual case, but not with any media. To get around this, I made an unimplemented RestrictSavingContentBypassFilter which should re-save the medias and send the message with that medias. But its implementation has a lot of nuances (files can be very big, etc) and will generally slow down forwarding.

At the moment, RestrictSavingContentBypassFilter does not work and only text messages will be forwarded in chats with restriction enabled.

from telemirror.

khoben avatar khoben commented on July 25, 2024

In general, this is not handled in any way and frequent errors in forwarding "restricted content" can lead to bans.

from telemirror.

madlifer avatar madlifer commented on July 25, 2024

Hi, I already thought about it, but there were no cases where it was necessary. Most likely replay cloning will be released with the next update.

People use reply to rate an item, and after someone has used the item and posted a review, others will check it out to avoid making another purchase themselves.

So I think this feature still makes sense, hope you can add it to your consideration list

from telemirror.

khoben avatar khoben commented on July 25, 2024

Hi, I already thought about it, but there were no cases where it was necessary. Most likely replay cloning will be released with the next update.

People use reply to rate an item, and after someone has used the item and posted a review, others will check it out to avoid making another purchase themselves.

So I think this feature still makes sense, hope you can add it to your consideration list

@madlifer
Replies to post should already be cloned, check out the latest version in the master branch.
If you mean comments on posts, you have to copy posts from the channel to your channel and from the linked chat to your comment chat.

from telemirror.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.