Interface MediaAttachmentRepository

interface MediaAttachmentRepository {
    create(
        params: mastodon.rest.v2.CreateMediaAttachmentParams & CreateMediaAttachmentExtraParams,
        meta?: HttpMetaParams<"multipart-form">,
    ): Promise<MediaAttachment>;
}

Methods

Methods