Skip to content

Commit

Permalink
chore(satori): add satori message
Browse files Browse the repository at this point in the history
  • Loading branch information
KurenaiRyu committed May 31, 2024
1 parent baa6e56 commit abecbb5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/main/kotlin/kurenai/imsyncbot/bot/satori/SatoriMessage.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package kurenai.imsyncbot.bot.satori

class SatoriMessageChain {



}

sealed interface SatoriMessage

data class Text(
val content: String
): SatoriMessage

data class Img(
val url: String,
val height: Number? = null,
val width: Number? = null,
): SatoriMessage

data class Video(
val url: String,
): SatoriMessage

data class At(
val id: String? = null,
val name: String? = null,
val role: String? = null,
val type: String? = null,
)

0 comments on commit abecbb5

Please sign in to comment.