hadi2016
شنبه 08 مهر 1396, 02:13 صبح
سلام دوستان
من چطوری میتونم عکسی رو که کاربر از طریق ربات برام فرستاده را توی هاستم ذخیره کنم؟
واسه دریافت متن از این کد استفاده میکنم اما واسه عکس نمیدونم چه تغییری توی کد بدم
لطفا راهنماییم کنید
$message= file_get_contents("php://input");$arrayMessage= json_decode($message, true);$token= "my token";$chat_id= $arrayMessage['message']['from']['id'];$command= $arrayMessage['message']['text'];
من چطوری میتونم عکسی رو که کاربر از طریق ربات برام فرستاده را توی هاستم ذخیره کنم؟
واسه دریافت متن از این کد استفاده میکنم اما واسه عکس نمیدونم چه تغییری توی کد بدم
لطفا راهنماییم کنید
$message= file_get_contents("php://input");$arrayMessage= json_decode($message, true);$token= "my token";$chat_id= $arrayMessage['message']['from']['id'];$command= $arrayMessage['message']['text'];