SBDUserMessage Class Reference
Inherits from | SBDBaseMessage : NSObject |
---|---|
Conforms to | NSCopying |
Declared in | SBDUserMessage.h |
Overview
The SBDUserMessage
class represents the user message which is generated by a user
via sendUserMessage:completionHandler:
or
sendUserMessage:data:completionHandler:
in SBDBaseChannel
or Platform API.
poll
Poll that is linked to this message
@property (strong, readonly) SBDPoll *poll
Availability
3.0.232
Declared In
SBDUserMessage.h
translations
Translated message text.
@property (strong, nonatomic, readonly, nullable) NSDictionary *translations
Declared In
SBDUserMessage.h
requestState
3.0.173. (Use sendingStatus
instead.) (Deprecated: 3.0.173. (Use sendingStatus
instead.))
@property (assign, nonatomic, readonly, getter=getRequestState) SBDMessageRequestState requestState
Availability
3.0.141
Declared In
SBDUserMessage.h
– applyPollUpdateEvent:
Applies updated poll data to this message object. This method is designed to be called when
didUpdatePoll:
event returns the poll object
- (BOOL)applyPollUpdateEvent:(nonnull SBDPollUpdateEvent *)poll
Return Value
boolean if event is successfuly applied
Availability
3.0.232
Declared In
SBDUserMessage.h
– applyPollVoteEvent:
Applies updated poll data to this message object. This method is designed to be called when
didVotePoll:
event returns the vote event object
- (BOOL)applyPollVoteEvent:(nonnull SBDPollVoteEvent *)event
Return Value
boolean if event is successfuly applied all
Availability
3.0.232
Declared In
SBDUserMessage.h
– getUserMessageParams
3.1.0
- (nullable SBDUserMessageParams *)getUserMessageParams
Availability
3.1.0
Declared In
SBDUserMessage.h