Class NoteManager

Hierarchy

  • NoteManager

Constructors

Properties

Methods

Constructors

Properties

client: Client
session: HTTPClient

Methods

  • Parameters

    • __namedParameters: Omit<{
          cw: null | string;
          localOnly: boolean;
          poll: null | {
              choices: string[];
              expiredAfter: null | number;
              expiresAt: null | number;
              multiple: boolean;
          };
          reactionAcceptance: null | "likeOnly" | "nonSensitiveOnly" | "likeOnlyForRemote" | "nonSensitiveOnlyForRemote";
          renoteId: null | string;
          replyId: null | string;
          text: null | string;
          visibility: NoteVisibility;
          visibleUserIds: string[];
      }, "replyId" | "renoteId">

    Returns Promise<INote>

  • Parameters

    • __namedParameters: Pick<{
          cw: null | string;
          localOnly: boolean;
          poll: null | {
              choices: string[];
              expiredAfter: null | number;
              expiresAt: null | number;
              multiple: boolean;
          };
          reactionAcceptance: null | "likeOnly" | "nonSensitiveOnly" | "likeOnlyForRemote" | "nonSensitiveOnlyForRemote";
          renoteId: null | string;
          replyId: null | string;
          text: null | string;
          visibility: NoteVisibility;
          visibleUserIds: string[];
      }, "visibility" | "visibleUserIds" | "cw" | "localOnly" | "reactionAcceptance" | "text" | "renoteId">

    Returns Promise<INote>

  • Parameters

    • __namedParameters: Pick<{
          cw: null | string;
          localOnly: boolean;
          poll: null | {
              choices: string[];
              expiredAfter: null | number;
              expiresAt: null | number;
              multiple: boolean;
          };
          reactionAcceptance: null | "likeOnly" | "nonSensitiveOnly" | "likeOnlyForRemote" | "nonSensitiveOnlyForRemote";
          renoteId: null | string;
          replyId: null | string;
          text: null | string;
          visibility: NoteVisibility;
          visibleUserIds: string[];
      }, "visibility" | "visibleUserIds" | "localOnly" | "reactionAcceptance" | "renoteId">

    Returns Promise<INote>

  • Parameters

    • __namedParameters: Pick<{
          cw: null | string;
          localOnly: boolean;
          poll: null | {
              choices: string[];
              expiredAfter: null | number;
              expiresAt: null | number;
              multiple: boolean;
          };
          reactionAcceptance: null | "likeOnly" | "nonSensitiveOnly" | "likeOnlyForRemote" | "nonSensitiveOnlyForRemote";
          renoteId: null | string;
          replyId: null | string;
          text: null | string;
          visibility: NoteVisibility;
          visibleUserIds: string[];
      }, "visibility" | "visibleUserIds" | "cw" | "localOnly" | "reactionAcceptance" | "text" | "replyId">

    Returns Promise<INote>

Generated using TypeDoc