Documentation - v0.29.4
    Preparing search index...
    WorkerOutboundMessage:
        | {
            _mtcuteWorkerId: string;
            type: "server_update";
            update: SerializedResult<tl.TypeUpdates>;
        }
        | {
            _mtcuteWorkerId: string;
            chats: SerializedResult<Map<number, tl.TypeChat>>;
            hasMin: boolean;
            type: "update";
            update: SerializedResult<tl.TypeUpdate>;
            users: SerializedResult<Map<number, tl.TypeUser>>;
        }
        | { _mtcuteWorkerId: string; error: SerializedError; type: "error" }
        | { _mtcuteWorkerId: string; type: "stop" }
        | { _mtcuteWorkerId: string; state: ConnectionState; type: "conn_state" }
        | {
            _mtcuteWorkerId: string;
            args: unknown[];
            color: number;
            fmt: string;
            level: number;
            tag: string;
            type: "log";
        }
        | {
            _mtcuteWorkerId: string;
            self: SerializedResult<CurrentUserInfo | null>;
            type: "self_sync";
        }
        | {
            _mtcuteWorkerId: string;
            connectionId: string;
            type: "connection_expired";
        }
        | {
            _mtcuteWorkerId: string;
            connectionId: string;
            error?: SerializedError;
            id: number;
            result?: SerializedResult<unknown>;
            type: "result";
        }