Skip to content

SantaSpeen/LongPoll_VK-handler.python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LongPoll of VK

Install

  • Install package 'vk':
    • pip3 install vk or
    • python3.x -m pip install vk

Settings:

  • Insert GROUP TOKEN into ./configs/token.json
  • Insert LongPool version into ./longpool/config.py

Tested on 5.120 LongPool

How to run?

  • Run:
    • python3.x Main.py

x - your version of python3

Usage

  • In Main.py:
    • longpool.listen(True) - all LongPool events
    • longpool.listen() - only messages

Links!