PhotoSize

class aiogram.types.photo_size.PhotoSize(conf: Optional[Dict[str, Any]] = None, **kwargs: Any)[source]

Bases: aiogram.types.base.TelegramObject, aiogram.types.mixins.Downloadable

This object represents one size of a photo or a file / sticker thumbnail.

https://core.telegram.org/bots/api#photosize

Deserialize object

Parameters
  • conf

  • kwargs