AttachmentPollPickerParams

data class AttachmentPollPickerParams(val pickerMode: PollPickerMode, val onCreatePollClick: () -> Unit, val onCreatePoll: (CreatePollParams) -> Unit, val onCreatePollDismissed: () -> Unit)

Parameters for ChatComponentFactory.AttachmentPollPicker.

Parameters

pickerMode

Configuration for poll picker behavior.

onCreatePollClick

Called when the user taps "Create Poll".

onCreatePoll

Called when the user submits a new poll.

onCreatePollDismissed

Called when the poll creation dialog is closed.

Constructors

Link copied to clipboard
constructor(pickerMode: PollPickerMode, onCreatePollClick: () -> Unit, onCreatePoll: (CreatePollParams) -> Unit, onCreatePollDismissed: () -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard