import vk
session = vk.AuthSession(app_id='5509191', user_login='+380985561286', user_password='qweqweqwe')
api = vk.API(session)
api.messages.get(user_id='13897175', message="GGG")
/usr/bin/python3.5 /home/mk/Документы/vk/py.py
Traceback (most recent call last):
File "/home/mk/Документы/vk/py.py", line 4, in
api.messages.get(user_id='13897175', message="GGG")
File "/home/mk/.local/lib/python3.5/site-packages/vk/api.py", line 173, in __call__
return self._api._session.make_request(self)
File "/home/mk/.local/lib/python3.5/site-packages/vk/api.py", line 102, in make_request
raise error
vk.exceptions.VkAPIError: 15. Access denied: no access to call this method. request_params = {'message': 'GGG', 'oauth': '1', 'method': 'messages.get', 'user_id': '13897175'}