Package 

Class PollPickerMode

  • All Implemented Interfaces:
    io.getstream.chat.android.compose.state.messages.attachments.AttachmentPickerMode

    
    public final class PollPickerMode
     implements AttachmentPickerMode
                        

    Mode for creating a poll attachment.

    When selected, shows the poll creation interface where users can configure poll options, questions, and settings. The created poll is attached to the message.

    Note: Poll creation is only available when the channel has the "polls" capability enabled.

    • Method Summary

      Modifier and Type Method Description
      final Boolean getAutoShowCreateDialog()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PollPickerMode

        PollPickerMode(Boolean autoShowCreateDialog)
        Parameters:
        autoShowCreateDialog - When true, automatically shows the poll creation dialog when this mode is selected.