direct request to API?
bot("editmessagemedia", [ 'chat_id'=>$chat_id2, 'message_id'=>$message_id2, "media"=>json_encode([ 'type'=> 'photo' , 'media' =>link, 'caption'=>"Text",]), 'parse_mode'=>markdown, "reply_markup"=>json_encode([ "inline_keyboard"=>[ [['text'=>"Title",'callback_data'=>"button"],['text'=>"Title",'callback_data'=>"button"]],]])]);
This code waits for user to send Photo/Media, is it? I meant for bot developer, to do it for his 𝘽oT and it's PHP goodness.
That code doesn't really wait for anything, it is precisely what you asked.
Обсуждают сегодня