toggle menu
stream-chat-android
6.6.0
androidJvm
switch theme
search in API
stream-chat-android-client
/
io.getstream.chat.android.client.events
/
VoteRemovedEvent
Vote
Removed
Event
data
class
VoteRemovedEvent
(
val
type
:
String
,
val
createdAt
:
Date
,
val
rawCreatedAt
:
String
?
,
val
cid
:
String
,
val
channelType
:
String
,
val
channelId
:
String
,
val
poll
:
Poll
,
val
removedVote
:
Vote
)
:
CidEvent
,
HasPoll
Triggered when a vote is removed.
Members
Members & Extensions
Constructors
Vote
Removed
Event
Link copied to clipboard
constructor
(
type
:
String
,
createdAt
:
Date
,
rawCreatedAt
:
String
?
,
cid
:
String
,
channelType
:
String
,
channelId
:
String
,
poll
:
Poll
,
removedVote
:
Vote
)
Properties
channel
Id
Link copied to clipboard
open
override
val
channelId
:
String
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
?
removed
Vote
Link copied to clipboard
val
removedVote
:
Vote
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
VoteRemovedEvent
.
processPoll
(
getOldPoll
:
(
String
)
->
Poll
?
)
:
Poll