# PollOptionsListComponent

Displays a poll options inside the message component. The poll component is made up of three smaller components:

- Header
- Option list
- Actions

![Poll Component](https://getstream.io/docs-assets/images/5464c505017d.png)

[//]: # "Start of generated content"

## Inputs and outputs

### pollId

**pollId**: `undefined` \| `string`

The poll id to display

#### Inherited from

BasePollComponent.pollId

#### Defined in

[projects/stream-chat-angular/src/lib/polls/base-poll.component.ts:32](https://github.com/GetStream/stream-chat-angular/blob/b8e03ec6da285f5e7c533ce710ebb946cded1190/projects/stream-chat-angular/src/lib/polls/base-poll.component.ts#L32)

---

### messageId

**messageId**: `undefined` \| `string`

The message id the poll is attached to

#### Inherited from

BasePollComponent.messageId

#### Defined in

[projects/stream-chat-angular/src/lib/polls/base-poll.component.ts:36](https://github.com/GetStream/stream-chat-angular/blob/b8e03ec6da285f5e7c533ce710ebb946cded1190/projects/stream-chat-angular/src/lib/polls/base-poll.component.ts#L36)

---

### maxOptionsDisplayed

**maxOptionsDisplayed**: `undefined` \| `number` = `10`

How many options should be displayed. If there are more options than this number, use the poll actions to display all options

#### Defined in

[projects/stream-chat-angular/src/lib/polls/poll-options-list/poll-options-list.component.ts:18](https://github.com/GetStream/stream-chat-angular/blob/b8e03ec6da285f5e7c533ce710ebb946cded1190/projects/stream-chat-angular/src/lib/polls/poll-options-list/poll-options-list.component.ts#L18)

[//]: # "End of generated content"


---

This page was last updated at 2026-08-14T17:46:44.826Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/angular/components/PollOptionsListComponent/](https://getstream.io/chat/docs/sdk/angular/components/PollOptionsListComponent/).