Struct
ZIMAppConfig
ZIM application configuration, including AppID and AppSign.
Declared in ZIMDefines.cs
Properties
appID
public uint appID- Required: Required.
appSign
public string appSign- Required: Required.
ZIMBarrageMessage
Barrage message class.
Details
The barrage message class does not appear in the session and does not store historical messages.
Declared in ZIMDefines.cs
Properties
message
public string messageThe content of barrage message.
type
messageID
public long messageIDThe unique ID that identifies this message.
- Use cases: Can be used to index other messages.
- Caution: When the developer actively creates a message, there is no need to modify this parameter. This parameter only has a value during callback.
timestamp
public ulong timestampIdentifies the sending time of a message
- Use cases: Used to present the sending time of a message, and can be used for message sorting.
- Caution: This is a standard UNIX timestamp, in milliseconds.
message_length
public uint message_lengthThe length of the message. If the message type is text, it should be the length of the string.
senderUserID
public string senderUserIDDisplays the userID of the sender of this message.
conversationID
public string conversationIDConversation ID. Ids of the same conversation type are unique.
direction
public ZIMMessageDirection directionUsed to describe whether a message is sent or received.
sentStatus
conversationType
public ZIMConversationType conversationTypeThe type of conversation to which the message belongs.
conversationSeq
public ulong conversationSeqIndicates the sequence number of the message in the conversation.
orderKey
public long orderKeyThe larger the orderKey, the newer the message, and can be used for ordering messages.
localMessageID
public long localMessageIDSDK locally generated MessageID, developers do not need to pay attention to.
isUserInserted
public bool isUserInsertedDetail description: Describes whether the message is a message inserted by the developer through [insertMessageToLocalDB].
Default: false.
receiptStatus
public ZIMMessageReceiptStatus receiptStatusDescribe the receipt status of the message
Business scenario: used to determine the status of the current message in the receipt message
extendedData
public string extendedDatamessage extension field
- Use cases: You can add extended fields to the message and send it to the peer
- Required: no
- Caution: the length is 1k, you can contact technical support for configuration
- Available since: 2.6.0 or higher
localExtendedData
public string localExtendedDataThe expandable message field visible only on this end can store additional information locally, Through [updateMessageLocalExtendedData] change and currently has a length limit of 128K. If you have special requirements, please contact ZEGO technical support for configuration.
isBroadcastMessage
public bool isBroadcastMessageWhether the message is pushed by all employees.
- Required: Internal assignment.
isMentionAll
public bool isMentionAllWhether to mention everyone. It can be presented as "@Everyone".
- Use cases: For example, it can be used in groups or rooms.
- Required: No.
- Default value: false.
- Recommended value: Set to true if you need to mention everyone.
- Caution: This value does not add the "@Everyone" to the message text. Developers need to implement it themselves
- Available since: 2.14.0 or above
mentionedUserIDs
public ArrayList\<String> mentionedUserIDsWhether to mention everyone. It can be presented as "@User".
- Use cases: For example, it can be used in sending messages.
- Required: No.
- Caution: This value does not add the "@User" to the message text. Developers need to implement it themselves
- Available since: 2.14.0 or above
messageSeq
public ulong messageSeqIndicates the sequence number of the message in the conversation.
rootRepliedCount
public uint rootRepliedCountThe number of reply messages corresponding to the root message of the reply message tree.
repliedInfo
public ZIMMessageRepliedInfo repliedInfoInformation about the source message referenced by the reply message.
editorUserID
public string editorUserIDThe latest editor's userID for this message.
editedTime
public ulong editedTimeThe latest editing timestamp for this message.
isGroupTargetedMessage
public bool isGroupTargetedMessageIdentify if this message is group targeted message.
ZIMCallInvitationEndedInfo
End the call operation information.
Details
End the call operation information.
Declared in ZIM.cs
Properties
caller
public string callerThe calling party of the current call.
operatedUserID
public string operatedUserIDEnd the call operator.
extendedData
public string extendedDataThe pass-through field that comes with invoking the end of the call.
mode
endTime
public long endTimeTime stamp of the end of the call, in milliseconds. The format is UTC time stamp.
ZIMCallInvitationTimeoutInfo
Information class about timeout notifications.
Details
Information class about timeout notifications.
Declared in ZIMDefines.cs
Properties
mode
ZIMCallJoinSentInfo
Result of join the call operation.
Details
Result of join the call operation.
Declared in ZIMDefines.cs
Properties
createTime
public long createTimeTimestamp of the time when the call invitation was created.
joinTime
public long joinTimeTime stamp of the person join the call invitation.
extendedData
public string extendedDataThe pass-through field that comes with invoking the end of the call.
callUserList
public List<ZIMCallUserInfo> callUserListList of user information in the current call invitation.
ZIMCallQuitSentInfo
Result of quit the call operation.
Details
Result of quit the call operation.
Declared in ZIMDefines.cs
Properties
createTime
public long createTimeTimestamp of the time when the call invitation was created.
acceptTime
public long acceptTimeTime stamp of the person accepting the call invitation.
quitTime
public long quitTimeThe time stamp for me to exit the call.
ZIMCallUserStateChangeInfo
Call member status change information.
Details
Call member status change information.
Declared in ZIM.cs
Properties
callUserList
ZIMCallingInvitationSentInfo
Information about callingInvite
Details
Information about callingInvite
Declared in ZIMDefines.cs
Properties
errorUserList
ZIMConversationsAllDeletedInfo
Delete all session notification information.
Details
Delete all session notification information.
Declared in ZIMDefine.cs
Properties
count
public uint countNumber of sessions that were deleted.
ZIMErrorUserInfo
Error user information class.
Details
Used to show the failed user and the reason for the failure.
Declared in ZIMDefines.cs
Properties
userID
public string userIDUser ID, a string with a maximum length of 32 bytes or less. It is customized by the developer. Only support numbers, English characters and '!', '#', '$', '%', '&', '(', ')', '+', '-', ':', ';', '<', '=', '.', '>', '?', '@', '[', ']', '^', '_', '{', '}', '|', '~'.
reason
public uint reasonDescription Reason for the query failure.
ZIMFileCacheInfo
File cache information.
Details
Detailed description: File cache information.
Declared in ZIMDefines.cs
Properties
totalFileSize
public ulong totalFileSizeTotal file size in bytes (B).
ZIMFriendApplicationInfo
Friend application information.
Details
Detailed description: Friend application information.
Declared in ZIMDefines.cs
Properties
applyUser
public ZIMUserInfo applyUserDetail description: If you are the applicant, here is the respondent information; if you are the respondent, here is the applicant information;
wording
public string wordingThe wording of friend application information.
createTime
public int createTimeFriend add time.
updateTime
public int updateTimeFriend application status update time.
type
state
ZIMFriendInfo
Friend information.
Details
Detailed description: Friend information.
Declared in ZIMDefines.cs
Properties
userID
public string userIDDetail description: UserID of the operator.
friendAlias
public string friendAliasThe alias of friend.
friendAttributes
public Record<string, string> friendAttributesFriend attributes. Up to 5 can be set. The key of the attribute can only be selected from k0 to k4.
createTime
public int createTimeFriend add time.
userName
public string userNameUser name, defined by you. For version 2.0.0 and onwards, the string has a maximum length of 256 bytes.
- Required: Not required.
- Privacy reminder: Please do not provide sensitive personal information, including but not limited to mobile phone numbers, ID card numbers, passport numbers, and real names.
userAvatarUrl
public string userAvatarUrlThe user avatar, which is custom generated by the developer, is not restricted by special characters and has a maximum length of 500 bytes.
- Required: Not required.
- Privacy reminder: Please do not provide sensitive personal information, including but not limited to mobile phone numbers, ID card numbers, passport numbers, and real names.
- Available since: 2.13.0 and above.
userExtendedData
public string userExtendedDataExtended field information of the user.
- Caution: This property has a value only for room users.
ZIMFriendRelationInfo
Friend relationship information.
Details
Detailed description: Friend relationship information.
Declared in ZIMDefines.cs
Properties
userID
public string userIDuser ID.
type
ZIMGroupApplicationInfo
Group application information.
Declared in ZIMDefines.cs
Properties
applyUser
public ZIMUserInfo applyUserDetail description: The applicant is the applicant when applying to join, the invitee when applying to invite, and the inviter when applying by invitation.
wording
public string wordingThe wording of group application information.
createTime
public ulong createTimeGroup application create time.
updateTime
public ulong updateTimeGroup application status update time.
type
public ZIMGroupApplicationType typeGroup application type.
state
public ZIMGroupApplicationState stateGroup application state.
groupInfo
operatedUser
public ZIMGroupMemberSimpleInfo operatedUserThe operator who agrees to join the group application.
ZIMGroupConversation
Group session object, extend from ZIMGroupConversation.
Details
Group session object, extend from ZIMGroupConversation.
Declared in ZIMDefines.cs
Properties
mutedExpiredTime
public long long mutedExpiredTimeThe expiration date of the group gag.
isDisabled
public bool isDisabledWhether the group session is unavailable.
conversationID
public string conversationIDconversationID.
conversationName
public string conversationNameconversationName is the same as the groupName/userName value corresponding to the session.
type
unreadMessageCount
public int unreadMessageCountSession unread.
lastMessage
orderKey
public long orderKeyOrderKey is used to describe the order of messages in the session. The larger orderKey is, the newer it is.
notificationStatus
public ZIMConversationNotificationStatus notificationStatussession notification status.
conversationAvatarUrl
public string conversationAvatarUrlDetail description: Conversation avatar URL. The peer to peer chat conversation avatar URL is the same as the user avatar URL, and the group chat conversation avatar URL is the same as the group avatar URL.
Use Limit: the maximum number of characters is 500 bytes. There is no limit on special characters.
isPinned
public bool isPinnedWhether the conversation is pinned.
mentionedInfoList
public ArrayList<ZIMMessageMentionedInfo> mentionedInfoListWhen reminded in a message or reminded to everyone in a conversation, this array will record the reminders.
- Use cases: For example, you can display the number of reminders in the conversation list based on this array, and also display which user's reminder it is.
conversationAlias
public string conversationAliasAfter the friend remarks are set through [updateFriendAlias], this parameter is changed for each chat conversation. After setting a group alias by [updateGroupAlias], the corresponding group chat conversation's parameter will be modified synchronously.
- Use cases: After update alias for friends or groups, the corresponding conversation chooses to display the alias over the conversation name when rendering the conversation page.
marks
public std::vector\<int> marksDescribes all the existing marks for the conversation.
- Use cases: The business layer can group logic, etc., according to different conversations with different marks.
draft
public string draftConversation draft, when draft set conversation will carry this parameter.
ZIMGroupInviteApplicationAcceptConfig
The behavior property of the accept group invite application setting.
Declared in ZIMDefines.cs
Properties
pushConfig
ZIMGroupInviteApplicationRejectConfig
The behavior property of the reject group invite application setting.
Declared in ZIMDefines.cs
Properties
pushConfig
ZIMGroupInviteApplicationSendConfig
The behavior property of the send group invite application setting.
Declared in ZIMDefines.cs
Properties
wording
public string wordingPostscript to the application operation.
pushConfig
ZIMGroupJoinApplicationAcceptConfig
The behavior property of the accept group join application setting.
Declared in ZIMDefines.cs
Properties
pushConfig
ZIMGroupJoinApplicationRejectConfig
The behavior property of the reject group join application setting.
Declared in ZIMDefines.cs
Properties
pushConfig
ZIMGroupJoinApplicationSendConfig
The behavior property of the send group join application setting.
Declared in ZIMDefines.cs
Properties
wording
public string wordingPostscript to the application operation.
pushConfig
ZIMMessageDeletedInfo
Deleted message information.
Declared in ZIMDefines.cs
Properties
conversationID
public string conversationIDConversation ID.
conversationType
messageList
isDeleteConversationAllMessage
public bool isDeleteConversationAllMessageWhether to delete all current messages in the conversation.
messageDeleteType
public ZIMMessageDeleteType messageDeleteType[onMessageDeleted] Indicates the cause of being triggered.
ZIMMessageReaction
message reaction infos
Details
message reaction infos.
Declared in ZIMDefines.cs
Properties
conversationID
public string conversationIDconversationID.
conversationType
messageID
public string messageIDDetail description: reaction message ID.
reactionType
public string reactionTypeType of reaction, defined by you, with a maximum length of 32 bytes.
isSelfIncluded
public bool isSelfIncludedThe reaciton users if included myself.
totalCount
public uint totalCountThe reaction users number.
userList
ZIMMessageReactionUserInfo
reaction user information.
Details
Detail description: A class describing reaction user.
Declared in ZIMDefines.cs
Properties
userID
public string userIDuser ID
ZIMMessageReceiptInfo
receipt information.
Details
Detailed description: receipt information.
Declared in ZIMDefines.cs
Properties
status
messageID
public long messageIDMessage ID.
Business scenario: Developers can match the loaded message list according to this ID.
Is it required: No, SDK fills in.
conversationID
public string conversationIDSession ID.
Business scenario: Receipt information used to indicate which session this belongs to.
Is it required: No, SDK fills in.
conversationType
public ZIMConversationType conversationTypeSession type.
Business scenario: Indicates the type of the session.
Is it required: If no, the SDK is filled.
readMemberCount
public int readMemberCountDetailed description: Indicates the number of people who have read the receipt.
Business scenario: When used to query receipt information, it can display how many people have read the message.
Is it required: no.
Default: 0.
This value indicates how many people have read the message, it is only applicable to the message has been read; if the message is not sent by yourself, the value is 0.
unreadMemberCount
public int unreadMemberCountDetailed description: Indicates the number of unread people of the receipt.
Business scenario: When used to query receipt information, it can display how many people have unread the message.
Is it required: no.
Default: 0.
This value indicates how many people have not read the message, and it is only applicable to the message that has been read; if the message is not sent by yourself, the value is 0.
isSelfOperated
public bool isSelfOperatedIn a multi-device login scenario, after device A sets the message receipt as read, other online multi-devices use it to distinguish whether the message receipt set by itself has been read.
readTime
public ulong readTimeServer-side timestamp when the message receipt was read.
- Default value: 0.
- Caution: For the sender, this value is the timestamp when all session members read the message. For the recipient, this value is the timestamp when the message receipt was set.
ZIMMessageRepliedInfo
The reply message refers to the information of the source message.
Declared in ZIMDefines.cs
Properties
state
public ZIMMessageRepliedInfoState statethe source message status.
sentTime
public ulong sentTimeThe send timestamp of the source message (in UTC).
senderUserID
public string senderUserIDThe sender user ID of the source message.
messageSeq
public ulong messageSeqThe seq of the source message.
messageInfo
public ZIMMessageLiteInfo messageInfoThe source message lite info object.
messageID
public ulong messageIDThe ID of the source message.
ZIMMessageRootRepliedCountInfo
Information about the number of replies in the reply message tree.
Declared in ZIMDefines.cs
Properties
conversationID
public string conversationIDConversation ID.
conversationType
messageID
public ulong messageIDroot message id.
count
public uint countThe number of replies for the reply message tree.
ZIMMessageRootRepliedInfo
Reply to the root message of the message tree.
Declared in ZIMDefines.cs
Properties
state
public ZIMMessageRepliedInfoState stateRoot message status.
sentTime
public ulong sentTimeThe send timestamp of the root message.
senderUserID
public string senderUserIDThe sender user ID of the root message.
repliedCount
public uint repliedCountThe number of replies for the reply message tree.
message
ZIMRoomMemberAttributesInfo
Room user attribute information.
Details
Detail description: A class describing room user attributes, including UserID and its corresponding attributes.
Declared in ZIMDefines.cs
Properties
userID
public string userIDDetail description: User ID.
attributes
public Record<string, string> attributesDetailed description: room user attributes.
ZIMRoomMemberAttributesOperatedInfo
Room user attribute operation information.
Details
Detail description: room user attribute operation information, including attributes of successful operation and keys of failure.
Declared in ZIMDefines.cs
Properties
attributesInfo
public ZIMRoomMemberAttributesInfo attributesInfoDetailed description: room user attribute information.
errorKeys
public string[] errorKeysDetail description: The key of the room user attribute operation failure.
ZIMRoomMemberAttributesQueryConfig
Room user attribute query configuration.
Details
Detailed description: room user attribute query configuration.
Declared in ZIMDefines.cs
Properties
nextFlag
public string nextFlagDetail description: Query anchor for room user properties.
Required or not: not required, it is empty by default for the first time, which means to start the query from the beginning.
count
public uint count- Required: Required.
ZIMRoomMemberAttributesSetConfig
Room user property settings configuration.
Details
Detail description: room user attribute setting configuration, including configurable whether to retain user attributes after the user leaves, etc.
Business scenarios: When setting room user attributes, developers can choose to use them according to their actual application scenarios.
Declared in ZIMDefines.cs
Properties
isDeleteAfterOwnerLeft
public bool isDeleteAfterOwnerLeft- Required: not required.
Default: true.
ZIMRoomMemberAttributesUpdateInfo
Room user attribute update information.
Details
Detailed description: Room user attribute update information.
Declared in ZIMDefines.cs
Properties
attributesInfo
public ZIMRoomMemberAttributesInfo attributesInfoDetailed description: room user attributes.
ZIMRoomMemberInfo
Room user information.
Details
Detail description: A class describing room user.
Declared in ZIMDefines.cs
Properties
userID
public string userIDUser ID, a string with a maximum length of 32 bytes or less. It is customized by the developer. Only support numbers, English characters and '!', '#', '$', '%', '&', '(', ')', '+', '-', ':', ';', '<', '=', '.', '>', '?', '@', '[', ']', '^', '_', '{', '}', '|', '~'.
userName
public string userNameUser name, defined by you. For version 2.0.0 and onwards, the string has a maximum length of 256 bytes.
- Required: Not required.
- Privacy reminder: Please do not provide sensitive personal information, including but not limited to mobile phone numbers, ID card numbers, passport numbers, and real names.
userAvatarUrl
public string userAvatarUrlThe user avatar, which is custom generated by the developer, is not restricted by special characters and has a maximum length of 500 bytes.
- Required: Not required.
- Privacy reminder: Please do not provide sensitive personal information, including but not limited to mobile phone numbers, ID card numbers, passport numbers, and real names.
- Available since: 2.13.0 and above.
userExtendedData
public string userExtendedDataExtended field information of the user.
- Caution: This property has a value only for room users.
ZIMRoomOperatedInfo
Room operation information.
Details
Detailed description: Room operation information.
Declared in ZIMDefines.cs
Properties
userID
public string userIDDetail description: UserID of the operator.
ZIMSelfUserInfo
Carry user information and rules of the current user.
Details
Carry user information and rules of the current user.
Declared in ZIMDefines.cs
Properties
userRule
public ZIMUserRule userRuleRules for the current user, setting information.
userFullInfo
ZIMSelfUserRule
User's own rule class.
Declared in ZIMDefines.cs
Properties
offlinePushRule
ZIMUserOfflinePushRule
Data class of the user's offline push rule.
Details
Data class of the user's offline push rule.
Declared in ZIMDefines.cs
Properties
onlinePlatforms
public List\<int> onlinePlatformsWith the data in the class member variables notToReceiveOfflinePushPlatforms collocation is used. OnlinePlatforms specified platform, online notToReceiveOfflinePushPlatforms specified platform will not receive offline push.
- Value range: Please enter the enumeration value corresponding to the platform in the ZIMPlatformType enumeration.
notToReceiveOfflinePushPlatforms
public List\<int> notToReceiveOfflinePushPlatformsWith the data in the class member variables onlinePlatforms collocation is used. OnlinePlatforms specified platform, online notToReceiveOfflinePushPlatforms specified platform will not receive offline push.
- Value range: Please enter the enumeration value corresponding to the platform in the ZIMPlatformType enumeration.
ZIMVideoMessage
Video message object.
Declared in ZIMDefines.cs
Properties
videoDuration
public ulong videoDuration- Required: Required by the sender, if not filled, the video message will fail to be sent when sending local video messages.
videoFirstFrameLocalPath
public string videoFirstFrameLocalPathDetailed description: The video first frame local path of the video file.
Required or not: The sender does not need to fill in it. After calling [downloadMediaFile] to download, the SDK will generate this value.
videoFirstFrameDownloadUrl
public string videoFirstFrameDownloadUrlDetail description: Video first frame external download URL of the video file. When developers upload thumbnails to their own servers, the SDK can pass through this field to other users.
Required or not: optional on the sender side, this field will only take effect when fileDownloadUrl is filled in.
videoFirstFrameWidth
public uint videoFirstFrameWidthDetailed description: The width of the first frame of the video.
Business scenario: When the user needs to draw a picture UI, the parameter used to determine the width of the first frame of the video, the unit is pixel.
videoFirstFrameHeight
public uint videoFirstFrameHeightDetailed description: The height of the first frame of the video.
Business scenario: When the user needs to draw a picture UI, the parameter used to determine the height of the first frame of the video, the unit is pixel.
videoFirstFrameSize
public CGSize videoFirstFrameSizeDetailed description: The width and height of the first frame of the video.
Business scenario: When the user needs to draw a picture UI, the parameters used to determine the width and height of the first frame of the video.
fileLocalPath
public string fileLocalPath- Required: If a local file is sent, this parameter must be set by the sender. Otherwise, the message fails to be sent.
fileDownloadUrl
public string fileDownloadUrlDetail description: The external download url of the media message is used for the developer to transparently transmit the media file to other users by filling in this URL when the developer uploads the media file to his own server.
Required or not: If an external URL is sent, this parameter is mandatory on the sender end.
fileUID
public string fileUIDDetail description: The unique ID of the media file.
Required or not: The sender does not need to fill in, this value is generated by the SDK.
fileName
public string fileNameDetail description: The filename of the media file.
Required or not: If you are sending an external URL, you need to fill in this value and include the file extension. If a local file is sent, the value is optional.
fileSize
public ulong fileSizeDetail description: The size of the media file.
Required or not: The sender does not need to fill in, this value is generated by the SDK.
type
messageID
public long messageIDThe unique ID that identifies this message.
- Use cases: Can be used to index other messages.
- Caution: When the developer actively creates a message, there is no need to modify this parameter. This parameter only has a value during callback.
timestamp
public ulong timestampIdentifies the sending time of a message
- Use cases: Used to present the sending time of a message, and can be used for message sorting.
- Caution: This is a standard UNIX timestamp, in milliseconds.
message_length
public uint message_lengthThe length of the message. If the message type is text, it should be the length of the string.
senderUserID
public string senderUserIDDisplays the userID of the sender of this message.
conversationID
public string conversationIDConversation ID. Ids of the same conversation type are unique.
direction
public ZIMMessageDirection directionUsed to describe whether a message is sent or received.
sentStatus
conversationType
public ZIMConversationType conversationTypeThe type of conversation to which the message belongs.
conversationSeq
public ulong conversationSeqIndicates the sequence number of the message in the conversation.
orderKey
public long orderKeyThe larger the orderKey, the newer the message, and can be used for ordering messages.
localMessageID
public long localMessageIDSDK locally generated MessageID, developers do not need to pay attention to.
isUserInserted
public bool isUserInsertedDetail description: Describes whether the message is a message inserted by the developer through [insertMessageToLocalDB].
Default: false.
receiptStatus
public ZIMMessageReceiptStatus receiptStatusDescribe the receipt status of the message
Business scenario: used to determine the status of the current message in the receipt message
extendedData
public string extendedDatamessage extension field
- Use cases: You can add extended fields to the message and send it to the peer
- Required: no
- Caution: the length is 1k, you can contact technical support for configuration
- Available since: 2.6.0 or higher
localExtendedData
public string localExtendedDataThe expandable message field visible only on this end can store additional information locally, Through [updateMessageLocalExtendedData] change and currently has a length limit of 128K. If you have special requirements, please contact ZEGO technical support for configuration.
isBroadcastMessage
public bool isBroadcastMessageWhether the message is pushed by all employees.
- Required: Internal assignment.
isMentionAll
public bool isMentionAllWhether to mention everyone. It can be presented as "@Everyone".
- Use cases: For example, it can be used in groups or rooms.
- Required: No.
- Default value: false.
- Recommended value: Set to true if you need to mention everyone.
- Caution: This value does not add the "@Everyone" to the message text. Developers need to implement it themselves
- Available since: 2.14.0 or above
mentionedUserIDs
public ArrayList\<String> mentionedUserIDsWhether to mention everyone. It can be presented as "@User".
- Use cases: For example, it can be used in sending messages.
- Required: No.
- Caution: This value does not add the "@User" to the message text. Developers need to implement it themselves
- Available since: 2.14.0 or above
messageSeq
public ulong messageSeqIndicates the sequence number of the message in the conversation.
rootRepliedCount
public uint rootRepliedCountThe number of reply messages corresponding to the root message of the reply message tree.
repliedInfo
public ZIMMessageRepliedInfo repliedInfoInformation about the source message referenced by the reply message.
editorUserID
public string editorUserIDThe latest editor's userID for this message.
editedTime
public ulong editedTimeThe latest editing timestamp for this message.
isGroupTargetedMessage
public bool isGroupTargetedMessageIdentify if this message is group targeted message.
ZIMVideoMessageLiteInfo
Video message lite info object.
Details
Identifies a video message.
Usage restrictions: Only supports video files with video encoding formats of H264 and H265. After the message is sent successfully, the width and height information of the first frame of the video can be obtained.
Declared in ZIMDefines.cs
Properties
videoDuration
public ulong videoDuration- Required: Required by the sender, if not filled, the video message will fail to be sent when sending local video messages.
videoFirstFrameLocalPath
public string videoFirstFrameLocalPathDetailed description: The video first frame local path of the video file.
Required or not: The sender does not need to fill in it. After calling [downloadMediaFile] to download, the SDK will generate this value.
videoFirstFrameDownloadUrl
public string videoFirstFrameDownloadUrlDetail description: Video first frame external download URL of the video file. When developers upload thumbnails to their own servers, the SDK can pass through this field to other users.
Required or not: optional on the sender side, this field will only take effect when fileDownloadUrl is filled in.
videoFirstFrameWidth
public uint videoFirstFrameWidthDetailed description: The width of the first frame of the video.
Business scenario: When the user needs to draw a picture UI, the parameter used to determine the width of the first frame of the video, the unit is pixel.
videoFirstFrameHeight
public uint videoFirstFrameHeightDetailed description: The height of the first frame of the video.
Business scenario: When the user needs to draw a picture UI, the parameter used to determine the height of the first frame of the video, the unit is pixel.
fileLocalPath
public string fileLocalPath- Required: If a local file is sent, this parameter must be set by the sender. Otherwise, the message fails to be sent.
fileDownloadUrl
public string fileDownloadUrlDetail description: The external download url of the media message is used for the developer to transparently transmit the media file to other users by filling in this URL when the developer uploads the media file to his own server.
Required or not: If an external URL is sent, this parameter is mandatory on the sender end.
fileName
public string fileNameDetail description: The filename of the media file.
Required or not: If you are sending an external URL, you need to fill in this value and include the file extension. If a local file is sent, the value is optional.
fileSize
public ulong fileSizeDetail description: The size of the media file.
Required or not: The sender does not need to fill in, this value is generated by the SDK.
ZIMVoIPConfig
Provides information about the iOS VoIP offline push.
Details
Provides information about the iOS VoIP offline push.
Declared in ZIMDefines.cs
Properties
iOSVoIPHandleType
public ZIMCXHandleType iOSVoIPHandleTypeThe type of contact information for the VoIP caller, by default, is generic.
iOSVoIPHandleValue
public string iOSVoIPHandleValueThe contact information of the VoIP caller. It is related to iOSVoIPHandleType. When iOSVoIPHandleType is PhoneNumber, the Value is a sequence of digits; when iOSVoIPHandleType is EmailAddress, the Value is an email address; when the contact information is of other types, the Value typically follows some domain-specific format, such as a username, numeric ID, or URL.
iOSVoIPHasVideo
public bool iOSVoIPHasVideoVideo call or not. The default value is audio
