PhotoSize

class aiogram.types.photo_size.PhotoSize(conf=None, **kwargs)[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