--- title: "birthday" description: "birthday attributes, type and example" nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: birthday [Back to constructors index](/API_docs/constructors/index.html) ### Attributes: | Name | Type | Required | |----------|---------------|----------| |day|[int](/API_docs/types/int.html) | Yes| |month|[int](/API_docs/types/int.html) | Yes| |year|[int](/API_docs/types/int.html) | Optional| ### Type: [Birthday](/API_docs/types/Birthday.html) ### Example: ``` $birthday = ['_' => 'birthday', 'day' => int, 'month' => int, 'year' => int]; ```