CommonBot

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

Constructors

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

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard