PollData

data class PollData(val text: String)

Class representing data for poll. A poll may or may not have a data, which is an additional field used after user's vote. Currently this class only supports text data.

Since

4.1.0

Constructors

Link copied to clipboard
constructor(text: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Text data field

Functions

Link copied to clipboard

Serializes the PollData instance. This byte array can be stored in the database in your application. The instance can be restored by buildFromSerializedData.