# InputMessage

A message

```tl
inputMessageID#a676a322 id:int = InputMessage;
inputMessageReplyTo#bad88395 id:int = InputMessage;
inputMessagePinned#86872538 = InputMessage;
inputMessageCallbackQuery#acfa1a7e id:int query_id:long = InputMessage;
```

### Constructors

| Constructor | Description |
| --- | --- |
| [inputMessageID](/constructor/inputMessageID.md) | Message by ID |
| [inputMessageReplyTo](/constructor/inputMessageReplyTo.md) | Message to which the specified message replies to |
| [inputMessagePinned](/constructor/inputMessagePinned.md) | Pinned message |
| [inputMessageCallbackQuery](/constructor/inputMessageCallbackQuery.md) | Used by bots for fetching information about the message that originated a callback query |