Hierarchy

  • UserStatusService

Constructors

Properties

Methods

Constructors

Properties

httpRequest: BaseHttpRequest

Methods

  • Update your status This value can be a max of 24 hours into the futre. If you are wanting a longer expiration, set this value to null so that it never expires. Note - at this time, you can only set a status on your own user

    Throws

    ApiError

    Parameters

    • options: {
          requestBody: {
              content?: string;
              emoteId: number;
              expiresAt?: string;
          };
          userId: string;
      }
      • requestBody: {
            content?: string;
            emoteId: number;
            expiresAt?: string;
        }
        • Optional content?: string

          The content of the user status. The supported markdown for this content only includes reactions and plaintext for now

        • emoteId: number

          Emote ID to apply

        • Optional expiresAt?: string

          An ISO 8601 timestamp that will be used to indicate when an expiration occurs. Expiration usually will not occur exactly at this time. Bot logic should not expect a guarantee of timing as a result, but can expect that it'll happen very shortly afterwards

      • userId: string

    Returns CancelablePromise<void>

    void

Generated using TypeDoc