Birthdate

@Serializable
data class Birthdate(val day: Int, val month: Int, val year: Int? = null)

Describes the birthdate of a user.

Api reference

Constructors

Link copied to clipboard
constructor(day: Int, month: Int, year: Int? = null)

Properties

Link copied to clipboard
val day: Int

Day of the user's birth; 1-31

Link copied to clipboard
val month: Int

Month of the user's birth; 1-12

Link copied to clipboard
val year: Int? = null

Optional. Year of the user's birth