BasicThread is an interface representing a basic thread. It includes the id, title, body, and site url each having their own properties.

interface BasicThread {
    body: string;
    id: number;
    siteUrl: string;
    title: string;
}

Properties

Properties

body: string

body is a string representing the body content of the thread.

id: number

id is a number representing the unique identifier of the thread.

siteUrl: string

siteUrl is a string representing the URL of the site where the thread is posted.

title: string

title is a string representing the title of the thread.