Coder Social home page Coder Social logo

Comments (5)

NabiKAZ avatar NabiKAZ commented on June 18, 2024

Please use PHP 7.1 and later,

from telegram-auto-responder.

milescristi avatar milescristi commented on June 18, 2024

Thanks NabiKAZ, I installed PHP 7.1 and I was able to login

However it gives me this error. Can you you help me to make it work?

index.php(62): ExceptionErrorHandler()
thrown in /home/ubuntu/tgautoresp/index.php on line 62

from telegram-auto-responder.

NabiKAZ avatar NabiKAZ commented on June 18, 2024

Do you sure for set $group_source and $group_target variables for group address in the source code?

from telegram-auto-responder.

milescristi avatar milescristi commented on June 18, 2024

yes I did, I already said I was able to login

I already know the chat_id numbers of source and destination groups. Is there any way to include these values in the script? it seems it cannot get the info.

I'm sorry if I talk nonsense but I'm not a programmer, I'm just trying to figure out how to make this work

from telegram-auto-responder.

NabiKAZ avatar NabiKAZ commented on June 18, 2024

Logging in to the system does not have related to set the variables $group_source and $group_target.

Anyway, I tested again and don't see any problem, Please check and sure the user logged-in, joined into both source and target group.

About use group ID instead of group URL, You can use group ID in the variables but add negative in prefix. for example be like this:

$group_source = '-111111111';
$group_target = '-222222222';

And also If you don't want use get_info() method for get details of group, just you can commented these lines with add // in the first of lines:

//$group_source_info = $MadelineProto->get_info($group_source);
//$group_source_id = $group_source_info['chat_id'];

And then use this after that:

$group_source_id = '111111111';

Note that in here you don't need add negative for prefix.

from telegram-auto-responder.

Related Issues (1)

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.