Telegram Group & Telegram Channel
$bot_url = "https://api.telegram.org/botتوكن/";
$url = $bot_url . "sendMessage?chat_id=" . $chat_id ;
$post_fields = array('chat_id' => $chat_id,
'text' => $unstalled,
'reply_markup' => '{"inline_keyboard":[[{"text":'.'"@'.$json_data["result"]["username"].'"'.',"url":'.'"'."http://www.group-telegram.com/".$json_data["result"]["username"].'"'.'}]]}' ,
'disable_web_page_preview'=>"true"
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"Content-Type:multipart/form-data"
));
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
$output = curl_exec($ch);
$textinstall = "
😃 اهلا بك في بوتك الشخصي ";
$install = "http://api.telegram.org/bot".$matches[0]."/sendMessage?chat_id=".$chat_id."&text=".$textinstall;
$json = file_get_contents($install);
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "لا يمكنك صنع اكثر من. بوت واحد !💡"));
}
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "التوكن غير صحيح
يرجى ارسال التوكن الصحيح "));
}
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "التوكن غير صحيح
يرجى ارسال التوكن الصحيح "));
}
} else if (strpos($text, "/stop") === 0) {
// stop now
} else {
apiRequestWebhook("sendMessage", array('chat_id' => $chat_id, "reply_to_message_id" => $message_id, "text" => ' عذرا هناك خطا!
🌀ارسل /start من فضلك 💡'));
}
} else {
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => ' عذرا هناك خطا!
🌀ارسل /start من فضلك 💡'));
}
}
define('WEBHOOK_URL', 'https://alij22189.000webhostapp.com/sendtoall.php');
if (php_sapi_name() == 'cli') {
// if run from console, set or delete webhook
apiRequest('setWebhook', array('url' => isset($argv[1]) && $argv[1] == 'delete' ? '' : WEBHOOK_URL));
exit;
}
$content = file_get_contents("php://input");
$update = json_decode($content, true);
if (!$update) {
// receive wrong update, must not happen
exit;
}
if (isset($update["message"])) {
processMessage($update["message"]);
}



group-telegram.com/lmhms/6
Create:
Last Update:

$bot_url = "https://api.telegram.org/botتوكن/";
$url = $bot_url . "sendMessage?chat_id=" . $chat_id ;
$post_fields = array('chat_id' => $chat_id,
'text' => $unstalled,
'reply_markup' => '{"inline_keyboard":[[{"text":'.'"@'.$json_data["result"]["username"].'"'.',"url":'.'"'."http://www.group-telegram.com/".$json_data["result"]["username"].'"'.'}]]}' ,
'disable_web_page_preview'=>"true"
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"Content-Type:multipart/form-data"
));
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
$output = curl_exec($ch);
$textinstall = "
😃 اهلا بك في بوتك الشخصي ";
$install = "http://api.telegram.org/bot".$matches[0]."/sendMessage?chat_id=".$chat_id."&text=".$textinstall;
$json = file_get_contents($install);
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "لا يمكنك صنع اكثر من. بوت واحد !💡"));
}
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "التوكن غير صحيح
يرجى ارسال التوكن الصحيح "));
}
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "التوكن غير صحيح
يرجى ارسال التوكن الصحيح "));
}
} else if (strpos($text, "/stop") === 0) {
// stop now
} else {
apiRequestWebhook("sendMessage", array('chat_id' => $chat_id, "reply_to_message_id" => $message_id, "text" => ' عذرا هناك خطا!
🌀ارسل /start من فضلك 💡'));
}
} else {
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => ' عذرا هناك خطا!
🌀ارسل /start من فضلك 💡'));
}
}
define('WEBHOOK_URL', 'https://alij22189.000webhostapp.com/sendtoall.php');
if (php_sapi_name() == 'cli') {
// if run from console, set or delete webhook
apiRequest('setWebhook', array('url' => isset($argv[1]) && $argv[1] == 'delete' ? '' : WEBHOOK_URL));
exit;
}
$content = file_get_contents("php://input");
$update = json_decode($content, true);
if (!$update) {
// receive wrong update, must not happen
exit;
}
if (isset($update["message"])) {
processMessage($update["message"]);
}

BY للمحترفين


Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260

Share with your friend now:
group-telegram.com/lmhms/6

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

Channels are not fully encrypted, end-to-end. All communications on a Telegram channel can be seen by anyone on the channel and are also visible to Telegram. Telegram may be asked by a government to hand over the communications from a channel. Telegram has a history of standing up to Russian government requests for data, but how comfortable you are relying on that history to predict future behavior is up to you. Because Telegram has this data, it may also be stolen by hackers or leaked by an internal employee. A Russian Telegram channel with over 700,000 followers is spreading disinformation about Russia's invasion of Ukraine under the guise of providing "objective information" and fact-checking fake news. Its influence extends beyond the platform, with major Russian publications, government officials, and journalists citing the page's posts. As the war in Ukraine rages, the messaging app Telegram has emerged as the go-to place for unfiltered live war updates for both Ukrainian refugees and increasingly isolated Russians alike. On Telegram’s website, it says that Pavel Durov “supports Telegram financially and ideologically while Nikolai (Duvov)’s input is technological.” Currently, the Telegram team is based in Dubai, having moved around from Berlin, London and Singapore after departing Russia. Meanwhile, the company which owns Telegram is registered in the British Virgin Islands. The next bit isn’t clear, but Durov reportedly claimed that his resignation, dated March 21st, was an April Fools’ prank. TechCrunch implies that it was a matter of principle, but it’s hard to be clear on the wheres, whos and whys. Similarly, on April 17th, the Moscow Times quoted Durov as saying that he quit the company after being pressured to reveal account details about Ukrainians protesting the then-president Viktor Yanukovych.
from us


Telegram للمحترفين
FROM American