Answer the question
In order to leave comments, you need to log in
What to do if you can not turn to the dictionary?
Here is an excerpt from the code:
newchat = vk.messages.getHistory(peer_id=2000000076)
print(newchat.get('text'))
Answer the question
In order to leave comments, you need to log in
Do print(newchat)
it and you will immediately see what is wrong.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question