2026-06-29 14:13:43 - Request received
2026-06-29 14:13:43 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
    [caption] => ارسال عکس با متد sendImage
)

2026-06-29 14:13:43 - Creating BotClient instance
2026-06-29 14:13:43 - BotClient instance created
2026-06-29 14:13:43 - Sending image: https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
2026-06-29 14:13:44 - Result: Array
(
    [data] => {"status":"INVALID_INPUT"}
    [file_id] => 
)

2026-06-29 14:13:44 - Success
2026-06-29 14:15:21 - Request received
2026-06-29 14:15:21 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
    [caption] => تست با sendFile
)

2026-06-29 14:15:21 - Creating BotClient instance
2026-06-29 14:15:21 - BotClient instance created
2026-06-29 14:15:21 - Sending file: https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
2026-06-29 14:15:21 - Result: Array
(
    [data] => {"status":"INVALID_INPUT"}
    [file_id] => 
)

2026-06-29 14:15:21 - Success
2026-06-29 14:16:49 - Request received
2026-06-29 14:16:49 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
    [caption] => تست با cURL مستقیم
)

2026-06-29 14:16:49 - Downloading image from: https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
2026-06-29 14:16:53 - Requesting upload URL
2026-06-29 14:16:53 - Upload URL response: {"status":"OK","data":{"upload_url":"https://messengerg2f1.rubika.ir/upload/nkd0lbonjsofrubcjjyhijoljhosbmhgidnc"}}
2026-06-29 14:16:53 - Exception: {"status":"error","message":"Failed to get upload URL: {\"status\":\"OK\",\"data\":{\"upload_url\":\"https:\/\/messengerg2f1.rubika.ir\/upload\/nkd0lbonjsofrubcjjyhijoljhosbmhgidnc\"}}"}
2026-06-29 14:18:18 - Request received
2026-06-29 14:18:18 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.google.com/images/branding/googlelogo/1x/googlelogo_light_color_272x92dp.png
    [caption] => تست با لوگوی گوگل
)

2026-06-29 14:18:18 - Downloading image from: https://www.google.com/images/branding/googlelogo/1x/googlelogo_light_color_272x92dp.png
2026-06-29 14:18:18 - Requesting upload URL
2026-06-29 14:18:18 - Upload URL response: {"status":"OK","data":{"upload_url":"https://messengerg2f1.rubika.ir/upload/nkd0ujgudhqnlrzuxflghlsactpqaasswrsk"}}
2026-06-29 14:18:18 - Exception: {"status":"error","message":"Failed to get upload URL: {\"status\":\"OK\",\"data\":{\"upload_url\":\"https:\/\/messengerg2f1.rubika.ir\/upload\/nkd0ujgudhqnlrzuxflghlsactpqaasswrsk\"}}"}
2026-06-29 14:18:37 - Request received
2026-06-29 14:18:37 - Input: 
2026-06-29 14:18:37 - Error: {"status":"error","message":"image_url is required"}
2026-06-29 14:19:42 - Request received
2026-06-29 14:19:42 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.google.com/images/branding/googlelogo/1x/googlelogo_light_color_272x92dp.png
    [caption] => تست نهایی با لوگوی گوگل
)

2026-06-29 14:19:42 - Downloading image from: https://www.google.com/images/branding/googlelogo/1x/googlelogo_light_color_272x92dp.png
2026-06-29 14:19:42 - Image downloaded, size: 3501 bytes
2026-06-29 14:19:42 - Requesting upload URL
2026-06-29 14:19:42 - Upload URL response: {"status":"OK","data":{"upload_url":"https://messengerg2f1.rubika.ir/upload/nkd0vzcazqqtqtfkuxtytudewiknlgofeejf"}}
2026-06-29 14:19:42 - Upload URL obtained: https://messengerg2f1.rubika.ir/upload/nkd0vzcazqqtqtfkuxtytudewiknlgofeejf
2026-06-29 14:19:42 - Uploading image to: https://messengerg2f1.rubika.ir/upload/nkd0vzcazqqtqtfkuxtytudewiknlgofeejf
2026-06-29 14:19:42 - Upload result: <!DOCTYPE html>
<html>
<head>
<title>Error</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>An error occurred.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>If you are the system administrator of this resource then you should check
the error log for details.</p>
<p><em>Faithfully yours, nginx.</em></p>
</body>
</html>

2026-06-29 14:19:42 - Exception: {"status":"error","message":"Upload failed with HTTP Code: 502. Response: <!DOCTYPE html>\n<html>\n<head>\n<title>Error<\/title>\n<style>\nhtml { color-scheme: light dark; }\nbody { width: 35em; margin: 0 auto;\nfont-family: Tahoma, Verdana, Arial, sans-serif; }\n<\/style>\n<\/head>\n<body>\n<h1>An error occurred.<\/h1>\n<p>Sorry, the page you are looking for is currently unavailable.<br\/>\nPlease try again later.<\/p>\n<p>If you are the system administrator of this resource then you should check\nthe error log for details.<\/p>\n<p><em>Faithfully yours, nginx.<\/em><\/p>\n<\/body>\n<\/html>\n"}
2026-06-29 14:24:58 - Request received
2026-06-29 14:24:58 - Input: 
2026-06-29 14:24:58 - Error: {"status":"error","message":"image_url is required"}
2026-06-29 14:28:35 - Request received
2026-06-29 14:28:35 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
    [caption] => این یک پیام برای گروه است
)

2026-06-29 14:28:35 - Sending message with image link: این یک پیام برای گروه است

