L
L
LXSTVAYNE2020-07-12 11:09:39
PyCharm
LXSTVAYNE, 2020-07-12 11:09:39

Why doesn't pycharm prompt?

In general, there is a vk_api module. When I want to send a message or do something similar, I create a session vk = vk_session.get_api() , I try to enter vk.messages. but no hints. How to solve this problem ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2020-07-12
@lxstvayne

Use typing

from vk_api.vk_api import VkApiMethod

vk: VkApiMethod = vk_session.get_api()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question