A publicly shared message

interface Post {
    address: null | Address;
    algoBanReason: {};
    chatsCount: number;
    createdAt: Date;
    deleted: boolean;
    flagCount: number;
    flockId: string;
    font: Font;
    groupId: null | string;
    heartsCount: number;
    hoursAgo: string;
    id: string;
    ip: string;
    isChatPost: boolean;
    isGroupNsfw: boolean;
    isNsfw: boolean;
    isStory: boolean;
    latitude: number;
    longitude: number;
    mediaType: MediaType;
    mediaUrl: string;
    moderationStatus: ModerationStatus;
    parentId: null | string;
    repliesCount: number;
    seeded: boolean;
    storyTitle: null | string;
    tags: undefined | string[];
    text: undefined | string;
    updatedAt: Date;
    user: undefined | User;
    userId: string;
}

Properties

address: null | Address

The Address where the Post is tied to

TODO: Check if this can be null

algoBanReason: {}

Likely the reasons the post is banned

TODO: Check this

Observed on a GET to /videos

Haven't observed data structure of this, just an empty object

Type declaration

    chatsCount: number

    The number of chats on the Post

    createdAt: Date

    The creation date of the Post

    Example

    2024-02-21T01:15:54.100Z
    
    deleted: boolean

    Probably if the Post is deleted

    TODO: Check this

    flagCount: number

    Likely the number of times the post has been flagged by users.

    TODO: Check this

    flockId: string

    TODO: Check this

    font: Font

    The font to use when rendering the Post

    groupId: null | string

    Probably the Group#id this Post is in (if there is one)

    TODO: Check this

    heartsCount: number

    The number of hearts on the Post

    hoursAgo: string

    This is a string that can be used to represent the amount of time ago this Post is from

    Example

    '2d'
    

    Example

    '20h'
    
    id: string

    The unique id of the Post

    ip: string

    Likely the User's IP address

    TODO: Check this

    TODO: This is likely a PII leak

    Observed on a GET to /videos

    isChatPost: boolean

    Probably if the Post is a chat

    TODO: Check this

    isGroupNsfw: boolean

    The Group is not safe for work

    isNsfw: boolean

    The Post is not safe for work

    isStory: boolean

    The post is a story Post

    TODO: Check this

    latitude: number

    Likely the latitude of the location where the Post is tied to

    TODO: Check this

    Observed on a GET to /videos

    longitude: number

    Likely the longitude of the location where the Post is tied to

    TODO: Check this

    Observed on a GET to /videos

    mediaType: MediaType

    The type of Post this is

    mediaUrl: string

    The URL of the media to show as the background of the Post. This can be an image URL, or a YouTube video URL.

    TODO: Check if this can be null

    moderationStatus: ModerationStatus

    The current moderation status of the Post

    parentId: null | string

    Probably the parent Post#id (if there is one)

    TODO: Check this

    repliesCount: number

    The number of replies on the Post

    seeded: boolean

    TODO: Check this

    Observed on a GET to /videos

    storyTitle: null | string

    The title of the story

    TODO: Check this

    tags: undefined | string[]

    TODO: Check this

    Observed on a GET to /videos

    text: undefined | string

    The text content of the Post

    updatedAt: Date

    The time of the last change to the Post

    Example

    Observed: 2024-02-22T15:31:00.593Z
    
    user: undefined | User

    Likely the User that created the Post

    TODO: Check this

    Observed on a GET to /videos

    userId: string

    The User#id that created the Post

    Generated using TypeDoc