https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
2026-06-29 14:28:35 - Send result: {"status":"OK","data":{"message_id":"1812205272774230997"}}
2026-06-29 14:29:52 - Request received
2026-06-29 14:29:52 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
    [caption] => این یک پیام برای گروه است
)

2026-06-29 14:29:52 - Sending message with image link: این یک پیام برای گروه است

https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
2026-06-29 14:29:52 - Send result: {"status":"OK","data":{"message_id":"1812206273585230997"}}
2026-06-29 14:32:51 - Request received
2026-06-29 14:32:51 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
    [caption] => این یک پیام برای گروه است
)

2026-06-29 14:32:51 - Sending message with metadata
2026-06-29 14:32:51 - Send result: {"status":"OK","data":{"message_id":"1812213275227230997"}}
2026-06-29 14:38:09 - Request received
2026-06-29 14:38:09 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
    [caption] => این یک پیام برای گروه است
)

2026-06-29 14:38:09 - Sending photo with file_id: ai5gPTTF07225486426046794330911581802262026062013
2026-06-29 14:38:09 - Send result: {"status":"INVALID_INPUT","dev_message":"Invalid Method"}
2026-06-29 14:41:39 - Request received
2026-06-29 14:41:39 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [image_url] => https://www.khaneh-memar.com/wp-content/uploads/2026/02/Brick-or-stone-facade-3.jpg
    [caption] => این یک پیام برای گروه است
)

2026-06-29 14:42:38 - Request received
2026-06-29 14:42:38 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [caption] => این یک پیام برای گروه است
)

2026-06-29 14:43:38 - Request received
2026-06-29 14:43:38 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [caption] => تست ارسال
)

2026-06-29 14:45:10 - Request received
2026-06-29 14:45:10 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [caption] => تست با sendFile
)

2026-06-29 14:45:10 - Sending file with file_id: ai5gPTTF07225486426046794330911581802262026062013
2026-06-29 14:45:10 - Send result: {"status":"INVALID_ACCESS","dev_message":"file_id is not valid."}
2026-06-29 14:45:30 - Request received
2026-06-29 14:45:30 - Input: 
2026-06-29 14:45:30 - Sending file with file_id: ai5gPTTF07225486426046794330911581802262026062013
2026-06-29 14:45:30 - Send result: {"status":"INVALID_ACCESS","dev_message":"file_id is not valid."}
2026-06-29 14:48:23 - Request received
2026-06-29 14:48:23 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [caption] => تست با file_id جدید
)

2026-06-29 14:48:23 - Sending file with file_id: asbyZo5q07972747282450221009112579785912026062820
2026-06-29 14:48:23 - Send result: {"status":"INVALID_ACCESS","dev_message":"file_id is not valid."}
2026-06-29 14:49:34 - Request received
2026-06-29 14:49:34 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [caption] => تست نهایی
)

2026-06-29 14:49:34 - Sending file with file_id: asbyZo5q07972747282450221009112579785912026062820
2026-06-29 14:49:34 - Send result: {"status":"INVALID_ACCESS","dev_message":"file_id is not valid."}
2026-06-29 14:59:27 - Request received
2026-06-29 14:59:27 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [file_id] => asbyZo5q07972747282450221009112579785912026062820
    [caption] => این یک پیام برای گروه است
)

2026-06-29 14:59:27 - Sending file with chat_id: b0EIuqp0nkd0ff4ef06da4372dc39e14, file_id: asbyZo5q07972747282450221009112579785912026062820
2026-06-29 14:59:27 - Send result: {"status":"INVALID_ACCESS","dev_message":"file_id is not valid."}
2026-06-29 14:59:59 - Request received
2026-06-29 14:59:59 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [file_id] => asbyZo5q07972747282450221009112579785912026062820
    [caption] => تست با دریافت file_id از ورودی
)

2026-06-29 14:59:59 - Sending file with chat_id: b0EIuqp0nkd0ff4ef06da4372dc39e14, file_id: asbyZo5q07972747282450221009112579785912026062820
2026-06-29 14:59:59 - Send result: {"status":"INVALID_ACCESS","dev_message":"file_id is not valid."}
2026-06-29 15:03:02 - Request received
2026-06-29 15:03:02 - Input: 
2026-06-29 15:03:36 - Request received
2026-06-29 15:03:36 - Input: 
2026-06-29 15:13:05 - Request received
2026-06-29 15:13:05 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [file_id] => asbyZo5q07972747282450221009112579785912026062820
    [caption] => تست از SSH
)

2026-06-29 15:13:05 - Sending file with chat_id: b0EIuqp0nkd0ff4ef06da4372dc39e14, file_id: asbyZo5q07972747282450221009112579785912026062820
2026-06-29 15:13:05 - Send result: {"status":"INVALID_ACCESS","dev_message":"file_id is not valid."}
2026-06-29 15:14:21 - Request received
2026-06-29 15:14:21 - Input: Array
(
    [chat_id] => b0EIuqp0nkd0ff4ef06da4372dc39e14
    [file_id] => asbyZo5q07972747282450221009112579785912026062820
    [caption] => این یک پیام برای گروه است
)

2026-06-29 15:14:21 - Sending file with chat_id: b0EIuqp0nkd0ff4ef06da4372dc39e14, file_id: asbyZo5q07972747282450221009112579785912026062820
2026-06-29 15:14:21 - Send result: {"status":"INVALID_ACCESS","dev_message":"file_id is not valid."}
2026-06-29 18:12:01 - Request received
2026-06-29 18:12:01 - Input: 
