Today was a really productive day!
Other than merging support for fetching users' avatars, I fixed a bug with the
Stickers got some love too! You can now both download (it was documented, but not implemented, woops!) and send them. All of this will land in botogram 0.2.
Full changelog for the 0.2 release:
https://botogram.pietroalbini.io/docs/dev/changelog/
Other than merging support for fetching users' avatars, I fixed a bug with the
Bot.send* methods, which prevented you from sending messages to channels with a running bot. Stickers got some love too! You can now both download (it was documented, but not implemented, woops!) and send them. All of this will land in botogram 0.2.
Full changelog for the 0.2 release:
https://botogram.pietroalbini.io/docs/dev/changelog/
Today the /help command was fixed (it was broken on the development version), but a lot of things were suggested on the users' group chat. Feel free to join!
https://telegram.me/botogram_users
https://telegram.me/botogram_users
Just fixed another issue in the syntax detector: it was checking only the first line of the messages.
https://github.com/pietroalbini/botogram/issues/40
The fix should land in botogram 0.2, but if you're affected by this just override the syntax manually.
https://github.com/pietroalbini/botogram/issues/40
The fix should land in botogram 0.2, but if you're affected by this just override the syntax manually.
Another issue was fixed in the master branch: now commands with newlines in the arguments are recognized as such correctly!
https://github.com/pietroalbini/botogram/issues/41
The fix should land in botogram 0.2.
https://github.com/pietroalbini/botogram/issues/41
The fix should land in botogram 0.2.
Hey there! Today a nasty bug was fixed, so there are no more blank items in args! There was also a minor typo in the README fixed by thesharp.
All the default messages of botogram were also changed! Now most of the messages includes rich formatting, so they're now prettier.
Because of the default messages changes, if you're running the development version and you've installed it with
botogram 0.2 is nearby, stay tuned!
All the default messages of botogram were also changed! Now most of the messages includes rich formatting, so they're now prettier.
Because of the default messages changes, if you're running the development version and you've installed it with
invoke devel you need to run the following command after fetching the changes:$ invoke i18n-compilebotogram 0.2 is nearby, stay tuned!
By the way, thesharp added also support for sending messages without notifying the user! Congrats!
A nasty compatibility bug was fixed today, and thesharp did the last change before botogram 0.2!
Now,
Expect botogram 0.2 to be out next monday/tuesday \o/
Now,
Message.from_ is called Message.sender. The old syntax will keep to work until botogram 1.0, and deprecation warnings are in place.Expect botogram 0.2 to be out next monday/tuesday \o/
Hey there, look at what is out today: botogram 0.2!
botogram 0.2 is the second alpha release of botogram. It features an increased support for the upstream Telegram API, and also some bugfixes here and there.
This release also does some cleanup in the API, providing better methods and deprecating the old ones. The deprecated methods will be available until botogram 1.0, and warnings are in place to notify you where to change what.
Update it right now:
If you notice any issues with the new release feel free to report them in the issue tracker, and if you want to discuss about new features for botogram 0.3 hop into the @botogram_users group!
botogram 0.2 is the second alpha release of botogram. It features an increased support for the upstream Telegram API, and also some bugfixes here and there.
This release also does some cleanup in the API, providing better methods and deprecating the old ones. The deprecated methods will be available until botogram 1.0, and warnings are in place to notify you where to change what.
Update it right now:
# Linux and OSX
$ python3 -m pip install -U "botogram==0.2"
# Windows
C:\> py -3 -m pip install -U "botogram==0.2"
If you notice any issues with the new release feel free to report them in the issue tracker, and if you want to discuss about new features for botogram 0.3 hop into the @botogram_users group!
botogram 0.2.1 is now out to fix a little issue with the
Changelog:
https://botogram.pietroalbini.io/docs/0.2/changelog/#botogram-0-2-1
Update it right now:
If you notice any issues with the new release feel free to report them in the issue tracker, and if you want to discuss about new features for botogram 0.3 hop into the @botogram_users group!
/help default command. No breaking changes are in it, so updates are recommended.Changelog:
https://botogram.pietroalbini.io/docs/0.2/changelog/#botogram-0-2-1
Update it right now:
# Linux and OSX
$ python3 -m pip install -U "botogram==0.2.1"
# Windows
C:\> py -3 -m pip install -U "botogram==0.2.1"
If you notice any issues with the new release feel free to report them in the issue tracker, and if you want to discuss about new features for botogram 0.3 hop into the @botogram_users group!
I'm thinking about a bigger future for botogram. Please give your opinions on the issue!
https://github.com/pietroalbini/botogram/issues/52
https://github.com/pietroalbini/botogram/issues/52
The first new feature of botogram 0.3 landed on master! You can now easily react when a chat is not available (for example the user blocked your bot).
Check out the documentation: https://botogram.pietroalbini.io/docs/dev/unavailable-chats
If you have any idea for the future of botogram or you want to discuss this change, join the @botogram_users group!
Check out the documentation: https://botogram.pietroalbini.io/docs/dev/unavailable-chats
If you have any idea for the future of botogram or you want to discuss this change, join the @botogram_users group!
New thing I will add in botogram 0.3: conversations (aka forced replies and keyboards on steroids). Please share any idea you have in the issue:
https://github.com/pietroalbini/botogram/issues/53
https://github.com/pietroalbini/botogram/issues/53
GitHub
Add support for tracking conversations · Issue #53 · pietroalbini/botogram
Conversation tracking is the way I plan to implement a proper support for keyboards (as a layer above those) and forced replies.
@bot.command("support")
def support_command(conversation, chat, mes...
@bot.command("support")
def support_command(conversation, chat, mes...
Some other changes are going to happen in botogram 0.3: this will be the new shared memory:
https://github.com/pietroalbini/botogram/issues/54
https://github.com/pietroalbini/botogram/issues/54
GitHub
Rework shared memory · Issue #54 · pietroalbini/botogram
The current status of shared memory is a real mess, and I really need to solve it:
First of all, you can't easily use sub-dictionaries because they're not synchronized, and you need to do something...
First of all, you can't easily use sub-dictionaries because they're not synchronized, and you need to do something...
By the way, new features introduced today like groups management will be included in botogram 0.3.
A bunch of new things were added in the Bot API 2.0 update of the Telegram API! All the new features (except for inline queries and maybe keyboards if I have time to implement them in a timely manner after the other things) will be included in botogram 0.3!
Meta issue which tracks the progress for implementing everything:
https://github.com/pietroalbini/botogram/issues/61
Meta issue which tracks the progress for implementing everything:
https://github.com/pietroalbini/botogram/issues/61
The first batch of new features from the Bot API 2.0 update landed on master: the renamed properties are now renamed in botogram (with the old syntax deprecated), and support for editing messages was added. If you want to try them out build botogram from source.
There are lots of new things to implement, and I'm quite busy with real-life stuff at the moment, so if you want to help out just take an unassigned issue!
https://github.com/pietroalbini/botogram/issues/61
Discussion group: @botogram_users
There are lots of new things to implement, and I'm quite busy with real-life stuff at the moment, so if you want to help out just take an unassigned issue!
https://github.com/pietroalbini/botogram/issues/61
Discussion group: @botogram_users
Support for
Discussion group: @botogram_users
Message.pinned_message also landed on master. Unfortunately, the following ones will be very busy weeks for me, so I can't guarantee new features...Discussion group: @botogram_users
I'm starting to get a little more free time, but I'm still quite busy. In the meantime I fixed a small compatibility error in the development version, so if you're using it upgrade :)
Discussion group: @botogram_users
Discussion group: @botogram_users
A branch I was working on for some time was just merged on master: support for
The implementation I created is quite different than the one created by Telegram: for example, you don't get the offset of the entity and its length but just the text of it, plain text is included as an entity and types are a little more sane.
I'm slowly getting more free time, but this week should be the last one with big school projects! I'll probably also release botogram 0.3 as soon as compatibility with the new features introduced by Telegram is reached, and delay keyboards and conversations for 0.4 (I don't want you to wait too much for these features!).
Discussion group: @botogram_users
Message.parsed_text (introduced in the Bot API 2.0 update)!The implementation I created is quite different than the one created by Telegram: for example, you don't get the offset of the entity and its length but just the text of it, plain text is included as an entity and types are a little more sane.
I'm slowly getting more free time, but this week should be the last one with big school projects! I'll probably also release botogram 0.3 as soon as compatibility with the new features introduced by Telegram is reached, and delay keyboards and conversations for 0.4 (I don't want you to wait too much for these features!).
Discussion group: @botogram_users
Sorry for the spare updates but I'm not feeling so good in this weeks (damn you spring!).
Today I fixed the ugly behavior and messages when two instances of the same bot were running: Telegram doesn't support that, and botogram was just spamming a lot of messages before. Now, it tells you what's wrong, and it quietly checks when the other instances are closed, and then it starts working again.
Discussion group: @botogram_users
Today I fixed the ugly behavior and messages when two instances of the same bot were running: Telegram doesn't support that, and botogram was just spamming a lot of messages before. Now, it tells you what's wrong, and it quietly checks when the other instances are closed, and then it starts working again.
Discussion group: @botogram_users