UNPKG

typescript-telegram-bot-api

Version:

Telegram Bot API wrapper for Node.js written in TypeScript

20 lines (19 loc) 365 B
/** * ## Birthdate * Describes the birthdate of a user. * @see https://core.telegram.org/bots/api#birthdate */ export type Birthdate = { /** * Day of the user's birth; 1-31 */ day: number; /** * Month of the user's birth; 1-12 */ month: number; /** * Optional. Year of the user's birth */ year?: number; };