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