# Date Selection tool for Aiogram Telegram Bots
## Description
A simple inline calendar, date selection tool for [aiogram](https://github.com/aiogram/aiogram) 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
Install package
pip install aiogram_calendar
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](https://j.gifs.com/nRQlqW.gif)
没有合适的资源?快使用搜索试试~ 我知道了~
Aiogram 电报机器人的 日期选择工具和内联日历_python_代码_下载
共10个文件
py:5个
txt:2个
gitignore:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 51 浏览量
2022-07-02
23:12:00
上传
评论
收藏 7KB ZIP 举报
温馨提示
描述 一个简单的内联日历、日期选择工具,用于用 Python 编写的aiogram电报机器人。提供两种类型的日期选择器: 导航日历 - 用户可以通过单击单个按钮来选择日期或移动到下一个或上一个月/年。对话日历 - 用户在第一阶段选择年份,在下一阶段选择月份,在最后阶段选择日期 用法 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
aiogram_calendar-master.zip (10个子文件)
aiogram_calendar-master
aiogram_calendar
dialog_calendar.py 5KB
__init__.py 219B
simple_calendar.py 5KB
example_bot.py 2KB
setup.cfg 39B
requirements.txt 37B
setup.py 1KB
.gitignore 92B
README.md 836B
LICENSE.txt 1KB
共 10 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功