MessageContext
public final class MessageContext: NSObject
Represents what happened to the messages.
Since
3.1.0-
Event source
Declaration
Swift
public private(set) var source: CollectionEventSource
-
Message sending status
Declaration
Swift
public private(set) var sendingStatus: MessageSendingStatus
-
Initializes with the message source.
Declaration
Swift
public init(source: CollectionEventSource, sendingStatus: MessageSendingStatus)
Parameters
source
Message source.
sendingStatus
Message sending status.
-
Checks whether the context is from an event or not.
Declaration
Swift
public var fromEvent: Bool
Return Value
true
if the context is from an event.