Source code for aiogram.types.background_type
from .base import TelegramObject
[docs]
class BackgroundType(TelegramObject):
"""
This object describes the type of a background. Currently, it can be one of
- :class:`aiogram.types.background_type_fill.BackgroundTypeFill`
- :class:`aiogram.types.background_type_wallpaper.BackgroundTypeWallpaper`
- :class:`aiogram.types.background_type_pattern.BackgroundTypePattern`
- :class:`aiogram.types.background_type_chat_theme.BackgroundTypeChatTheme`
Source: https://core.telegram.org/bots/api#backgroundtype
"""