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=0xcdd42a05, name="functions.auth.BindTempAuthKey")
class BindTempAuthKey(TLObject):
    perm_auth_key_id: Long = TLField()
    nonce: Long = TLField()
    expires_at: Int = TLField()
    encrypted_message: bytes = TLField()
