Skip to content

This is a lightweight and powerful wrapper for the TrueConf Server Chatbot API, enabling quick integration of chatbots into TrueConf.

License

Notifications You must be signed in to change notification settings

TrueConf/python-trueconf-bot

Repository files navigation

python-trueconf-bot

This is a lightweight and powerful wrapper for the TrueConf Server Chatbot API which enables quick integration of chatbots into TrueConf solutions.

Example Bot in TrueConf

English / Русский

Tip

We were inspired by the popular aiogram library, so, the transition will be simple for developers already familiar with this library.

Key Features

  • Easy integration with the TrueConf Server Chatbot API
  • Quick start with the python-trueconf-bot package
  • Modern and intuitive Python API (from trueconf import Bot)
  • Support for all major TrueConf Server chatbot features.

Important

Chatbot features are supported in TrueConf Server 5.5 or above, TrueConf Enterprise, and TrueConf Server Free.

Example Bot

import asyncio
from trueconf import Bot, Dispatcher, Router, Message, F, ParseMode
from os import getenv

router = Router()
dp = Dispatcher()
dp.include_router(router)

TOKEN = getenv("TOKEN")

bot = Bot(server="video.example.com", token=TOKEN, dispatcher=dp)


@router.message(F.text)
async def echo(msg: Message):
    await msg.answer(f"You says: **{msg.text}**", parse_mode=ParseMode.MARKDOWN)


async def main():
    await bot.run()


if __name__ == "__main__":
    asyncio.run(main())

Documentation and Support

  1. TrueConf Server Chatbot API Documentation
  2. python-trueconf-bot Documentation

All updates and releases are available in the repository. Track the build status and test coverage.


Start building smart and reliable bots for TrueConf today with python-trueconf-bot!

About

This is a lightweight and powerful wrapper for the TrueConf Server Chatbot API, enabling quick integration of chatbots into TrueConf.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages