--- title: "updateChat" description: "A new chat is available" nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: updateChat [Back to constructors index](/API_docs/constructors/index.html) A new chat is available ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |chat\_id|[long](/API_docs/types/long.html) | Yes|Chat ID| ### Type: [Update](/API_docs/types/Update.html) ### Example: ``` $updateChat = ['_' => 'updateChat', 'chat_id' => long]; ```