Answer the question
In order to leave comments, you need to log in
[Python] Why doesn't detecting changes in a conversation work?
longpoll = VkLongPoll(vk_session)
for event in longpoll.listen():
if event.type == VkEventType.CHAT_EDIT:
if event.type_id == 1:
msg='a'
if event.type_id == 6:
msg='c'
if event.type_id == 7:
msg='c'
if event.type_id == 8:
msg='b'
vk.messages.send(
chat_id=event.chat_id,
message=msg
)
print(msg)
Answer the question
In order to leave comments, you need to log in
Understood, the wrong method was used.
Desired VkEventType.CHAT_UPDATE
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question