osu-api-v2-js
    Preparing search index...

    Interface Topic

    interface Topic {
        created_at: Date;
        deleted_at: null | Date;
        first_post_id: number;
        forum_id: number;
        id: number;
        is_locked: boolean;
        last_post_id: number;
        poll:
            | null
            | {
                allow_vote_change: boolean;
                ended_at: null
                | Date;
                hide_incomplete_results: boolean;
                last_vote_at: null | Date;
                max_votes: number;
                options: {
                    id: number;
                    text: { bbcode: string; html: string };
                    vote_count?: number;
                }[];
                started_at: Date;
                title: { bbcode: string; html: string };
                total_vote_count: number;
            };
        post_count: number;
        title: string;
        type: "normal"
        | "sticky"
        | "announcement";
        updated_at: Date;
        user_id: number;
    }
    Index

    Properties

    created_at: Date
    deleted_at: null | Date

    first_post_id

    first_post_id: number
    forum_id: number
    id: number
    is_locked: boolean

    last_post_id

    last_post_id: number
    poll:
        | null
        | {
            allow_vote_change: boolean;
            ended_at: null
            | Date;
            hide_incomplete_results: boolean;
            last_vote_at: null | Date;
            max_votes: number;
            options: {
                id: number;
                text: { bbcode: string; html: string };
                vote_count?: number;
            }[];
            started_at: Date;
            title: { bbcode: string; html: string };
            total_vote_count: number;
        }

    Type declaration

    • null
    • {
          allow_vote_change: boolean;
          ended_at: null | Date;
          hide_incomplete_results: boolean;
          last_vote_at: null | Date;
          max_votes: number;
          options: {
              id: number;
              text: { bbcode: string; html: string };
              vote_count?: number;
          }[];
          started_at: Date;
          title: { bbcode: string; html: string };
          total_vote_count: number;
      }
      • allow_vote_change: boolean
      • ended_at: null | Date

        Can be in the future

      • hide_incomplete_results: boolean
      • last_vote_at: null | Date
      • max_votes: number
      • options: { id: number; text: { bbcode: string; html: string }; vote_count?: number }[]
      • started_at: Date
      • title: { bbcode: string; html: string }
      • total_vote_count: number

    post_count

    post_count: number
    title: string
    type: "normal" | "sticky" | "announcement"
    updated_at: Date
    user_id: number