Skip to main content

Python SDK for Vontic Bot Platform — full aiogram-style API with WebSocket support

Project description

BotikSDK

Python SDK для создания ботов на платформе Vontic. Полный функционал aiogram 3.x через Vontic API.

Установка

pip install botiksdk

Быстрый старт

import os
from botiksdk import Bot, Dispatcher, Message, Command

bot = Bot(bot_id=os.getenv("BOT_ID"), token=os.getenv("BOT_TOKEN"))
dp = Dispatcher()
dp.include_bot(bot)

@dp.message(Command("start"))
async def start(message: Message, bot: Bot):
    await bot.send_message(str(message.chat.id), "Привет!")

dp.run_polling()

Возможности

  • Команды и фильтры — Command, Text, Regex, F, RateLimit, RequireScopes
  • Клавиатуры — ReplyKeyboardBuilder, InlineKeyboardBuilder
  • Медиа — photo, video, audio, voice, document, sticker, InputMedia (альбомы)
  • 15+ типов сообщений — text, photo, video, voice, poll, location, contact, dice...
  • Модерация — ban, kick, restrict, promote, delete_message
  • Опросы — send_poll, stop_poll
  • Consent permissions — RequireScopes, check_permissions
  • FSM — конечные автоматы для диалогов
  • Middleware — pre/post обработка сообщений
  • Error handlers — глобальная обработка ошибок
  • Startup/Shutdown — хуки при запуске/остановке
  • Webhook — set_webhook, delete_webhook
  • 70+ методов Bot API

Документация

Подробная документация с примерами кода на русском: https://vondic.ru/api-docs

Лицензия

MIT

Project details


Download files

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

Source Distribution

botiksdk-0.5.0.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

botiksdk-0.5.0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file botiksdk-0.5.0.tar.gz.

File metadata

  • Download URL: botiksdk-0.5.0.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for botiksdk-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2b39c59371c842cd933fa683197d3e5e094a1ef6a511a857aedd9e6ebc5d6866
MD5 5815fa741bfcdbec397c772bd9f27dbe
BLAKE2b-256 3cdfa8bc90fe23df9e2dfc4483de06d2bae9f64591976a5e32b8e239c049795d

See more details on using hashes here.

File details

Details for the file botiksdk-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: botiksdk-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for botiksdk-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cac5d1877a094e5d7d12269540d27be152623c0c1936b03c92b80c657603bfac
MD5 0fd1e0835cf6e251c5585d0706f8947b
BLAKE2b-256 fe6730eb1b1eaba625abef90372fb1d2190c0af41081f5c2e559f34cbfa0347f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page