tgoop.com/api_tele/92
Last Update:
كود تعديل الميديا 🌚
نستخدمه من سنتين ببوت تصميم الصور ههه @GDPHPBOT$chat_id2 = $update->callback_query->message->chat->id;
$message_id2 = $update->callback_query->message->message_id;
$data = $update->callback_query->data;
if($text == "/test"){
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>"https://www.tgoop.com/gkifiduifgo/2",
'caption'=>"TEST",
'reply_markup' => json_encode([
'inline_keyboard' => [
[['text' => "تعديل", 'callback_data' => "click"]],
]])
]);
}
if($data == "click"){
bot('editmessagemedia',[
'chat_id'=>$chat_id2,
'message_id'=>$message_id2,
'media'=>json_encode([
'type'=>'photo',
'media'=>"https://www.tgoop.com/gkifiduifgo/3",
'caption'=>'done',
]),
'reply_markup' => json_encode([
'inline_keyboard' => [
[['text' => "تم تعديل الصورة", 'url' => "https://www.tgoop.com/bot_tele1"]],
]])
]);
}
انشر مع الحقوق
@api_tele
BY CTA - فريق المبرمجين العرب
Share with your friend now:
tgoop.com/api_tele/92