commonMain.com.atproto.admin.sendEmail.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky Show documentation
Show all versions of bluesky Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package com.atproto.admin
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Did
/**
* @param comment Additional comment by the sender that won't be used in the email itself but
* helpful to provide more context for moderators/reviewers
*/
@Serializable
public data class SendEmailRequest(
public val recipientDid: Did,
public val content: String,
public val subject: String? = null,
public val senderDid: Did,
/**
* Additional comment by the sender that won't be used in the email itself but helpful to provide
* more context for moderators/reviewers
*/
public val comment: String? = null,
)
@Serializable
public data class SendEmailResponse(
public val sent: Boolean,
)