Interface FbnsClientEvents

interface FbnsClientEvents {
    auth: FbnsDeviceAuth;
    direct_v2_message: FbnsNotification<{
        id: string;
        x: string;
    }>;
    disconnect: undefined | string;
    error: Error;
    fb_first_post: FbnsNotification<{
        username: string;
    }>;
    first_bestie_post: FbnsNotification<{
        id: string;
    }>;
    first_post: FbnsNotification<{
        username: string;
    }>;
    logging: {
        beacon_id: number;
    };
    message: FbnsMessageData;
    post: FbnsNotification<{
        id: string;
    }>;
    pp: string;
    push: FbnsNotificationUnknown;
    recent_follow_post: FbnsNotification<{
        id: string;
    }>;
    resurrected_user_post: FbnsNotification<{
        id: string;
    }>;
    warning: Error;
}

Hierarchy (view full)

Properties

direct_v2_message: FbnsNotification<{
    id: string;
    x: string;
}>
disconnect: undefined | string
error: Error
fb_first_post: FbnsNotification<{
    username: string;
}>
first_bestie_post: FbnsNotification<{
    id: string;
}>
first_post: FbnsNotification<{
    username: string;
}>
logging: {
    beacon_id: number;
}
post: FbnsNotification<{
    id: string;
}>
pp: string
recent_follow_post: FbnsNotification<{
    id: string;
}>
resurrected_user_post: FbnsNotification<{
    id: string;
}>
warning: Error