artembakhanov / python-telegram-bot-calendar Goto Github PK
View Code? Open in Web Editor NEWPython inline calendar for Telegram bots
License: MIT License
Python inline calendar for Telegram bots
License: MIT License
Возможно ли пробрасывать свои параметры через колбэки календаря? Вижу что из коробки нельзя, быстро вкрутить не получилось, может есть идеи как ничего не сломав это сделать?
Смысл в том, чтобы имея цепочку выборов передать предыдущие выборы через календарь, хотя бы в виде строки
Спасибо за труд!
Thanks for the calendar!
It would be cool to have an opportunity to add one more STEP with custom range of time. Like every 30 or 15 minutes to pick exact time.
So output will be: Selected date: 2022-15-10 22:15.
And the buttons on Time level:
22:00
22:15
22:30....etc.
The method _valid_date
from class TelegramCalendar
checks if the date is included in a given range.
It includes the last date in a range. It is popular to have exclusive ranges in Python.
Hi!
Is it possible to specify the initial step as an argument to DetailedTelegramCalendar?
Is it possible to disable the transition to selecting the month and year?
I need to display only the days of the month, without the ability to select the month and year.
Currently, I specified first_step = DAY in the DetailedTelegramCalendar class (detailed.py), but I couldn’t figure out how to succinctly disable the transition to month and year.
You can, of course, track m and y in c.data, but it seems that this is not quite the right solution.
Hello! A very good calendar. But I have a problem with extracting the date. Can you tell me how to extract the date for further use?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.