- Install package 'vk':
pip3 install vk
orpython3.x -m pip install vk
- Insert GROUP TOKEN into ./configs/token.json
- Insert LongPool version into ./longpool/config.py
Tested on 5.120 LongPool
- Run:
python3.x Main.py
x - your version of python3
- In
Main.py
:longpool.listen(True)
- all LongPool eventslongpool.listen()
- only messages