Skip to content

Commit 6bc88c3

Browse files
author
Pietro Albini
committed
Add a way to download stickers (fixes #36)
This is marked as a bugfix in the changelog because this was a documented feature for botogram 0.1, and its absence is a bug.
1 parent c3693f6 commit 6bc88c3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

botogram/objects/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class Document(BaseObject, mixins.FileMixin):
221221
}
222222

223223

224-
class Sticker(BaseObject):
224+
class Sticker(BaseObject, mixins.FileMixin):
225225
"""Telegram API representation of a sticker
226226
227227
https://core.telegram.org/bots/api#sticker

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Bug fixes
4343

4444
* Fix the syntax detector checking URLs with dashes in the domain (`issue 32`_)
4545
* Fix inability to send messages to channels from a running bot (`issue 35`_)
46+
* Fix inability to download stickers (`issue 36`_)
4647

4748
Deprecated features
4849
-------------------
@@ -54,6 +55,7 @@ Deprecated features will be removed in botogram 1.0!
5455

5556
.. _issue 32: https://github.com/pietroalbini/botogram/issues/32
5657
.. _issue 35: https://github.com/pietroalbini/botogram/issues/35
58+
.. _issue 36: https://github.com/pietroalbini/botogram/issues/36
5759

5860
.. _changelog-0.1.2:
5961

0 commit comments

Comments
 (0)