127 subscribers
1 photo
1 video
48 links
Python framework for Telegram bots
Download Telegram
Channel created
Channel photo updated
Hi there!
Just added support for sending generic files to chats and users! 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
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 :-)
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!
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
There are a few bugs fixed on master, don't forget to update!
Support for sending videos just landed on master!
chat.send_video("movie.mp4")

Check out the docs for more information: https://botogram.pietroalbini.io/docs/dev/search/?q=_video
Now I'm working on something special...
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!
I'm planning to release botogram 0.1.1 in the next few days to fix a few bugs. Related issues:
https://github.com/pietroalbini/botogram/milestones/botogram%200.1.1
I've just released botogram 0.1.1, which is a bugfix release for botogram 0.1. It's recommended to upgrade, and no breaking changes were made.

https://github.com/pietroalbini/botogram/releases/tag/v0.1.1
I'll release botogram 0.1.2 in the next days to fix a few issues. If you spotted another ones please report them!