# inputMediaWidgetId

> inputMediaWidgetId attributes, type and example

[Back to constructors index](/API_docs/constructors/index.html)



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|widget\_id|[long](/API_docs/types/long.html) | Yes|
|chat\_data|[string](/API_docs/types/string.html) | Optional|



### Type: [InputMedia](/API_docs/types/InputMedia.html)


### Example:

```
$inputMediaWidgetId = ['_' => 'inputMediaWidgetId', 'widget_id' => long, 'chat_data' => 'string'];
```
