Triangle.js Docs
    Preparing search index...

    Interface Social

    interface Social {
        "social.dm": Omit<DM, "ts"> & { ts: string };
        "social.dm.fail": string;
        "social.invite": {
            roomid: string;
            roomname: string;
            roomname_safe?: string;
            sender: string;
        };
        "social.notification": Notification;
        "social.online": number;
        "social.presence": {
            presence: {
                detail: String
                | Detail;
                invitable: boolean;
                status: Status;
            };
            user: string;
        };
        "social.relation.add": {
            _id: string;
            from: { _id: string; avatar_revision: number
            | null; username: string };
            to: { _id: string; avatar_revision: number | null; username: string };
            type: String | "friend";
            unread: number;
            updated: string | Date;
        };
        "social.relation.remove": string;
        "unsafe__social.dm": Omit<DM, "ts"> & { ts: string };
    }
    Index

    Properties

    "social.dm": Omit<DM, "ts"> & { ts: string }
    "social.dm.fail": string
    "social.invite": {
        roomid: string;
        roomname: string;
        roomname_safe?: string;
        sender: string;
    }
    "social.notification": Notification
    "social.online": number
    "social.presence": {
        presence: {
            detail: String | Detail;
            invitable: boolean;
            status: Status;
        };
        user: string;
    }
    "social.relation.add": {
        _id: string;
        from: { _id: string; avatar_revision: number | null; username: string };
        to: { _id: string; avatar_revision: number | null; username: string };
        type: String | "friend";
        unread: number;
        updated: string | Date;
    }
    "social.relation.remove": string
    "unsafe__social.dm": Omit<DM, "ts"> & { ts: string }