Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKChatMessage Class Reference

Represents a chat message within a session. More...

#include <ZMVideoSDKChatMessage.h>

Inherits NSObject.

Properties

ZMVideoSDKUsersendUser
 Gets the message's send user object.
 
ZMVideoSDKUserreceiverUser
 Gets the message's receive user object.
 
NSString * content
 Content of the message.
 
time_t timeStamp
 Time stamp of the message.
 
BOOL isChatToAll
 Determines if the message is send to all.
 
BOOL isSelfSend
 Determines if the message is send by yourself.
 
NSString * messageID
 Gets the message ID of the current message.
 

Detailed Description

Represents a chat message within a session.

Definition at line 15 of file ZMVideoSDKChatMessage.h.

Property Documentation

◆ content

- (NSString*) content
readnonatomiccopy

Content of the message.

Definition at line 32 of file ZMVideoSDKChatMessage.h.

◆ isChatToAll

- (BOOL) isChatToAll
readnonatomicassign

Determines if the message is send to all.

Definition at line 42 of file ZMVideoSDKChatMessage.h.

◆ isSelfSend

- (BOOL) isSelfSend
readnonatomicassign

Determines if the message is send by yourself.

Definition at line 47 of file ZMVideoSDKChatMessage.h.

◆ messageID

- (NSString*) messageID
readnonatomiccopy

Gets the message ID of the current message.

Definition at line 52 of file ZMVideoSDKChatMessage.h.

◆ receiverUser

- (ZMVideoSDKUser*) receiverUser
readnonatomicretain

Gets the message's receive user object.

Returns
The user object.

Definition at line 27 of file ZMVideoSDKChatMessage.h.

◆ sendUser

- (ZMVideoSDKUser*) sendUser
readnonatomicretain

Gets the message's send user object.

Returns
The user object.

Definition at line 21 of file ZMVideoSDKChatMessage.h.

◆ timeStamp

- (time_t) timeStamp
readnonatomicassign

Time stamp of the message.

Definition at line 37 of file ZMVideoSDKChatMessage.h.