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=0x40e237a8, name="types.StickerSet_122")
class StickerSet_122(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)
    animated: bool = TLField(flag=1 << 5)
    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)
    count: Int = TLField()
    hash: Int = TLField()
