A
A
Alexander Muradov2020-05-17 13:38:57
Python
Alexander Muradov, 2020-05-17 13:38:57

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 question

Ask a Question

731 491 924 answers to any question