toggle menu
stream-chat-android
6.8.0
androidJvm
switch theme
search in API
stream-chat-android-client
/
io.getstream.chat.android.client.events
/
PollUpdatedEvent
Poll
Updated
Event
data
class
PollUpdatedEvent
(
val
type
:
String
,
val
createdAt
:
Date
,
val
rawCreatedAt
:
String
?
,
val
cid
:
String
,
val
channelType
:
String
,
val
channelId
:
String
,
val
poll
:
Poll
,
val
channelLastMessageAt
:
Date
?
)
:
CidEvent
,
HasPoll
Triggered when a poll is updated.
Members
Members & Extensions
Constructors
Poll
Updated
Event
Link copied to clipboard
constructor
(
type
:
String
,
createdAt
:
Date
,
rawCreatedAt
:
String
?
,
cid
:
String
,
channelType
:
String
,
channelId
:
String
,
poll
:
Poll
,
channelLastMessageAt
:
Date
?
)
Properties
channel
Id
Link copied to clipboard
open
override
val
channelId
:
String
channel
Last
Message
At
Link copied to clipboard
open
override
val
channelLastMessageAt
:
Date
?
channel
Type
Link copied to clipboard
open
override
val
channelType
:
String
cid
Link copied to clipboard
open
override
val
cid
:
String
created
At
Link copied to clipboard
open
override
val
createdAt
:
Date
poll
Link copied to clipboard
open
override
val
poll
:
Poll
raw
Created
At
Link copied to clipboard
open
override
val
rawCreatedAt
:
String
?
type
Link copied to clipboard
open
override
val
type
:
String
Inherited properties
seq
Link copied to clipboard
val
seq
:
Int
Inherited functions
enrich
If
Needed
Link copied to clipboard
fun
ChatEvent
.
enrichIfNeeded
(
)
:
ChatEvent
process
Poll
Link copied to clipboard
fun
PollUpdatedEvent
.
processPoll
(
getOldPoll
:
(
String
)
->
Poll
?
)
:
Poll