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
 Get the send user object of the message.
 
ZMVideoSDKUserreceiverUser
 Get the receive user object of the message.
 
NSString * content
 Content of the message.
 
time_t timeStamp
 Time stamp of the message.
 
BOOL isChatToAll
 Determine if the message is send to all.
 
BOOL isSelfSend
 Determine if the message is send by yourself.
 
NSString * messageID
 Get 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

Determine if the message is send to all.

Definition at line 42 of file ZMVideoSDKChatMessage.h.

◆ isSelfSend

- (BOOL) isSelfSend
readnonatomicassign

Determine if the message is send by yourself.

Definition at line 47 of file ZMVideoSDKChatMessage.h.

◆ messageID

- (NSString*) messageID
readnonatomiccopy

Get the message ID of the current message.

Definition at line 52 of file ZMVideoSDKChatMessage.h.

◆ receiverUser

- (ZMVideoSDKUser*) receiverUser
readnonatomicretain

Get the receive user object of the message.

Returns
If the function succeeds, it will return a user object, otherwise returns nil.

Definition at line 27 of file ZMVideoSDKChatMessage.h.

◆ sendUser

- (ZMVideoSDKUser*) sendUser
readnonatomicretain

Get the send user object of the message.

Returns
If the function succeeds, it will return a user object, otherwise returns nil.

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.