Answer the question
In order to leave comments, you need to log in
How to delete a conversation using the Vk API?
Using the deleteChat function, I try to delete the chat, but nothing happens, the chat dialog does not close. How to delete a conversation using the Vk API?
def deleteChat(chat_id):
return vk_session.method('messages.deleteConversation',
values={'peer_id': 2000000000 + int(chat_id), 'group_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