D
D
Dmitry2019-02-12 05:41:13
API
Dmitry, 2019-02-12 05:41:13

Telgrambot stopped working, what should I do?

For unknown reasons, the bot on VDS stopped responding to commands, what needs to be done to fix it?
What I already did.
1. I tried to change the address to the Webhook 2. I uploaded the new code and the database (I used the old one) from the Logi
backup copy (what's wrong here?):

{"update_id":643663200,"message":{"message_id":6,"from":{"id":297994111,"is_bot":false,"first_name":"Papa","username":"Telebot_pro","language_code":"ru"},"chat":{"id":297994111,"first_name":"Papa","username":"Telebot_pro","type":"private"},"date":1549938176,"text":"\/register","entities":[{"offset":0,"length":9,"type":"bot_command"}]}}
{"update_id":643663200,"message":{"message_id":6,"from":{"id":297994111,"is_bot":false,"first_name":"Papa","username":"Telebot_pro","language_code":"ru"},"chat":{"id":297994111,"first_name":"Papa","username":"Telebot_pro","type":"private"},"date":1549938176,"text":"\/register","entities":[{"offset":0,"length":9,"type":"bot_command"}]}}
{"update_id":643663200,"message":{"message_id":6,"from":{"id":297994111,"is_bot":false,"first_name":"Papa","username":"Telebot_pro","language_code":"ru"},"chat":{"id":297994111,"first_name":"Papa","username":"Telebot_pro","type":"private"},"date":1549938176,"text":"\/register","entities":[{"offset":0,"length":9,"type":"bot_command"}]}}
{"update_id":643663200,"message":{"message_id":6,"from":{"id":297994111,"is_bot":false,"first_name":"Papa","username":"Telebot_pro","language_code":"ru"},"chat":{"id":297994111,"first_name":"Papa","username":"Telebot_pro","type":"private"},"date":1549938176,"text":"\/register","entities":[{"offset":0,"length":9,"type":"bot_command"}]}}
{"update_id":643663200,"message":{"message_id":6,"from":{"id":297994111,"is_bot":false,"first_name":"Papa","username":"Telebot_pro","language_code":"ru"},"chat":{"id":297994111,"first_name":"Papa","username":"Telebot_pro","type":"private"},"date":1549938176,"text":"\/register","entities":[{"offset":0,"length":9,"type":"bot_command"}]}}
{"update_id":643663200,"message":{"message_id":6,"from":{"id":297994111,"is_bot":false,"first_name":"Papa","username":"Telebot_pro","language_code":"ru"},"chat":{"id":297994111,"first_name":"Papa","username":"Telebot_pro","type":"private"},"date":1549938176,"text":"\/register","entities":[{"offset":0,"length":9,"type":"bot_command"}]}}
{"update_id":643663200,"message":{"message_id":6,"from":{"id":297994111,"is_bot":false,"first_name":"Papa","username":"Telebot_pro","language_code":"ru"},"chat":{"id":297994111,"first_name":"Papa","username":"Telebot_pro","type":"private"},"date":1549938176,"text":"\/register","entities":[{"offset":0,"length":9,"type":"bot_command"}]}}
{"update_id":643663200,"message":{"message_id":6,"from":{"id":297994111,"is_bot":false,"first_name":"Papa","username":"Telebot_pro","language_code":"ru"},"chat":{"id":297994111,"first_name":"Papa","username":"Telebot_pro","type":"private"},"date":1549938176,"text":"\/register","entities":[{"offset":0,"length":9,"type":"bot_command"}]}}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2019-02-12
@Allepta

This is a rep request from the getupdates method, not logs. We need specific details, at least a function that processes parsed requests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question