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=0x7438f7e8, name="types.DialogFilter_111")
class DialogFilter_111(TLObject):
    flags: Int = TLField(is_flags=True)
    contacts: bool = TLField(flag=1 << 0)
    non_contacts: bool = TLField(flag=1 << 1)
    groups: bool = TLField(flag=1 << 2)
    broadcasts: bool = TLField(flag=1 << 3)
    bots: bool = TLField(flag=1 << 4)
    exclude_muted: bool = TLField(flag=1 << 11)
    exclude_read: bool = TLField(flag=1 << 12)
    exclude_archived: bool = TLField(flag=1 << 13)
    id: Int = TLField()
    title: str = TLField()
    emoticon: Optional[str] = TLField(flag=1 << 25)
    pinned_peers: list[TLObject] = TLField()
    include_peers: list[TLObject] = TLField()
    exclude_peers: list[TLObject] = TLField()
