--- title: "timezone" description: "timezone attributes, type and example" nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: timezone [Back to constructors index](/API_docs/constructors/index.html) ### Attributes: | Name | Type | Required | |----------|---------------|----------| |id|[string](/API_docs/types/string.html) | Yes| |name|[string](/API_docs/types/string.html) | Yes| |utc\_offset|[int](/API_docs/types/int.html) | Yes| ### Type: [Timezone](/API_docs/types/Timezone.html) ### Example: ``` $timezone = ['_' => 'timezone', 'id' => 'string', 'name' => 'string', 'utc_offset' => int]; ```