<?php
$token = "YOUR_BOT_TOKEN";
$apiUrl = "https://api.telegram.org/bot$token/";
$instagramApiUrl = "YOUR_INSTAGRAM_API_URL";
$update = json_decode(file_get_contents("php://input"), true);
$message = $update['message'];
$callbackQuery = $update['callback_query'];
if (isset($message['text']) && $message['text'] == '/start') {
$chatId = $message['chat']['id'];
$welcomeMessage = "به ربات ما خوش آمدید!
@AbyssalSeraphs";
$keyboard = [
'inline_keyboard' => [
[
['text' => 'دانلود پست', 'callback_data' => 'download_post'],
['text' => 'دانلود استوری', 'callback_data' => 'download_story'],
],
],
];
$replyMarkup = json_encode($keyboard);
file_get_contents($apiUrl . "sendMessage?chat_id=$chatId&text=$welcomeMessage&reply_markup=$replyMarkup");
}
if (isset($callbackQuery)) {
$chatId = $callbackQuery['message']['chat']['id'];
$data = $callbackQuery['data'];
if ($data == 'download_post') {
$responseMessage = "لطفاً لینک پست اینستاگرامی را ارسال کنید:";
file_get_contents($apiUrl . "sendMessage?chat_id=$chatId&text=$responseMessage");
} elseif ($data == 'download_story') {
$responseMessage = "لطفاً لینک استوری اینستاگرامی را ارسال کنید:";
file_get_contents($apiUrl . "sendMessage?chat_id=$chatId&text=$responseMessage");
}
}
if (isset($message['text'])) {
$chatId = $message['chat']['id'];
if (preg_match("/https?:\/\/(www\.)?instagram\.com\/p\/([a-zA-Z0-9_-]+)/", $message['text'], $matches)) {
$postUrl = $matches[0];
$downloadedFile = downloadInstagramPost($postUrl);
if ($downloadedFile) {
$filePath = new CURLFile($downloadedFile);
file_get_contents($apiUrl . "sendDocument?chat_id=$chatId&document=" . $filePath);
} else {
file_get_contents($apiUrl . "sendMessage?chat_id=$chatId&text=متاسفانه، نتوانستم پست را دانلود کنم.");
}
}
if (preg_match("/https?:\/\/(www\.)?instagram\.com\/stories\/([a-zA-Z0-9_-]+)/", $message['text'], $matches)) {
$storyUrl = $matches[0];
$downloadedFile = downloadInstagramStory($storyUrl);
if ($downloadedFile) {
$filePath = new CURLFile($downloadedFile);
file_get_contents($apiUrl . "sendDocument?chat_id=$chatId&document=" . $filePath);
} else {
file_get_contents($apiUrl . "sendMessage?chat_id=$chatId&text=متاسفانه، نتوانستم استوری را دانلود کنم.");
}
}
}
function downloadInstagramPost($url) {
global $instagramApiUrl;
return "path/to/downloaded/post.jpg";
}
function downloadInstagramStory($url) {
global $instagramApiUrl;
return "path/to/downloaded/story.jpg";
}
?>Era Shop
📈 Telegram kanali Era Shop analitikasi
Era Shop (@nullbinarychannel) Forsiy til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 12 982 obunachidan iborat bo'lib, Iqtisodiyot & Moliya toifasida 11 160-o'rinni va Eron mintaqasida 25 496-o'rinni egallagan.
📊 Auditoriya ko‘rsatkichlari va dinamika
невідомо sanasidan buyon loyiha tez o‘sib, 12 982 obunachiga ega bo‘ldi.
05 Yanvar, 2026 dagi oxirgi ma’lumotlarga ko‘ra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni -861 ga, so‘nggi 24 soatda esa 0 ga o‘zgardi va umumiy qamrov yuqori darajada qolmoqda.
- Tasdiqlash holati: Tasdiqlanmagan
- Jalb etish (ER): Auditoriya o‘rtacha 0% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining N/A% ini tashkil etuvchi reaksiyalarni to‘playdi.
- Post qamrovi: Har bir post o‘rtacha 0 marta ko‘riladi; birinchi sutkada odatda 0 ta ko‘rish yig‘iladi.
- Reaksiyalar va o‘zaro ta’sir: Auditoriya faol: har bir postga o‘rtacha 0 ta reaksiya keladi.
- Tematik yo‘nalishlar: Kontent سیگنال, input, xauusd, sell, double kabi asosiy mavzularga jamlangan.
📝 Tavsif va kontent siyosati
Kanal uchun tavsif kiritilmagan.
Yuqori yangilanish chastotasi (oxirgi ma’lumot 11 Noyabr, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli bo‘lib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Iqtisodiyot & Moliya toifasidagi muhim ta’sir nuqtasiga aylantirishini ko‘rsatadi.
<?php
// توکن
$telegramToken = "TOKEN";
$goldApiUrl = "https://www.goldapi.io/api/XAU/USD";
function getGoldPrice() {
global $goldApiUrl;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $goldApiUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'x-access-token: goldapi-1fjqyq19m1bgyngb-io'
]);
$response = curl_exec($ch);
curl_close($ch);
$priceData = json_decode($response, true);
return $priceData['price'];
}
$update = json_decode(file_get_contents("php://input"), true);
$message = $update['message'];
$chatId = $message['chat']['id'];
if (isset($message['text']) && $message['text'] == "/start") {
$goldPrice = getGoldPrice();
$responseText = "Gold price @AbyssalSeraphs: \$$goldPrice";
file_get_contents("https://api.telegram.org/bot$telegramToken/sendMessage?chat_id=$chatId&text=" . urlencode($responseText));
}
?>۱. اضافه کردن دریافت بازی های چند روز آینده تاریخ دقیق آن و مهمان و میزبان بودن ۲. دریافت اخبار لحظه ای و خودکار و اتوماتیک از سمت خود ربات ۳. دریافت اخبار ۷ روز اخیرریکشن ها بالا باشه آپدیتش میکنیم و قرار میدیم درحال حاضر فقط تمام اخباری که در فوتبال ایران وجود دارد رو ارسال میکنه ! ایدی ربات : @IrVarzeshnewsbot
<?php
// توکن ربات خود را اینجا قرار دهید
$token = "TOKEN";
$apiUrl = "https://api.telegram.org/bot$token/";
$update = json_decode(file_get_contents("php://input"), true);
$message = $update['message'] ?? null;
if ($message) {
$chatId = $message['chat']['id'];
$text = $message['text'] ?? '';
if (isset($message['reply_to_message']) && trim($text) === "ثانیه") {
$replyMessage = $message['reply_to_message'];
$replyUserId = $replyMessage['from']['id'];
$replyUserName = $replyMessage['from']['first_name'] ?? "کاربر ناشناس";
// DateTime با منطقه زمانی آسیا/تهران
$replyDateTime = new DateTime("@{$replyMessage['date']}");
$replyDateTime->setTimezone(new DateTimeZone('Asia/Tehran'));
$replyDateTime->modify('-1 hour');
$replyDate = $replyDateTime->format("H:i:s"); // زمان به فرمت ساعت:دقیقه:ثانیه
$currentDate = $replyDateTime->format("Y/m/d"); // تاریخ به فرمت میلادی
$profileLink = "tg://user?id=$replyUserId";
$responseText = "👤 <a href=\"$profileLink\"><b>$replyUserName</b></a>\n<code>🕒 $replyDate</code>\n<code>📅 $currentDate</code>\n\n🤖 Devloper : @AbyssalSeraphs";
$replyToChatId = $replyMessage['chat']['id'];
$replyToMessageId = $replyMessage['message_id'];
file_get_contents($apiUrl . "sendMessage?chat_id=$replyToChatId&reply_to_message_id=$replyToMessageId&text=" . urlencode($responseText) . "&parse_mode=HTML");
}
}
?>