PollPickerMode

data class PollPickerMode(val autoShowCreateDialog: Boolean = true) : 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.

Parameters

autoShowCreateDialog

When true, automatically shows the poll creation dialog when this mode is selected. When false, shows a button to open the dialog. Defaults to true.

Constructors

Link copied to clipboard
constructor(autoShowCreateDialog: Boolean = true)

Properties

Link copied to clipboard