Stream logoStream logo

Search Angular Chat docs

    • Chat Messaging
    • Video and Audio
    • Activity Feeds
    • Moderation
    • Platform
    • Agent Skills
    • CLI
      • React
      • iOS
      • Android
      • React Native
      • Flutter
      • Angular
      • React
      • iOS
      • Android
      • React Native
      • Flutter
      • JavaScript
      • Unity
      • Unreal
      • Node
      • Python
      • Ruby
      • PHP
      • Java
      • .NET
      • Go
      • REST
    • v8
    • v7
    • v6
    • v5
    • v4
    • Basics
      • Overview
      • Angular version support
      • Upgrade to v8
    • Theming and Css
      • Introduction
      • Global variables
      • Component variables
      • Palette variables
    • Concepts
      • Client state
      • Users and tokens
      • Translation
      • Opt-in architecture
      • Change detection
      • Channel list state
      • Message interactions
      • Customization
      • Custom types
    • Code Examples
      • Responsive layout
      • Emoji picker
      • Custom attachments
      • Mobile app with Ionic
      • Push notifications
      • Custom textarea
      • Voice recordings
      • Pin messages
      • Mention actions
      • Channel invites
      • Custom autocompletes
      • Polls
    • Components
      • AddOptionComponent
      • AttachmentListComponent
      • AttachmentPreviewListComponent
      • AutocompleteTextareaComponent
      • AvatarComponent
      • AvatarPlaceholderComponent
      • ChannelComponent
      • ChannelHeaderComponent
      • ChannelListComponent
      • ChannelPreviewComponent
      • IconComponent
      • IconPlaceholderComponent
      • LoadingIndicatorComponent
      • LoadingIndicatorPlaceholderComponent
      • MessageActionsBoxComponent
      • MessageBlockedComponent
      • MessageBouncePromptComponent
      • MessageComponent
      • MessageInputComponent
      • MessageListComponent
      • MessageReactionsComponent
      • MessageReactionsSelectorComponent
      • MessageTextComponent
      • ModalComponent
      • NotificationComponent
      • NotificationListComponent
      • PaginatedListComponent
      • PollActionsComponent
      • PollAnswersListComponent
      • PollComponent
      • PollComposerComponent
      • PollHeaderComponent
      • PollOptionSelectorComponent
      • PollOptionsListComponent
      • PollPreviewComponent
      • PollResultsListComponent
      • PollVoteComponent
      • PollVoteResultsListComponent
      • TextareaComponent
      • ThreadComponent
      • UpsertAnswerComponent
      • UserListComponent
      • VoiceRecorderComponent
      • VoiceRecorderWavebarComponent
      • VoiceRecordingComponent
      • VoiceRecordingWavebarComponent
    • Services
      • AmplitudeRecorderService
      • AttachmentConfigurationService
      • AttachmentService
      • AudioRecorderService
      • ChannelService
      • ChatClientService
      • CustomTemplatesService
      • DateParserService
      • EmojiInputService
      • MessageActionsService
      • MessageInputConfigService
      • MessageReactionsService
      • MessageService
      • NotificationService
      • StreamI18nService
      • ThemeService
      • TranscoderService
      • TransliterationService
      • VirtualizedListService
      • VirtualizedMessageListService
      • VoiceRecorderService
    • Types
      • Message
    • Chat Messaging
    • Video and Audio
    • Activity Feeds
    • Moderation
    • Platform
    • Agent Skills
    • CLI
      • React
      • iOS
      • Android
      • React Native
      • Flutter
      • Angular
      • React
      • iOS
      • Android
      • React Native
      • Flutter
      • JavaScript
      • Unity
      • Unreal
      • Node
      • Python
      • Ruby
      • PHP
      • Java
      • .NET
      • Go
      • REST
    • v8
    • v7
    • v6
    • v5
    • v4
    • Docs
    • Chat Messaging
    • Angular
    • PollPreviewComponent
    • View as Markdown
    • Open in ChatGPT
    • Open in Google AI Studio
    • Open in Claude
    • Open in Grok

    PollPreviewComponent

    On this page
    • Inputs and outputs
      • pollId
      • messageId

    Displays the name of the poll when the poll is quoted in a message.

    Poll Preview Screenshot

    Inputs and outputs

    pollId

    pollId: undefined | string

    The poll id to display

    Inherited from

    BasePollComponent.pollId

    Defined in

    lib/polls/base-poll.component.ts:32


    messageId

    messageId: undefined | string

    The message id the poll is attached to

    Inherited from

    BasePollComponent.messageId

    Defined in

    lib/polls/base-poll.component.ts:36

    Previous
    PollOptionsListComponent
    Next
    PollResultsListComponent
    © Stream.io, Inc. All Rights Reserved.
    Chat MessagingVideo & AudioActivity FeedsModeration
    On this page
    • Inputs and outputs
      • pollId
      • messageId
    Add Chat to my app: getstream.io/SKILL.md

    The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


    Ask your agent:

    /stream Build me a Social App with Feeds and Moderation.
    /stream Any livestream calls running?
    /stream Chat Angular v8: <Your Question>