Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 786 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 786 Bytes

Date Selection tool for Aiogram Telegram Bots

Description

A simple inline calendar, date selection tool for aiogram 3.0 telegram bots written in Python. Offers two types of date pickers: Navigation calendar - user can either select a date or move to the next or previous month/year by clicking a singe button. Dialog calendar - user selects year on first stage, month on next stage, day on last stage

Usage

A full working example on how to use aiogram-calendar is provided in bot_example.py. You create a calendar and add it to a message with a reply_markup parameter and then you can process it in a callbackqueyhandler method using the process_selection method.

Gif demo:

aiogram_calendar