Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/mod.ts>Birthdate

Type declarations of the Telegram Bot API.
Latest
interface Birthdate
import { type Birthdate } from "https://deno.land/x/grammy_types@v3.16.0/mod.ts";

Describes the birthdate of a user.

Properties

day: number

Day of the user's birth; 1-31

month: number

Month of the user's birth; 1-12

optional
year: number

Year of the user's birth