Skip to main content

Api for Vk BotLongPoll

Project description

================================================================================================================================================================================= \/vkpot\/ – API для написания Bot LongPoll для соц. сети Вконтакте ( (API wrapper)

[?] Документация по методам API ->



import vkpot

token = "token"
group_id = 171252399
bot = vkpot.Bot(token,group_id)

def loop(bot, event):
    if event.type == vkpot.MESSAGE_NEW:
        bot.send_Message(message = "Привет!",
                        peer_id = event.obj.peer_id,
                        user_id = event.obj.from_id
print("[*] BOT STARTED [*]")

[?] Установка

$ pip install vkpot

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vkpot, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size vkpot-0.3.4-py3-none-any.whl (15.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size vkpot-0.3.4.tar.gz (10.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page