Post

@Serializable
data class Post(val channelId: ChannelId, val message: String, val userId: UserId, val props: JsonObject? = null, val fileIds: List<String>? = null, val metadata: PostMetadata? = null)

Constructors

Link copied to clipboard
constructor(channelId: ChannelId, message: String, userId: UserId, props: JsonObject? = null, fileIds: List<String>? = null, metadata: PostMetadata? = null)

Properties

Link copied to clipboard
@SerialName(value = "channel_id")
val channelId: ChannelId
Link copied to clipboard
@SerialName(value = "file_ids")
val fileIds: List<String>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val props: JsonObject?
Link copied to clipboard
@SerialName(value = "user_id")
val userId: UserId