UNET API - v0.0.0
    Preparing search index...

    Type Alias Comment

    type Comment = {
        id: number;
        postId: number;
        parentId: number | null;
        content: string;
        gifUrl: string | null;
        isPinned: boolean;
        createdAt: string;
        author: ApiAuthor;
        counts: { likes: number; reposts: number; replies: number };
        viewer: { liked: boolean; reposted: boolean };
        likedByAuthor?: boolean;
        images?: {
            url: string;
            mediumUrl: string;
            thumbUrl: string;
            width: number | null;
            height: number | null;
        }[];
        sticker?: | { id: number; packId: number; url: string; thumbUrl: string }
        | null;
    }
    Index
    id: number
    postId: number
    parentId: number | null
    content: string
    gifUrl: string | null
    isPinned: boolean
    createdAt: string
    author: ApiAuthor
    counts: { likes: number; reposts: number; replies: number }
    viewer: { liked: boolean; reposted: boolean }
    likedByAuthor?: boolean

    The author of the post liked this comment (the apps show their picture with a heart). On comment lists; absent on older servers.

    images?: {
        url: string;
        mediumUrl: string;
        thumbUrl: string;
        width: number | null;
        height: number | null;
    }[]

    Pictures attached to the comment, up to 3 (url full size, mediumUrl / thumbUrl smaller; absent on older servers). Public for public posts: use them in <img src>.

    sticker?: { id: number; packId: number; url: string; thumbUrl: string } | null

    A sticker comment (absent on older servers). url / thumbUrl load in <img> for public packs; otherwise use api.media(url).