have a problem with telegram bot. Bot is in 5 groups. Sending works fine to 4 groups. Bot can’t send any message to 1 group and don’t understand why.
Any help / idea please?
Bot is in all groups of course.
$apiToken = "XXXXXXXXXXXXXXXXXXXXXXXXXXX";
$data = [
'chat_id' => '-11223344556677889900',
'text' => "TEST"
];
$response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" . http_build_query($data) );
2
Answers
The document does not mention but i have been using 1 bot to send messages to 10 groups. it works normally.
There is no limit to the number of groups the bot can send messages . lease double check the group id.
I had same problems, solve it: