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=0xbd7f90ac, name="functions.messages.GetUnreadReactions")
class GetUnreadReactions(TLObject):
    flags: Int = TLField(is_flags=True)
    peer: TLObject = TLField()
    top_msg_id: Optional[Int] = TLField(flag=1 << 0)
    saved_peer_id: Optional[TLObject] = TLField(flag=1 << 1)
    offset_id: Int = TLField()
    add_offset: Int = TLField()
    limit: Int = TLField()
    max_id: Int = TLField()
    min_id: Int = TLField()
