Answer the question
In order to leave comments, you need to log in
How to use messages.getHistory in a conversation?
What is the correct way to use messages.getHistory(vk_api) in a conversation?
Answer the question
In order to leave comments, you need to log in
From the side of the group (through the token), this method was removed, it can only be used through the page
#Групповой бот:
msg_history = vk.method("messages.getHistory", {"peer_id": peer_id})
#Страничный бот:
msg_history = vk.messages.getHistory(peer_id=peer_id)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question