From 3d632fea1c13ff1c1b6300c42ec877a31f0953a4 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Sun, 5 Apr 2020 18:54:10 +0300 Subject: [PATCH] #289 Added the field thumb to the StickerSet object. --- aiogram/types/sticker_set.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aiogram/types/sticker_set.py b/aiogram/types/sticker_set.py index cb30abe6..3b5290c3 100644 --- a/aiogram/types/sticker_set.py +++ b/aiogram/types/sticker_set.py @@ -2,6 +2,7 @@ import typing from . import base from . import fields +from .photo_size import PhotoSize from .sticker import Sticker @@ -16,3 +17,4 @@ class StickerSet(base.TelegramObject): is_animated: base.Boolean = fields.Field() contains_masks: base.Boolean = fields.Field() stickers: typing.List[Sticker] = fields.ListField(base=Sticker) + thumb: PhotoSize = fields.Field(base=PhotoSize)