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!
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
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
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!
I've just released botogram 0.1.2, which is a bugfix release for botogram 0.1 and 0.1.1. It's recommended to upgrade, and no breaking changes were made.
https://github.com/pietroalbini/botogram/releases/tag/v0.1.2
https://github.com/pietroalbini/botogram/releases/tag/v0.1.2
After a bunch of bugfixes released in botogram 0.1.1 and 0.1.2, I'm starting to work on botogram 0.2.
Some APIs will be deprecated in botogram 0.2, and either changed or renamed. This is done because I want to have a clear, beautiful API, and I regret some of the initial design choices. The deprecated APIs will keep working until 1.0, and warnings are in place so you know what to change.
Also, botogram 0.2 will include some new features (but not inline queries or keyboards yet). You can see the all the new stuff here:
https://github.com/pietroalbini/botogram/milestones/botogram%200.2
Feel free to comment on any issue, or reach me at @pietroalbini.
Some APIs will be deprecated in botogram 0.2, and either changed or renamed. This is done because I want to have a clear, beautiful API, and I regret some of the initial design choices. The deprecated APIs will keep working until 1.0, and warnings are in place so you know what to change.
Also, botogram 0.2 will include some new features (but not inline queries or keyboards yet). You can see the all the new stuff here:
https://github.com/pietroalbini/botogram/milestones/botogram%200.2
Feel free to comment on any issue, or reach me at @pietroalbini.
By the way, since commit e70a442 each code change I'll push to the repository is cryptographically signed with my GPG key, so you can check you're not using altered source code.
My GPG key: http://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0x0490381A6F58BCDA
My GPG key: http://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0x0490381A6F58BCDA
The implementation of @bot.when_blocked is now complete, I only need to write down a little bit of documentation. This allows you to react after you sent a message to an user who blocked your bot, and it will land in botogram 0.2.
Tracking issue:
https://github.com/pietroalbini/botogram/issues/23
Tracking issue:
https://github.com/pietroalbini/botogram/issues/23
I'm considering a change in
https://github.com/pietroalbini/botogram/issues/23
@bot.when_blocked, which will also handle when your bot is kicked from a group chat or it's not an admin of a channel. Feedback is welcome :)https://github.com/pietroalbini/botogram/issues/23