--- title: "inputMessageID" description: "Message by ID" nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: inputMessageID [Back to constructors index](/API_docs/constructors/index.html) Message by ID ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |id|[int](/API_docs/types/int.html) | Yes|Message ID| ### Type: [InputMessage](/API_docs/types/InputMessage.html) ### Example: ``` $inputMessageID = ['_' => 'inputMessageID', 'id' => int]; ```