/Telebot-Calendar

Telegram bot inline keyboard calendar

Primary LanguagePythonMIT LicenseMIT

Inline calendar for Telebot

Code style: black

Simple calendar for Telebot.

Installation

PYPI

pip install telebot-calendar

Description

The file telebot_calendar.py used to create, modify, and retrieve user data from an inline keyboard calendar created by the user.

Usage

To use the telebot_calendar you need to have Telebot installed first. Working example.py See the example in the file example.py

Languages

To set the language, add its instance to the calendar class

from telebot_calendar import Calendar, RUSSIAN_LANGUAGE

calendar = Calendar(language=RUSSIAN_LANGUAGE)

You can also create your own language class. If you will do it for other languages, we will be grateful to PR

Demo