Constructor: birthday
Birthday information for a user.
Also used to invite users to gift Telegram Premium subscriptions » to other users with birthdays within a +1/-1 day time range, related to the current day.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
day | int | Yes | Birth day |
month | int | Yes | Birth month |
year | int | Optional | (Optional) birth year. |
Type: Birthday
Example:
$birthday = ['_' => 'birthday', 'day' => int, 'month' => int, 'year' => int];