CreateTopicOptions

interface CreateTopicOptions {
  body: {
    body: string;
    forum_id: number;
    title: string;
    with_poll?: boolean;
    forum_topic_poll?: {
      hide_results?: boolean;
      length_days?: number;
      max_options?: number;
      options: string;
      title: string;
      vote_change?: boolean;
    };
  };
}

Notice that something is missing? Found a typo? Think something's incomplete? Or think that something can be explained better? Feel free to open a pull request or submit an issue on the library's Github repository .