from __future__ import annotations

from mtproto_mitm.tl.core_types import *
from mtproto_mitm.tl.tl_object import TLObject, tl_object, TLField
from typing import Optional, Any

# # # # # # # # # # # # # # # # # # # # # # # #
#               !!! WARNING !!!               #
#          This is a generated file!          #
# All changes made in this file will be lost! #
# # # # # # # # # # # # # # # # # # # # # # # #


@tl_object(id=0x2dd14edc, name="types.StickerSet")
class StickerSet(TLObject):
    flags: Int = TLField(is_flags=True)
    archived: bool = TLField(flag=1 << 1)
    official: bool = TLField(flag=1 << 2)
    masks: bool = TLField(flag=1 << 3)
    emojis: bool = TLField(flag=1 << 7)
    text_color: bool = TLField(flag=1 << 9)
    channel_emoji_status: bool = TLField(flag=1 << 10)
    creator: bool = TLField(flag=1 << 11)
    installed_date: Optional[Int] = TLField(flag=1 << 0)
    id: Long = TLField()
    access_hash: Long = TLField()
    title: str = TLField()
    short_name: str = TLField()
    thumbs: Optional[list[TLObject]] = TLField(flag=1 << 4)
    thumb_dc_id: Optional[Int] = TLField(flag=1 << 4)
    thumb_version: Optional[Int] = TLField(flag=1 << 4)
    thumb_document_id: Optional[Long] = TLField(flag=1 << 8)
    count: Int = TLField()
    hash: Int = TLField()
