PostPublished

data class PostPublished(val title: String, val username: String, val content: String) : ContentEvent

Event that is published when a post is published.

Parameters

title

the title of the post

username

the username of the user that published the post

content

the content of the post

Constructors

Link copied to clipboard
constructor(title: String, username: String, content: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard