Hierarchy

  • ForumsService

Constructors

Properties

httpRequest: BaseHttpRequest

Methods

  • Create a topic in a forum

    Throws

    ApiError

    Parameters

    • options: {
          channelId: string;
          requestBody: {
              content: string | Record<string, any>;
              title: string;
          };
      }
      • channelId: string
      • requestBody: {
            content: string | Record<string, any>;
            title: string;
        }
        • content: string | Record<string, any>

          The content of the forum topic

        • title: string

          The title of the forum topic

    Returns CancelablePromise<{
        forumTopic: ForumTopicPayload;
    }>

    any Success

  • Update a forum topic

    Throws

    ApiError

    Parameters

    • options: {
          channelId: string;
          forumTopicId: number;
          requestBody: {
              content?: string;
              title?: string;
          };
      }
      • channelId: string
      • forumTopicId: number
      • requestBody: {
            content?: string;
            title?: string;
        }
        • Optional content?: string

          The content of the forum topic

        • Optional title?: string

          The title of the forum topic

    Returns CancelablePromise<{
        forumTopic: ForumTopicPayload;
    }>

    any Success

Generated using TypeDoc