I created a bot in PHP and added it to my group,
That members of the group could send commands to the bot through the group.
What I want to do now is that once a new user has entered the group ($username has joined the group)
Will appear to him some msg "Welcome $username!..."
Without having to type /start
Until now I have used the Welcome Bot:
https://github.com/jh0ker/welcomebot
But I want to know if there is a possibility to do such a auto welcome msg either through PHP.
like that:
if($message == "$username has joined group"){
sendMessage($chatId,"Welcome $username!");}