Phoenix Syntax
36 subscribers
3 files
Download Telegram
Channel created
211
@TimsohOyinbot(@PhoenixSyntax).zip
5 KB
πŸ€– Demo: @TimsohOyinbot copy paste @Crocodile_Game_Bot

βœ”οΈ Dasturchi: @allusefull
πŸ“’ Kanal: @PhoenixSyntax
Please open Telegram to view this post
VIEW IN TELEGRAM
211
index(@PhoenixSyntax.php
5 KB
πŸ€– Demo: @OnlineChatTGbot bot kodi
Anonim chat

βœ”οΈ Dasturchi: @allusefull
πŸ“’ Kanal: @PhoenixSyntax
Please open Telegram to view this post
VIEW IN TELEGRAM
22πŸ‘11
🌟 Telegram yulduzcha

if($text=="/creat"){
$link = bot('createInvoiceLink',[
'title' => "Telegram Stars",
'description' => "Donate qilish",
'payload' => "add",
'currency' => 'XTR',
'start_parameter'=>'pay',
'photo_url' => "https://telegra.ph/file/0f4d11055570ba7c2d65a.jpg",
'photo_width' => 320,
'photo_height' => 320,
'prices' => json_encode([[
'label' => "@PhoenixSyntax",
'amount' => "10" // 10 stars
]
]),
])->result;
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"ok: $link"
]);
}


πŸ”— Telegram Stars ni url yani link ko’rinishida to’lash


βœ”οΈ Dasturchi: @allusefull
πŸ“’ Kanal: @PhoenixSyntax
Please open Telegram to view this post
VIEW IN TELEGRAM
1322
Qanaqadir funksiya kerakmi?
332
index(@PhoenixSyntax).php
5.4 KB
πŸ€– Demo: @SearchPremiumbot

βœ”οΈ Dasturchi: @allusefull
πŸ“’ Kanal: @PhoenixSyntax
Please open Telegram to view this post
VIEW IN TELEGRAM
1322
This media is not supported in the widget
VIEW IN TELEGRAM
Phoenix Syntax
πŸ“’ Kanal: @PhoenixSyntax πŸ‘₯ Guruh: @PhoenixSyntaxChat
if($text=="/stars"){
bot('sendPaidMedia',[
'chat_id'=>"@PhoenixSyntax",
'star_count'=>5, // 5 ta stars
'media'=>json_encode([
['type'=>"photo",'media'=>"Rasm manzili"],
['type'=>"video",'media'=>"Video manzili"]
]),
'caption'=>"πŸ“’ Kanal: @PhoenixSyntax",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"πŸ“’ Kanal",'url'=>"https://t.iss.one/PhoenixSyntax"]],
]
]),
]);
}


ℹ️ Rasm yoki video ni pullik media qilib yuborish, faqat kanallarga yuborsa bo'ladi shaxshiy chat yoki guruhga hozircha yuborib bo'lmaydi


βœ”οΈ Dasturchi: @allusefull
πŸ“’ Kanal: @PhoenixSyntax
Please open Telegram to view this post
VIEW IN TELEGRAM
111
πŸ—³ Kanalga foydalanuvchi ovoz bergani yoki bermaganini tekshirish

if($text=="/tekshirish"){
$boost = bot('getUserChatBoosts',[
'chat_id'=>"@PhoenixSyntax", // Kanal useri yoki id
'user_id'=>$user_id
])->result->boosts;
if(count($boost)>=1){
$result = "Siz kanalga ".count($boost)." ta ovoz bergansiz";
}else{
$result = "Yo'q siz kanalga ovoz bermagansiz";
}
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>$result
]);
}


ℹ️ Agar bot kanalda admin bo'lmasa tekshira olmaydi(haa bu anig'u)


βœ”οΈ Dasturchi: @allusefull
πŸ“’ Kanal: @PhoenixSyntax
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯2❀1πŸ‘1