Birthdate
Describes the birthdate of a user.
fields
| field | type | required | description |
|---|---|---|---|
day | number | required | Day of the user's birth; 1-31 |
month | number | required | Month of the user's birth; 1-12 |
year | number | optional | Optional. Year of the user's birth |
import
import type { Birthdate } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#birthdate