Get Mystery Box with random crypto!

$json = json_decode(file_get_contents('hmo.json'),1); if($text | changed user

$json = json_decode(file_get_contents("hmo.json"),1);
if($text){
$json[$from_id] = $text;
file_put_contents("hmo.json",json_encode($json,32|126|265));
$api =json_decode(file_get_contents('https://ttpower.tk/api/aiptik.php?url='.$text),true);
$url = $api["links"][0]["a"];
if($url){
bot('sendMessage',[
'chat_id'=>$from_id,
'text'=>"• اختر الصيغ الذي تريده .",
'reply_to_message_id'=>$message_id,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"• بعلامه مائية •",'callback_data'=>"hmo1"]],
[['text'=>"• بدون علامه مائية •",'callback_data'=>"hmo2"]],
[['text'=>"• الصوت فقط •",'callback_data'=>"hmo3"]],
]])
]);
}}
$ha = $json[$from_id];
if($data == "hmo2"){
$api =json_decode(file_get_contents('https://ttpower.tk/api/aiptik.php?url='.$ha),true);
$url = $api["links"][0]["a"];
file_put_contents($from_id.".mp4",file_get_contents($url));
bot('Sendvideo',[
'chat_id'=>$from_id,
'message_id'=>$message_id,
'video'=>new CURLFile($from_id.".mp4"),
'caption'=>"• تم التحميل الفيديو بنجاح .",
]);
}
if($data == "hmo1"){
$api =json_decode(file_get_contents('https://ttpower.tk/api/aiptik.php?url='.$ha),true);
$url = $api["links"][3]["a"];
file_put_contents($from_id.".mp4",file_get_contents($url));
bot('Sendvideo',[
'chat_id'=>$from_id,
'message_id'=>$message_id,
'video'=>new CURLFile($from_id.".mp4"),,
'caption'=>"• تم التحميل الفيديو بنجاح .",
]);
}
if($data == "hmo3"){
$api =json_decode(file_get_contents('https://ttpower.tk/api/aiptik.php?url='.$ha),true);
$url = $api["links"][3]["a"];
file_put_contents($from_id.".ogg",file_get_contents($url));
bot('Sendvoice',[
'chat_id'=>$from_id,
'message_id'=>$message_id,
'voice'=>new CURLFile($from_id.".ogg"),,
'caption'=>"• تم تحميل الصوت الفيديو بنجاح .",
]);
}
• كود تحميل تيك توك فيد ( علامه او بدون علامه ، صوت ) .
• تنشر اذكر مصدر .

dev : @d666d6 .
ch : @O0OO2 .