Answer the question
In order to leave comments, you need to log in
Why does the bot disconnect with an error when sending a message?
There is the following code, which outputs the bot's events to the console:
def start(self):
for event in self.long_poll.listen():
print(event)
<({'type': 'message_typing_state', 'object': {'state': 'typing', 'from_id': ######, 'to_id': -######}, 'group_id ': ######})>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question