PrivateChatImpl

@Serializable
data class PrivateChatImpl(val id: UserId, val username: Username? = null, val firstName: String = "", val lastName: String = "") : PreviewPrivateChat

Constructors

Link copied to clipboard
constructor(id: UserId, username: Username? = null, firstName: String = "", lastName: String = "")

Properties

Link copied to clipboard
@SerialName(value = "first_name")
open override val firstName: String
Link copied to clipboard
@SerialName(value = "id")
open override val id: UserId
Link copied to clipboard
@SerialName(value = "last_name")
open override val lastName: String
Link copied to clipboard
@SerialName(value = "username")
open override val username: Username? = null

Functions

Link copied to clipboard

Trying to convert current PrivateChat to User