Just added support for sending generic files to chats and users!
Check out the docs for all the methods: https://botogram.pietroalbini.io/docs/dev/search/?q=_file
chat.send_file("test.py")Check out the docs for all the methods: https://botogram.pietroalbini.io/docs/dev/search/?q=_file
To be clear, I'm slow adding those methods because it takes half an hour just for one methods, if you consider code+testing+docs. And it's a really boring task :)
Recently Telegram added support for HTML in messages, just like the existing Markdown support.
Well, that's now supported also by botogram, so you can just send messages with HTML in it, and it will be rendered correctly thanks to the automatic detection in botogram.
Check out the docs for more information: https://botogram.pietroalbini.io/docs/dev/tricks/#rich-formatting-with-message-syntaxes
Well, that's now supported also by botogram, so you can just send messages with HTML in it, and it will be rendered correctly thanks to the automatic detection in botogram.
Check out the docs for more information: https://botogram.pietroalbini.io/docs/dev/tricks/#rich-formatting-with-message-syntaxes
botogram has a new micro-website, go check it out!
https://botogram.pietroalbini.io/
The old one was just a placeholder, and not that great. This new one has a prettier design, and puts emphasis on the key points of botogram. Expect also a redesign of the documentation soon :-)
https://botogram.pietroalbini.io/
The old one was just a placeholder, and not that great. This new one has a prettier design, and puts emphasis on the key points of botogram. Expect also a redesign of the documentation soon :-)
I'm still alive, but I'm doing a big project for school which takes a lot of time :)
By the way, I've fixed a crash at startup on Windows, and cleared out the docs' header.
No completed changes today, but I've almost finished writing the core logic of inline queries, and they're coming out really well (with automatic results pagination), even if that school project is killing me :)
Tomorrow I'll probably implement
send_location or send_video. After those I plan to release the first beta of botogram on PyPI, so it will be easier to install the project. The final 1.0 release will come out when also keyboards are implemented (but I'm struggling with the API design, if you have any ideas let me know — @pietroalbini)Support for sending geographic locations just landed on master!
Check out the docs for more information: https://botogram.pietroalbini.io/docs/dev/search/?q=_location
chat.send_location(0, 0)Check out the docs for more information: https://botogram.pietroalbini.io/docs/dev/search/?q=_location
I've a few troubles thinking about the API for keyboards. If you want to share your ideas, feel free to comment on this issue:
https://github.com/pietroalbini/botogram/issues/6
https://github.com/pietroalbini/botogram/issues/6
There is currently a discussion about a possible API for sharing shared memories between components. If you want to contribute to the API design, feel free to comment on the issue.
https://github.com/pietroalbini/botogram/issues/22
https://github.com/pietroalbini/botogram/issues/22
GitHub
Request to share selective memories from main component to other components · Issue #22 · pietroalbini/botogram
Hi Pietro,
Might it be possible to allow access to certain memories set directly on the bot's main component from all or some other components? Such is the case when some number of components requ...
Might it be possible to allow access to certain memories set directly on the bot's main component from all or some other components? Such is the case when some number of components requ...
Support for sending videos just landed on master!
Check out the docs for more information: https://botogram.pietroalbini.io/docs/dev/search/?q=_video
chat.send_video("movie.mp4")Check out the docs for more information: https://botogram.pietroalbini.io/docs/dev/search/?q=_video
botogram 0.1 is now released!
Just focus on your bots.
https://github.com/pietroalbini/botogram/releases/tag/v0.1
botogram 0.1 is the first alpha release of botogram, available now to be downloaded from PyPI! This release contains every feature currently on master, but don't worry, keyboards and inline queries will be available in the next releases.
I decided to do this release because I think having botogram ready to be installed with pip is a great thing, even if botogram itself is not completed. But because of that, please wait a bit more before recommending it to your friends :-)
Also, please remember there will be some deprecations to improve the API in the next few releases, so be prepared!
Just focus on your bots.
https://github.com/pietroalbini/botogram/releases/tag/v0.1
botogram 0.1 is the first alpha release of botogram, available now to be downloaded from PyPI! This release contains every feature currently on master, but don't worry, keyboards and inline queries will be available in the next releases.
I decided to do this release because I think having botogram ready to be installed with pip is a great thing, even if botogram itself is not completed. But because of that, please wait a bit more before recommending it to your friends :-)
Also, please remember there will be some deprecations to improve the API in the next few releases, so be prepared!
