# inputPollAnswer

> inputPollAnswer attributes, type and example

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



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|text|[TextWithEntities](/API_docs/types/TextWithEntities.html) | Yes|
|media|[InputMedia](/API_docs/types/InputMedia.html) | Optional|



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


### Example:

```
$inputPollAnswer = ['_' => 'inputPollAnswer', 'text' => TextWithEntities, 'media' => InputMedia];
```
