Package io.getstream.chat.android.models
Class PollOption
-
- All Implemented Interfaces:
public final class PollOptionModel representing the input required to create/update a poll option.
-
-
Constructor Summary
Constructors Constructor Description PollOption(String id, String text, Map<String, Object> extraData)PollOption(String text, Map<String, Object> extraData)Constructs a PollOption without an id.
-
Method Summary
-
-
Constructor Detail
-
PollOption
PollOption(String text, Map<String, Object> extraData)
Constructs a PollOption without an id.
- Parameters:
text- The text of the option.extraData- Any additional data associated with the option.
-
-
-
-