Comments (5)
Please use PHP 7.1 and later,
from telegram-auto-responder.
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.
Do you sure for set $group_source
and $group_target
variables for group address in the source code?
from telegram-auto-responder.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram-auto-responder.