Sean Wei says to SITCON BOT Testpool自覺稍微能看的解法.. case 'fileid': $reply = $data['message']['reply_to_message'] ?? []; $file = $reply['audio'] ?? $reply['document'] ?? $reply['new_chat_photo'] ?? $reply['photo'] ?? $reply['sticker'] ?? $reply['video'] ?? $reply['voice'] ?? []; $text = $file['file_id'] ?? end($file)['file_id'] ?? 'Error'; sendMsg(Array( 'bot' => BOT, 'chat_id' => ChatID, 'reply_to_message_id' => MsgID, 'text' => $text, )); break;at Thu, Apr 7, 2016 9:03 AM