{"ok":true,"result":[{"update_id":715296593,
"message":{"message_id":5,"from":{"id":362268798,"is_bot":false,"first_name":"\u041a\u043e\u0442\ud83d\udd25","username":".....","language_code":"ru"},"chat":{"id":362268798,"first_name":"\u041a\u043e\u0442\ud83d\udd25","username":"....","type":"private"},"date":1604728384,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}]}
fmt.Println(data["result"].(map[string]interface{})["chat"])
a[0], a.response
GNU nano 2.9.3 error.log
[Fri Oct 09 08:25:05.162061 2020] [mpm_prefork:notice] [pid 9562] AH00163: Apache/2.4.29 (Ubuntu) mpm-itk/2.4.7-04 OpenSSL/1.1.1 co$
[Fri Oct 09 08:25:05.164711 2020] [core:notice] [pid 9562] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 09 15:07:41.882252 2020] [mpm_prefork:notice] [pid 9562] AH00173: SIGHUP received. Attempting to restart
PHP Warning: Module 'ev' already loaded in Unknown on line 0
[Fri Oct 09 15:07:41.956418 2020] [mpm_prefork:notice] [pid 9562] AH00163: Apache/2.4.29 (Ubuntu) mpm-itk/2.4.7-04 OpenSSL/1.1.1 co$
[Fri Oct 09 15:07:41.956463 2020] [core:notice] [pid 9562] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 09 15:07:56.525045 2020] [mpm_prefork:notice] [pid 9562] AH00169: caught SIGTERM, shutting down
PHP Warning: Module 'ev' already loaded in Unknown on line 0
[Fri Oct 09 15:08:46.116989 2020] [mpm_prefork:notice] [pid 18878] AH00163: Apache/2.4.29 (Ubuntu) mpm-itk/2.4.7-04 OpenSSL/1.1.1 c$
[Fri Oct 09 15:08:46.117217 2020] [core:notice] [pid 18878] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 09 15:19:18.402431 2020] [mpm_prefork:notice] [pid 18878] AH00173: SIGHUP received. Attempting to restart
PHP Warning: Module 'ev' already loaded in Unknown on line 0
[Fri Oct 09 15:19:18.496557 2020] [mpm_prefork:notice] [pid 18878] AH00163: Apache/2.4.29 (Ubuntu) mpm-itk/2.4.7-04 OpenSSL/1.1.1 c$
[Fri Oct 09 15:19:18.496625 2020] [core:notice] [pid 18878] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 09 15:25:47.056203 2020] [mpm_prefork:notice] [pid 18878] AH00173: SIGHUP received. Attempting to restart
PHP Warning: Module 'ev' already loaded in Unknown on line 0
[Fri Oct 09 15:25:47.144015 2020] [mpm_prefork:notice] [pid 18878] AH00163: Apache/2.4.29 (Ubuntu) mpm-itk/2.4.7-04 OpenSSL/1.1.1 c$
[Fri Oct 09 15:25:47.144089 2020] [core:notice] [pid 18878] AH00094: Command line: '/usr/sbin/apache2'
JSON:
Ошибки: