In-app Chat
On this page

Struct

2026-07-24
ZIMErrorZIMAppConfig
ZIMLogConfigZIMCacheConfig
ZIMUserInfoZIMUserFullInfo
ZIMUserOfflinePushRuleZIMUserRule
ZIMUserStatusZIMUserStatusSubscription
ZIMSelfUserInfoZIMUserStatusSubscribeConfig
ZIMSubscribedUserStatusQueryConfigZIMUserCustomStatusUpdateConfig
ZIMErrorUserInfoZIMLoginConfig
ZIMUserInfoQueryConfigZIMOfflinePushPrivateMessageTemplate
ZIMVoIPConfigZIMPushConfig
ZIMMessageReactionAddConfigZIMMessageReactionUserInfo
ZIMMessageReactionZIMMessageReactionSimpleInfo
ZIMMessageReactionUserFullInfoZIMMessageReactionUserChangeInfo
ZIMMessageLiteInfoZIMTextMessageLiteInfo
ZIMCustomMessageLiteInfoZIMCombineMessageLiteInfo
ZIMRevokeMessageLiteInfoZIMMediaMessageLiteInfo
ZIMImageMessageLiteInfoZIMFileMessageLiteInfo
ZIMAudioMessageLiteInfoZIMVideoMessageLiteInfo
ZIMMultipleMessageLiteInfoZIMMessageRepliedInfo
ZIMMessageZIMMediaMessage
ZIMTextMessageZIMCustomMessage
ZIMCommandMessageZIMBarrageMessage
ZIMImageMessageZIMFileMessage
ZIMAudioMessageZIMVideoMessage
ZIMRevokeMessageZIMCombineMessage
ZIMTipsMessageZIMMultipleMessage
ZIMMessageRootRepliedInfoZIMMessageRootRepliedCountInfo
ZIMMessageMentionedInfoZIMMessageReceivedInfo
ZIMMessageSendConfigZIMMessageQueryConfig
ZIMMessageRevokeConfigZIMMessageDeleteConfig
ZIMMessageDeletedInfoZIMMessageSendNotification
ZIMMediaMessageSendNotificationZIMMessageReceiptInfo
ZIMMessageReactionUserQueryConfigZIMMessageSentStatusChangeInfo
ZIMMessageSearchConfigZIMMessageRepliedListQueryConfig
ZIMMediaDownloadConfigZIMMessageEditConfig
ZIMSendingMessageCancelConfigZIMMessagePinConfig
ZIMTipsMessageChangeInfoZIMTipsMessageGroupChangeInfo
ZIMTipsMessageGroupMemberChangeInfoZIMTipsMessagePinStatusChangeInfo
ZIMMessagePinStatusChangeInfoZIMFileCacheClearConfig
ZIMFileCacheQueryConfigZIMFileCacheInfo
ZIMMessageReactionChangeInfoZIMConversation
ZIMConversationBaseInfoZIMGroupConversation
ZIMConversationQueryConfigZIMConversationFilterOption
ZIMConversationTotalUnreadMessageCountQueryConfigZIMConversationDeleteConfig
ZIMConversationsAllDeletedInfoZIMConversationChangeInfo
ZIMConversationSearchConfigZIMConversationSearchInfo
ZIMRoomInfoZIMRoomFullInfo
ZIMRoomMemberInfoZIMRoomMemberQueryConfig
ZIMRoomAdvancedConfigZIMRoomAttributesSetConfig
ZIMRoomAttributesBatchOperationConfigZIMRoomAttributesDeleteConfig
ZIMRoomAttributesUpdateInfoZIMRoomMemberAttributesInfo
ZIMRoomMemberAttributesOperatedInfoZIMRoomMemberAttributesUpdateInfo
ZIMRoomMemberAttributesSetConfigZIMRoomMemberAttributesQueryConfig
ZIMRoomOperatedInfoZIMGroupInfo
ZIMGroupMuteInfoZIMGroupVerifyInfo
ZIMGroupFullInfoZIMGroup
ZIMGroupMemberSimpleInfoZIMGroupEnterInfo
ZIMGroupMemberInfoZIMGroupOperatedInfo
ZIMGroupMemberQueryConfigZIMGroupAdvancedConfig
ZIMGroupAttributesUpdateInfoZIMGroupMessageReceiptMemberQueryConfig
ZIMGroupMessageReceiptMemberListQueryConfigZIMGroupSearchConfig
ZIMGroupSearchInfoZIMGroupMemberSearchConfig
ZIMGroupMuteConfigZIMGroupMemberMuteConfig
ZIMGroupMemberMutedListQueryConfigZIMGroupApplicationInfo
ZIMGroupJoinApplicationSendConfigZIMGroupJoinApplicationAcceptConfig
ZIMGroupJoinApplicationRejectConfigZIMGroupInviteApplicationSendConfig
ZIMGroupInviteApplicationAcceptConfigZIMGroupInviteApplicationRejectConfig
ZIMGroupApplicationListQueryConfigZIMGroupListQueryConfig
ZIMCallUserInfoZIMCallInviteConfig
ZIMCallingInviteConfigZIMCallJoinConfig
ZIMCallQuitConfigZIMCallEndConfig
ZIMCallCancelConfigZIMCallAcceptConfig
ZIMCallRejectConfigZIMCallInvitationSentInfo
ZIMCallingInvitationSentInfoZIMCallJoinSentInfo
ZIMCallQuitSentInfoZIMCallEndedSentInfo
ZIMCallInvitationReceivedInfoZIMCallInvitationCreatedInfo
ZIMCallInvitationCancelledInfoZIMCallInvitationAcceptedInfo
ZIMCallInvitationRejectedInfoZIMCallInvitationEndedInfo
ZIMCallInvitationTimeoutInfoZIMCallInvitationQueryConfig
ZIMCallInfoZIMCallUserStateChangeInfo
ZIMBlacklistQueryConfigZIMFriendAddConfig
ZIMFriendDeleteConfigZIMFriendListQueryConfig
ZIMFriendSearchConfigZIMFriendRelationCheckConfig
ZIMFriendRelationInfoZIMFriendInfo
ZIMFriendApplicationSendConfigZIMFriendApplicationAcceptConfig
ZIMFriendApplicationRejectConfigZIMFriendApplicationListQueryConfig
ZIMFriendApplicationInfoZIMCommunityInfo
ZIMCommunityZIMCommunityFullInfo
ZIMCommunityCreateConfigZIMCommunityListQueryConfig
ZIMCommunityChangeInfoZIMCommunityMemberListQueryConfig
ZIMCommunityFullInfoUpdateInfoZIMCommunityMemberEnterInfo
ZIMCommunityMemberMuteInfoZIMCommunityMemberInfo
ZIMCommunityMemberSimpleInfoZIMCommunityMemberStateChangeInfo
ZIMCommunityMemberInfoUpdateInfoZIMCommunityChannelInfo
ZIMCommunityChannelMuteInfoZIMCommunityChannel
ZIMCommunityChannelFullInfoZIMCommunityChannelCreateConfig
ZIMCommunityChannelListQueryConfigZIMCommunityChannelChangeInfo
ZIMCommunityChannelFullInfoUpdateInfoZIMCommunityChannelMuteConfig
ZIMCommunityMemberMuteConfigZIMMessageReactionsChangedEventResult
ZIMMessageReceivedEventResultZIMCommunityListChangedEventResult
ZIMCommunityInfoUpdatedEventResultZIMCommunityMemberStateChangedEventResult
ZIMCommunityMemberInfoUpdatedEventResultZIMCommunityChannelListChangedEventResult
ZIMCommunityChannelInfoUpdatedEventResultZIMLogUploadedResult
ZIMLoggedInResultZIMTokenRenewedResult
ZIMUserNameUpdatedResultZIMUserAvatarUrlUpdatedResult
ZIMUserExtendedDataUpdatedResultZIMUserCustomStatusUpdatedResult
ZIMUsersInfoQueriedResultZIMUserOfflinePushRuleUpdatedResult
ZIMSelfUserInfoQueriedResultZIMUsersStatusQueriedResult
ZIMUsersStatusSubscribedResultZIMUsersStatusUnsubscribedResult
ZIMSubscribedUserStatusListQueriedResultZIMConversationQueriedResult
ZIMConversationListQueriedResultZIMConversationTotalUnreadMessageCountQueriedResult
ZIMConversationDeletedResultZIMConversationsAllDeletedResult
ZIMConversationUnreadMessageCountClearedResultZIMConversationTotalUnreadMessageCountClearedResult
ZIMConversationNotificationStatusSetResultZIMConversationMessageReceiptReadSentResult
ZIMConversationPinnedStateUpdatedResultZIMConversationPinnedListQueriedResult
ZIMConversationDraftSetResultZIMConversationMarkSetResult
ZIMConversationMessageDestructDurationSetResultZIMConversationsSearchedResult
ZIMMessageSentResultZIMMessageAttachedCallback
ZIMMediaUploadingProgressZIMMultipleMediaUploadingProgress
ZIMMessageQueriedResultZIMMessageDeletedResult
ZIMConversationMessagesAllDeletedResultZIMMessageRevokedResult
ZIMMessageInsertedResultZIMMessageLocalExtendedDataUpdatedResult
ZIMMessageReceiptsReadSentResultZIMMessageReceiptsInfoQueriedResult
ZIMMediaDownloadedResultZIMMediaDownloadingProgress
ZIMMessagesSearchedResultZIMMessagesGlobalSearchedResult
ZIMMessageReactionAddedResultZIMMessageReactionDeletedResult
ZIMMessageReactionUserListQueriedResultZIMCombineMessageDetailQueriedResult
ZIMMessageRepliedListQueriedResultZIMMessageEditedResult
ZIMSendingMessageCancelledResultZIMMessagePinnedResult
ZIMPinnedMessageListQueriedResultZIMMessageExportingProgress
ZIMFileCacheQueriedResultZIMFileCacheClearedResult
ZIMRoomCreatedResultZIMRoomJoinedResult
ZIMRoomEnteredResultZIMRoomSwitchedResult
ZIMRoomLeftResultZIMRoomAllLeftResult
ZIMRoomMemberQueriedResultZIMRoomMembersQueriedResult
ZIMRoomOnlineMemberCountQueriedResultZIMRoomAttributesOperatedResult
ZIMRoomAttributesBatchOperatedResultZIMRoomAttributesQueriedResult
ZIMRoomMembersAttributesOperatedResultZIMRoomMembersAttributesQueriedResult
ZIMRoomMemberAttributesListQueriedResultZIMGroupCreatedResult
ZIMGroupDismissedResultZIMGroupJoinedResult
ZIMGroupLeftResultZIMGroupUsersInvitedResult
ZIMGroupMemberKickedResultZIMGroupOwnerTransferredResult
ZIMGroupNameUpdatedResultZIMGroupAvatarUrlUpdatedResult
ZIMGroupNoticeUpdatedResultZIMGroupAliasUpdatedResult
ZIMGroupInfoQueriedResultZIMGroupAttributesOperatedResult
ZIMGroupAttributesQueriedResultZIMGroupMemberRoleUpdatedResult
ZIMGroupMemberNicknameUpdatedResultZIMGroupMemberInfoQueriedResult
ZIMGroupListQueriedResultZIMGroupMemberListQueriedResult
ZIMGroupMemberCountQueriedResultZIMGroupMessageReceiptMemberListQueriedResult
ZIMGroupMutedResultZIMGroupMembersMutedResult
ZIMGroupMemberMutedListQueriedResultZIMGroupsSearchedResult
ZIMGroupMembersSearchedResultZIMGroupJoinModeUpdatedResult
ZIMGroupInviteModeUpdatedResultZIMGroupBeInviteModeUpdatedResult
ZIMGroupJoinApplicationSentResultZIMGroupJoinApplicationAcceptedResult
ZIMGroupJoinApplicationRejectedResultZIMGroupInviteApplicationsSentResult
ZIMGroupInviteApplicationAcceptedResultZIMGroupInviteApplicationRejectedResult
ZIMGroupApplicationListQueriedResultZIMCallInvitationSentResult
ZIMCallingInvitationSentResultZIMCallCancelSentResult
ZIMCallAcceptanceSentResultZIMCallRejectionSentResult
ZIMCallJoinSentResultZIMCallQuitSentResult
ZIMCallEndSentResultZIMCallInvitationListQueriedResult
ZIMFriendAddedResultZIMFriendsDeletedResult
ZIMFriendListQueriedResultZIMFriendsInfoQueriedResult
ZIMFriendsRelationCheckedResultZIMFriendApplicationSentResult
ZIMFriendApplicationAcceptedResultZIMFriendApplicationRejectedResult
ZIMFriendApplicationListQueriedResultZIMFriendAliasUpdatedResult
ZIMFriendAttributesUpdatedResultZIMFriendsSearchedResult
ZIMBlacklistUsersAddedResultZIMBlacklistUsersRemovedResult
ZIMBlacklistQueriedResultZIMBlacklistCheckedResult
ZIMCommunityCreatedResultZIMCommunityDismissedResult
ZIMCommunityJoinedResultZIMCommunityLeftResult
ZIMCommunityListQueriedResultZIMCommunityNameUpdatedResult
ZIMCommunityAvatarUrlUpdatedResultZIMCommunityNoticeUpdatedResult
ZIMCommunityAttributesOperatedResultZIMCommunityNotificationStatusSetResult
ZIMCommunityInfoQueriedResultZIMCommunityUsersInvitedResult
ZIMCommunityMembersKickedResultZIMCommunityMemberRoleUpdatedResult
ZIMCommunityOwnerTransferredResultZIMCommunityMemberListQueriedResult
ZIMCommunityMembersQueriedResultZIMCommunityChannelCreatedResult
ZIMCommunityChannelDismissedResultZIMCommunityChannelNameUpdatedResult
ZIMCommunityChannelAvatarUrlUpdatedResultZIMCommunityChannelNoticeUpdatedResult
ZIMCommunityChannelAttributesOperatedResultZIMCommunityChannelsInfoQueriedResult
ZIMCommunityChannelListQueriedResultZIMCommunityMembersMutedResult
ZIMCommunityChannelsMutedResultZIMGroupMemberRole
ZIMGroupDataFlagZIMGeofencingArea
ZIMCommunityMemberRole

ZIMError

Error infomation

Details

Error infomation.

Declared in zim_defines.dart

Properties

code

code
int code

Description: The storage path of the log files. Refer to the official website document for the default path.

message

message
String message

Description: Error infomation description.

ZIMAppConfig

ZIM application configuration, including AppID and AppSign.

Declared in zim_defines.dart

Properties

appID

appID
int appID

Description

, please go to the ZEGO official website console to apply for it. Required: Required.

appSign

appSign
String appSign

Description

, please go to the ZEGO official website console to apply for it. Required: Required.

ZIMLogConfig

Log configuration

Details

Configure the storage path of log files and the maximum log file size.

Declared in zim_defines.dart

Properties

logPath

logPath
String logPath

The storage path of the log files. Refer to the official website document for the default path.

logSize

logSize
int logSize

The maximum log file size (Bytes). The default maximum size is 5MB (5 * 1024 * 1024 Bytes)

logLevel

logLevel
int logLevel

Description: Log level, only used on the web platform. Required: Not required. Default value: 0.

ZIMCacheConfig

Cache configuration

Details

Configure the storage path of cache files (such as chat records).

Declared in zim_defines.dart

Properties

cachePath

cachePath
String cachePath

The storage path of the cache files. Refer to the official website document for the default path.

ZIMUserInfo

User information object.

Details

Identifies a unique user.

Declared in zim_defines.dart

  • Caution:Note that the userID must be unique under the same appID, otherwise mutual kicks out will occur. It is strongly recommended that userID corresponds to the user ID of the business APP, that is, a userID and a real user are fixed and unique, and should not be passed to the SDK in a random userID. Because the unique and fixed userID allows ZEGO technicians to quickly locate online problems.

Properties

userID

userID
String userID

User 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

userName
String userName

Description: User 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

userAvatarUrl
String userAvatarUrl

User avatar URL

userExtendedData

userExtendedData
String userExtendedData

User extended data. This field is currently only available in room related interfaces.

type

type

User Type. This field is used to identify which subclass the current entity belongs to.

ZIMUserFullInfo

User full information object.

Details

Identifies a unique user.

Declared in zim_defines.dart

  • Caution:Note that the userID must be unique under the same appID, otherwise mutual kicks out will occur. It is strongly recommended that userID corresponds to the user ID of the business APP, that is, a userID and a real user are fixed and unique, and should not be passed to the SDK in a random userID. Because the unique and fixed userID allows ZEGO technicians to quickly locate online problems.

Properties

baseInfo

baseInfo
ZIMUserInfo baseInfo

Description: User basic information.

ZIMUserOfflinePushRule

Data class of the user's offline push rule.

Details

Data class of the user's offline push rule.

Declared in zim_defines.dart

Properties

onlinePlatforms

onlinePlatforms
List<ZIMPlatformType> onlinePlatforms

With the data in the class member variables notToReceiveOfflinePushPlatforms collocation is used. OnlinePlatforms specified platform, online notToReceiveOfflinePushPlatforms specified platform will not receive offline push.

notToReceiveOfflinePushPlatforms

notToReceiveOfflinePushPlatforms
List<ZIMPlatformType> notToReceiveOfflinePushPlatforms

With the data in the class member variables onlinePlatforms collocation is used. OnlinePlatforms specified platform, online notToReceiveOfflinePushPlatforms specified platform will not receive offline push.

ZIMUserRule

User rule configuration.

Declared in zim_defines.dart

Properties

offlinePushRule

offlinePushRule
ZIMUserOfflinePushRule offlinePushRule

The user's current rule information.

ZIMUserStatus

User status data

Details

Contains data about the user's online status.

Declared in zim_defines.dart

Properties

userID

userID
String userID

A unique identifier for a single user.

onlineStatus

onlineStatus
ZIMUserOnlineStatus onlineStatus

Enumeration that represents the current online status of the user.

onlinePlatforms

onlinePlatforms
List<ZIMPlatformType> onlinePlatforms

The list of online platforms of the current user can be used to display the online platforms of the user, such as iPhone online and PC online. Please refer to ZIMPlatform for the meanings of the numbers.

customStatus

customStatus
String customStatus

User-defined status. The default maximum value is 64 bytes. The default expiration time is 1 day. At login, if the field is an empty string (which is the default), the current user's custom state is not modified.

customStatusExpiredTime

customStatusExpiredTime
int customStatusExpiredTime

Expired timestamp of the custom status.

lastUpdateTime

lastUpdateTime
int lastUpdateTime

Timestamp when user onlineStatus or customStatus was last changed, whichever is the greater.

lastOnlineStatusUpdateTime

lastOnlineStatusUpdateTime
int lastOnlineStatusUpdateTime

The timestamp of the last change of the user onlineStatus, which can be used to show that the user was offline/logged in before xxx minutes.

lastCustomStatusUpdateTime

lastCustomStatusUpdateTime
int lastCustomStatusUpdateTime

The timestamp when User customStatus was last changed, which can be used to show when the custom status was last changed.

ZIMUserStatusSubscription

User status subscription information. Contains the user's online status, a list of online platforms, subscription expiration time stamps, and more.

Details

User status subscription information. Contains the user's online status, a list of online platforms, subscription expiration time stamps, and more.

Declared in zim_defines.dart

Properties

userStatus

userStatus
ZIMUserStatus userStatus

The online status of the user.

subscribeExpiredTime

subscribeExpiredTime
int subscribeExpiredTime

The timestamp when the user's subscription expired.

ZIMSelfUserInfo

Carry user information and rules of the current user.

Details

Carry user information and rules of the current user.

Declared in zim_defines.dart

Properties

userFullInfo

userFullInfo
ZIMUserFullInfo userFullInfo

Personal information of the current user.

userRule

userRule
ZIMUserRule userRule

Rules for the current user, setting information.

userStatus

userStatus
ZIMUserStatus userStatus

The online status of the user.

ZIMUserStatusSubscribeConfig

subscribeUsersStatus Configuration items of the online status interface for subscribing users in batches.

Details

subscribeUsersStatus Configuration items of the online status interface for subscribing users in batches.

Declared in zim_defines.dart

Properties

subscriptionDuration

subscriptionDuration
int subscriptionDuration

Subscription duration, in minutes.

ZIMSubscribedUserStatusQueryConfig

QuerySubscribedUserStatusList query subscription list interface configuration items.

Details

QuerySubscribedUserStatusList query subscription list interface configuration items.

Declared in zim_defines.dart

Properties

userIDs

userIDs
List<String> userIDs

List of user IDs to query.

ZIMUserCustomStatusUpdateConfig

User custom status update configuration.

Details

Update user custom status parameters.

Declared in zim_defines.dart

Properties

duration

duration
int duration

Duration of user custom status.

ZIMErrorUserInfo

Error user information class.

Details

Used to show the failed user and the reason for the failure.

Declared in zim_defines.dart

Properties

userID

userID
String userID

User 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

reason
int reason

Description Reason for the query failure.

ZIMLoginConfig

Configuration of login-related parameters.

Details

Login-related parameters.

Declared in zim_defines.dart

  • Use cases:Used to set different parameters during login.

Properties

userName

userName
String userName

Description: User name.Use cases: Used in the scenario where user nickname is modified during login, leave it blank if no change is needed.Required: No.

token

token
String token

Description: Token carried during login.Use cases: Only pass this parameter in the scenario where token is used for authentication.Required: No.

isOfflineLogin

isOfflineLogin
bool isOfflineLogin

Description: Whether it is offline login.Use cases: Set this parameter to true when performing offline login.Required: No.Default value: false.

customStatus

customStatus
String customStatus

Description: Custom status.Use cases: Only pass this parameter when you need to customize the user status during login.Required: No.

customStatusDuration

customStatusDuration
int customStatusDuration

Description: Expired duration of the custom status.

ZIMUserInfoQueryConfig

User information query configuration.

Details

User information query configuration, you can choose to query from the local or from the server. Query the unlimited frequency constraints from the local, and query the limited frequency constraints from the server. You can only query the detailed configuration of 10 users within 10 s.

Declared in zim_defines.dart

Properties

isQueryFromServer

isQueryFromServer
bool isQueryFromServer

Detail description: Whether to query user details from the server. Query the unlimited frequency constraints from the local, and query the limited frequency constraints from the server. You can only query the detailed configuration of 10 users within 10 s.Required: not required.Default: false.

ZIMOfflinePushPrivateMessageTemplate

The private message template is currently only applicable to the OPPO manufacturer.

Details

According to OPUSH DMS template check ability to access instructions, OPPO in new message classification on the basis of the new push DMS templates, After you have configured the private message template in the OPPO console, if you need to apply the corresponding template during push notifications, you can assign a value to the privateMessageTemplate in ZIMPushConfig.

Declared in zim_defines.dart

Properties

templateID

templateID
String templateID

Description: The private message template ID is currently only applicable to OPPO manufacturers. Please fill in the template ID preset in the OPPO Open Platform console.

titleParameters

titleParameters
String titleParameters

Description: To replace the content of the preset title field in the template, a json string needs to be filled in, such as "{"user_name":" Li Hua "}".

contentParameters

contentParameters
String contentParameters

Description: To replace the content of the preset fields in the template, a json string needs to be filled in, such as "{"city":" Shenzhen "}".

ZIMVoIPConfig

Provides information about the iOS VoIP offline push.

Details

Provides information about the iOS VoIP offline push.

Declared in zim_defines.dart

Properties

iOSVoIPHandleType

iOSVoIPHandleType
ZIMCXHandleType iOSVoIPHandleType

Description: The type of contact information for the VoIP caller, by default, is generic.

iOSVoIPHandleValue

iOSVoIPHandleValue
String iOSVoIPHandleValue

Description: The 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

iOSVoIPHasVideo
bool iOSVoIPHasVideo

Description: Video call or not. The default value is audio

ZIMPushConfig

Description: Offline push configuration.

Details

Configuration before sending offline push.

Declared in zim_defines.dart

Properties

title

title
String title

Description: Used to set the push title.Required: Not required.

content

content
String content

Description: Used to set offline push content.Required: Not required.

payload

payload
String payload

Description: This parameter is used to set the pass-through field of offline push.Required: Not required.

resourcesID

resourcesID
String resourcesID

Description: Offline push advanced configuration for mapping console Settings, with the maximum of 32 characters and defined by yourself.Required: Not required.

threadID

threadID
String threadID

Description: Used to set the thread ID of offline push.Required: Not required.

enableBadge

enableBadge
bool enableBadge

Description: Push whether to carry corner information switch.

badgeIncrement

badgeIncrement
int badgeIncrement

Description: The incremental index number carried by the push.

voIPConfig

voIPConfig
ZIMVoIPConfig voIPConfig

Description: If you use Flutter, RN ZPNs, offline push receiving device has iOS and uses VoIP push type, you can customize some VoIP options with this parameter.

privateMessageTemplate

privateMessageTemplate

Description: If you use OPPO Push, you can carry the push template through this field.

ZIMMessageReactionAddConfig

Add configuration for message reactions.

Details

Configuration class for adding message reactions.

Declared in zim_defines.dart

Properties

increaseCount

increaseCount
int increaseCount

Description: When this value is greater than 0, the same user is allowed to react multiple times with the same reaction type, and the counts from those reactions will be accumulated.

ZIMMessageReactionUserInfo

reaction user information.

Details

A class describing reaction user.

Declared in zim_defines.dart

Properties

userID

userID
String userID

Description: user ID

ZIMMessageReaction

message reaction infos

Details

message reaction infos.

Declared in zim_defines.dart

Properties

reactionType

reactionType
String reactionType

Description: Type of reaction, defined by you, with a maximum length of 32 bytes.

conversationID

conversationID
String conversationID

Description: conversationID.

conversationType

conversationType
ZIMConversationType conversationType

Description: conversation type.

messageID

messageID
dynamic messageID

Detail description: reaction message ID.

messageSeq

messageSeq
int messageSeq

Detail description: message sequence.

totalCount

totalCount
int totalCount

Description: The reaction users number.

isSelfIncluded

isSelfIncluded
bool isSelfIncluded

Description: The reaciton users if included myself.

userList

userList

Description: Reaction user info list.

sumCount

sumCount
int sumCount

Detailed description: The sum count of reaction.

ZIMMessageReactionSimpleInfo

message reaction infos

Details

message reaction infos.

Declared in zim_defines.dart

Properties

reactionType

reactionType
String reactionType

Description: Type of reaction, defined by you, with a maximum length of 32 bytes.

sumCount

sumCount
int sumCount

Detailed description: The sum count of reaction.

ZIMMessageReactionUserFullInfo

message reaction user full information.

Details

A class describing reaction user.

Declared in zim_defines.dart

Properties

userID

userID
String userID

Description: user ID

reactions

reactions

Description: A list of summary information for the current user’s reactions under this message.

ZIMMessageReactionUserChangeInfo

User operation change information for message reactions.

Details

A class that describes reaction change information.

Declared in zim_defines.dart

Properties

userID

userID
String userID

user ID.

reactionType

reactionType
String reactionType

Type of reaction, defined by you, with a maximum length of 32 bytes.

action

action

reaction change action.

sumCount

sumCount
int sumCount

Description: The sum count for the current reaction type.

ZIMMessageLiteInfo

Base class of message lite info object.

Details

Identifies the basic parameters of a message.

Declared in zim_defines.dart

Properties

type

type

Description: Message type.

ZIMTextMessageLiteInfo

Normal text message lite info object.

Declared in zim_defines.dart

Properties

message

message
String message

Description: Text message content.

ZIMCustomMessageLiteInfo

Custom message lite information.

Declared in zim_defines.dart

Properties

message

message
String message

Description: Custom message content.

searchedContent

searchedContent
String searchedContent

Description: Custom message search content.

subType

subType
int subType

Description: Custom message sub-type.

ZIMCombineMessageLiteInfo

Base class for combine message lite info objects.

Declared in zim_defines.dart

Properties

title

title
String title

Description: Combine message title.

summary

summary
String summary

Description: Combine message summary.

ZIMRevokeMessageLiteInfo

Base class for revoke message lite info objects.

Declared in zim_defines.dart

ZIMMediaMessageLiteInfo

Base class for media message lite info objects.

Declared in zim_defines.dart

Properties

fileSize

fileSize
int fileSize

Description: Media file size.

fileName

fileName
String fileName

Description: Media file name.

fileLocalPath

fileLocalPath
dynamic fileLocalPath

Description: Media file local path.

fileDownloadUrl

fileDownloadUrl
String fileDownloadUrl

Description: Media file download address.

ZIMImageMessageLiteInfo

Image message lite information.

Declared in zim_defines.dart

Properties

originalImageWidth

originalImageWidth
int originalImageWidth

Description: Original image width.

originalImageHeight

originalImageHeight
int originalImageHeight

Description: Original image height.

largeImageWidth

largeImageWidth
int largeImageWidth

Description: Large image width.

largeImageHeight

largeImageHeight
int largeImageHeight

Description: Large image height.

largeImageLocalPath

largeImageLocalPath
String largeImageLocalPath

Description: Large image local path.

largeImageDownloadUrl

largeImageDownloadUrl
String largeImageDownloadUrl

Description: Large image download address.

thumbnailWidth

thumbnailWidth
int thumbnailWidth

Description: Thumbnail image width.

thumbnailHeight

thumbnailHeight
int thumbnailHeight

Description: Thumbnail image height.

thumbnailLocalPath

thumbnailLocalPath
String thumbnailLocalPath

Description: Thumbnail image local path.

thumbnailDownloadUrl

thumbnailDownloadUrl
String thumbnailDownloadUrl

Description: Thumbnail image download address.

ZIMFileMessageLiteInfo

File message lite information.

Declared in zim_defines.dart

ZIMAudioMessageLiteInfo

Audio message lite information.

Declared in zim_defines.dart

Properties

audioDuration

audioDuration
int audioDuration

Description: Audio duration.

ZIMVideoMessageLiteInfo

Video message lite information.

Declared in zim_defines.dart

Properties

videoDuration

videoDuration
int videoDuration

Description: Video duration.

videoFirstFrameWidth

videoFirstFrameWidth
int videoFirstFrameWidth

Description: Video first frame width.

videoFirstFrameHeight

videoFirstFrameHeight
int videoFirstFrameHeight

Description: Video first frame height.

videoFirstFrameLocalPath

videoFirstFrameLocalPath
String videoFirstFrameLocalPath

Description: Video first frame local path.

videoFirstFrameDownloadUrl

videoFirstFrameDownloadUrl
String videoFirstFrameDownloadUrl

Description: Video first frame download address.

ZIMMultipleMessageLiteInfo

Multiple messages lite information.

Declared in zim_defines.dart

Properties

messageInfoList

messageInfoList
List<ZIMMessageLiteInfo> messageInfoList

Description: Message list.

ZIMMessageRepliedInfo

The reply message refers to the information of the source message.

Declared in zim_defines.dart

Properties

state

state

Description: Message replied state.

messageInfo

messageInfo
ZIMMessageLiteInfo messageInfo

Description: Replied message lite information.

senderUserID

senderUserID
String senderUserID

Description: Sender user ID of the replied message.

sentTime

sentTime
int sentTime

Description: Sent time of the replied message.

messageID

messageID
dynamic messageID

Description: ID of the replied message.

messageSeq

messageSeq
int messageSeq

Description: Sequence number of the replied message.

ZIMMessage

Base class of message object

Details

Identifies the basic parameters of a message.

Declared in zim_defines.dart

  • Caution:Some of the parameters, such as Message ID, only have values ​​during the callback. Developers do not need to assign values ​​to these parameters when they actively create this object for sending messages.

Properties

type

type

Identifies the type of this message.

messageID

messageID
dynamic messageID

Description: The 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.

localMessageID

localMessageID
dynamic localMessageID

Description: SDK locally generated MessageID, developers do not need to pay attention to.

messageSeq

messageSeq
int messageSeq

Description: The sequence number of the message.

senderUserID

senderUserID
String senderUserID

Description:Displays the userID of the sender of this message.

conversationID

conversationID
String conversationID

Description: Conversation ID. Ids of the same conversation type are unique.

conversationType

conversationType
ZIMConversationType conversationType

Description: The type of conversation to which the message belongs.

direction

direction

Description: Used to describe whether a message is sent or received.

sentStatus

sentStatus

Description: Describes the sending status of a message.

timestamp

timestamp
int timestamp

Description: Identifies the sending time of a messageUse 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.

orderKey

orderKey
int orderKey

Description

larger the orderKey, the newer the message, and can be used for ordering messages.

isUserInserted

isUserInserted
bool isUserInserted

Detail description: Describes whether the message is a message inserted by the developer through [insertMessageToLocalDB].Default: false.

receiptStatus

receiptStatus

Detailed Description: Describe the receipt status of the messageBusiness scenario: used to determine the status of the current message in the receipt message

extendedData

extendedData
String extendedData

Description: message extension field Use cases: You can add extended fields to the message and send it to the peer Required: no Caution

length is 1k, you can contact technical support for configuration Available since: 2.6.0 or higher

localExtendedData

localExtendedData
String localExtendedData

Description: The 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.

reactions

reactions
List<ZIMMessageReaction> reactions

Description: Message statement list, which can carry data strongly related to users such as emoji expressions and voting information.

isBroadcastMessage

isBroadcastMessage
bool isBroadcastMessage

Description: Whether the message is pushed by all employees. Required: Internal assignment.

mentionedUserIDs

mentionedUserIDs
List<String> mentionedUserIDs

Description: Whether 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

isMentionAll

isMentionAll
bool isMentionAll

Description: Whether 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

repliedInfo

repliedInfo

Description: Message reply information.

rootRepliedCount

rootRepliedCount
int rootRepliedCount

Description: Root replied count.

isServerMessage

isServerMessage
bool isServerMessage

Whether the message was sent by the server.

cbInnerID

cbInnerID
String cbInnerID

The internal callback ID of the message.

editorUserID

editorUserID
String editorUserID

Description: The userID of the message editor.

editedTime

editedTime
int editedTime

Description: The time of message editing.

isGroupTargetedMessage

isGroupTargetedMessage
bool isGroupTargetedMessage

Indicates whether the message is a group-targeted message.

pinnedUserID

pinnedUserID
String pinnedUserID

Description: The userID of the message pinner.

pinnedTime

pinnedTime
int pinnedTime

Description: The time of message pinning.

destructTime

destructTime
int destructTime

Description: The timestamp at which the message will be destroyed.

ZIMMediaMessage

Base class for media message objects.

Details

Identifies a media message.

Declared in zim_defines.dart

  • Caution:This base class is the basis of all media messages and contains the properties required by media messages.

Properties

fileLocalPath

fileLocalPath
dynamic fileLocalPath

Detail description: The local path of the media message. Required: If a local file is sent, this parameter must be set by the sender. Otherwise, the message fails to be sent.

fileDownloadUrl

fileDownloadUrl
String fileDownloadUrl

Detail 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

fileUID
String fileUID

Detail 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

fileName
String fileName

Detail 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

fileSize
int fileSize

Detail 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.

ZIMTextMessage

Normal text message object.

Details

Identifies the basic parameters of a message.

Declared in zim_defines.dart

  • Caution:If the Type parameter of the base class is Text during callback, you can force the base class message object to be of this type.

Properties

message

message
String message

The content of the text message.

ZIMCustomMessage

Custom message object.

Details

Identifies a custom message.

Declared in zim_defines.dart

  • Caution:When calling back, if the Type parameter of the base class is Custom, the base class message object can be forcibly converted to this class.

Properties

message

message
String message

The content of the text message.

searchedContent

searchedContent
String searchedContent

Description: The search content of the message.

subType

subType
int subType

Description: The subtype of the message, which is used by customers to customize the usage of different custom messages. Required: The sender is required, otherwise the message will fail to be sent.

ZIMCommandMessage

Custom binary message object.

Details

Identifies a binary message.

Declared in zim_defines.dart

  • Caution:If the Type parameter of the base class is Custom during callback, you can force the base class message object to be of this type.

Properties

message

message
Uint8List message

The content of the custom message.

ZIMBarrageMessage

Barrage message class.

Details

The barrage message class does not appear in the session and does not store historical messages.

Declared in zim_defines.dart

Properties

message

message
String message

Description: The content of the barrage message.

ZIMImageMessage

Image message object.

Details

Identifies the basic parameters of a message.

Declared in zim_defines.dart

  • Caution:If the Type parameter of the base class is Image during callback, you can force the base class message object to be of this type.

Properties

thumbnailDownloadUrl

thumbnailDownloadUrl
String thumbnailDownloadUrl

Detail description: Thumbnail external download URL of the image 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.

thumbnailLocalPath

thumbnailLocalPath
String thumbnailLocalPath

Detailed description: The thumbnail local path of the image file. Required or not: The sender does not need to fill in it. After calling [downloadMediaFile] to download, the SDK will generate this value.

largeImageDownloadUrl

largeImageDownloadUrl
String largeImageDownloadUrl

Detail description: large Image external download URL of the image file. When developers upload large Images 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.

largeImageLocalPath

largeImageLocalPath
String largeImageLocalPath

Detailed description: The large image local path of the image file. Required or not: The sender does not need to fill in it. After calling [downloadMediaFile] to download, the SDK will generate this value.

originalImageWidth

originalImageWidth
int originalImageWidth

Detailed description: The width of the original image.

originalImageHeight

originalImageHeight
int originalImageHeight

Detailed description: The height of the original image.

largeImageWidth

largeImageWidth
int largeImageWidth

Detailed description: The width of the large image.

largeImageHeight

largeImageHeight
int largeImageHeight

Detailed description: The height of the large image.

thumbnailWidth

thumbnailWidth
int thumbnailWidth

Detailed description: The width of the thumbnail.

thumbnailHeight

thumbnailHeight
int thumbnailHeight

Detailed description: The height of the thumbnail.

ZIMFileMessage

File message object.

Details

Identifies the basic parameters of a message.

Declared in zim_defines.dart

  • Caution:If the Type parameter of the base class is File during callback, you can force the base class message object to be of this type.

ZIMAudioMessage

Audio message object.

Details

Identifies the basic parameters of a message.

Declared in zim_defines.dart

  • Caution:If the Type parameter of the base class is Audio during callback, you can force the base class message object to be of this type.

Properties

audioDuration

audioDuration
int audioDuration

Detail description: The duration of the audio file. Required: Required by the sender, if not filled, the audio message will fail to be sent When sending local audio messages.

ZIMVideoMessage

Video message object.

Details

Identifies a video message.

Declared in zim_defines.dart

  • Caution:When the Type parameter of the base class in the callback is Video, the base class message object can be cast to this class.

Properties

videoDuration

videoDuration
int videoDuration

Detail description: The duration of the video file. Required: Required by the sender, if not filled, the video message will fail to be sent when sending local video messages.

videoFirstFrameDownloadUrl

videoFirstFrameDownloadUrl
String videoFirstFrameDownloadUrl

Detail 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.

videoFirstFrameLocalPath

videoFirstFrameLocalPath
String videoFirstFrameLocalPath

Detailed 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.

videoFirstFrameWidth

videoFirstFrameWidth
int videoFirstFrameWidth

Detailed description: The width of the first frame of the video.

videoFirstFrameHeight

videoFirstFrameHeight
int videoFirstFrameHeight

Detailed description: The height of the first frame of the video.

ZIMRevokeMessage

Base class for revoke message objects.

Details

Identifies a revoke message.

Declared in zim_defines.dart

  • Caution:This base class is the basis of all revoke messages and contains the properties required by revoke messages.

Properties

revokeType

revokeType
ZIMRevokeType revokeType

Detail description: revoke type.

revokeTimestamp

revokeTimestamp
int revokeTimestamp

Detail description: revoke timestamp.

operatedUserID

operatedUserID
String operatedUserID

Detail description: operated user ID.

originalMessageType

originalMessageType
ZIMMessageType originalMessageType

Description: original message type

originalTextMessageContent

originalTextMessageContent
String originalTextMessageContent

Detail description: original text message content, if the message to be revoked is not a text message, this field is empty.

revokeExtendedData

revokeExtendedData
String revokeExtendedData

Detail description: revoke extended data.

revokeStatus

revokeStatus

Detail description: revoke status.

ZIMCombineMessage

Base class for combine message objects.

Details

Identifies a combine message.

Declared in zim_defines.dart

  • Caution:This base class is the basis of all combine messages and contains the properties required by combine messages.

Properties

title

title
String title

Detail description: Combine message title.

summary

summary
String summary

Detail description: The summary of combine message.

combineID

combineID
String combineID

Detail description: Combine ID, internal used

messageList

messageList
List<ZIMMessage> messageList

List of child messages

ZIMTipsMessage

Tips message object.

Details

Identifies a tips info message.

Declared in zim_defines.dart

  • Caution:If the Type parameter of the base class is Tips during callback, you can force the base class message object to be of this type.

Properties

event

event

Detail description: Tips event type.

operatedUser

operatedUser
ZIMUserInfo operatedUser

Detail description: Operated user information.

targetUserList

targetUserList
List<ZIMUserInfo> targetUserList

Detail description: Target user list.

changeInfo

changeInfo

Detail description: Change information.

ZIMMultipleMessage

Multiple message object.

Declared in zim_defines.dart

Properties

messageInfoList

messageInfoList
List<ZIMMessageLiteInfo> messageInfoList

Detail description: List of content in the multiple message.

failedIndexList

failedIndexList
List<int> failedIndexList

Detail description: List of failed index in the multiple message.

ZIMMessageRootRepliedInfo

Reply to the root message of the message tree.

Declared in zim_defines.dart

Properties

state

state

Description: Message replied state.

message

message
ZIMMessage message

Description: Root message.

senderUserID

senderUserID
String senderUserID

Description: Sender user ID of the root message.

sentTime

sentTime
int sentTime

Description: Sent time of the root message.

repliedCount

repliedCount
int repliedCount

Description: Root replied count.

ZIMMessageRootRepliedCountInfo

Information about the number of replies in the reply message tree.

Declared in zim_defines.dart

Properties

messageID

messageID
dynamic messageID

Description: Message ID.

conversationID

conversationID
String conversationID

Description: Conversation ID.

conversationType

conversationType
ZIMConversationType conversationType

Description: Conversation type.

count

count
int count

Description: Root replied count.

ZIMMessageMentionedInfo

message mention information.

Declared in zim_defines.dart

  • message mention information.

Properties

messageID

messageID
dynamic messageID

Description: Message ID, used to match the notification information to which message it belongs toRequired or not: Developers do not need to fill in.

messageSeq

messageSeq
int messageSeq

Description: Message sequence number, used to match the notification information to which message it belongs toRequired or not: Developers do not need to fill in.

fromUserID

fromUserID
String fromUserID

Description: From which user. Required: Developers do not need to fill in.

type

type

Details Description: Type of notification, used to distinguish between reminding oneself and reminding everyone. Required: Developers do not need to fill in.

ZIMMessageReceivedInfo

A structure in which the message receiving event carries relevant information.

Declared in zim_defines.dart

Properties

conversationID

conversationID
String conversationID

Description: The ID of conversation.

conversationType

conversationType
ZIMConversationType conversationType

Description: The type of conversation.

isOfflineMessage

isOfflineMessage
bool isOfflineMessage

Description: Whether it is an offline message.

ZIMMessageSendConfig

Configurations related to sending messages.

Details

Configurations related to sending messages.

Declared in zim_defines.dart

Properties

pushConfig

pushConfig
ZIMPushConfig pushConfig

Description: Configures the offline push function, If Android or iOS platform is integrated, it is strongly recommended to configure this. Required: Not mandatory.

priority

priority

Enumeration value used to set message priority. Required: Must mandatory.

hasReceipt

hasReceipt
bool hasReceipt

Detailed description: When sending a message, whether the message has a receipt.Business scenario: use when you need to bring a receipt for a message.Required: not required.Default value: false.

isNotifyMentionedUsers

isNotifyMentionedUsers
bool isNotifyMentionedUsers

Whether to send push notifications to mentioned users.

isRetrySend

isRetrySend
bool isRetrySend

Whether to resend the failed message.

disableUnreadMessageCount

disableUnreadMessageCount
bool disableUnreadMessageCount

When sending messages that would otherwise affect the other party's unread count, should they no longer be counted as unread by the other party? Whether required: Not required. Default value: false.

isAllowMultipleMessagePartialFailed

isAllowMultipleMessagePartialFailed
bool isAllowMultipleMessagePartialFailed

Whether to allow some sub-messages to fail to send when sending a multiple message. Whether required: Not required. Default value: false.

ZIMMessageQueryConfig

Example Query message configuration.

Details

Example Query the configurations of messages.

Declared in zim_defines.dart

Properties

nextMessage

nextMessage
ZIMMessage nextMessage

Description: Query the anchor point of the message. Required: This parameter is not required for the first query but is required for subsequent paging queries.

count

count
int count

Description: Number of query messages. Required: not required.

reverse

reverse
bool reverse

Description: Indicates whether the query is in reverse order. Required: not required. Default value: false.

mode

mode

Description: Sets the mode for querying historical messages. Since the SDK can determine whether local data is complete and therefore return historical messages more quickly, it is recommended to use the default value in most cases. Required: No.

ZIMMessageRevokeConfig

Revoke configurations related to messages.

Details

Revoke configurations related to messages.

Declared in zim_defines.dart

Properties

pushConfig

pushConfig
ZIMPushConfig pushConfig

Description: Configures the offline push function, If Android or iOS platform is integrated, it is strongly recommended to configure this. Required: Not required.

revokeExtendedData

revokeExtendedData
String revokeExtendedData

Description: revoking additional messages. Required: Not required.

ZIMMessageDeleteConfig

Delete message configuration.

Details

Delete configurations related to messages.

Declared in zim_defines.dart

Properties

isAlsoDeleteServerMessage

isAlsoDeleteServerMessage
bool isAlsoDeleteServerMessage

Description: Whether to remove flags for server messages. Required: not required. Default value: false.

ZIMMessageDeletedInfo

Deleted message information.

Details

Information class for deleted messages.

Declared in zim_defines.dart

Properties

conversationID

conversationID
String conversationID

Description: Conversation ID.

conversationType

conversationType
ZIMConversationType conversationType

Description: Conversation type.

messageDeleteType

messageDeleteType
ZIMMessageDeleteType messageDeleteType

[onMessageDeleted] Indicates the cause of being triggered.

messageList

messageList
List<ZIMMessage> messageList

List of deleted messages. Valid when [ZIMMessageDeleteType] is [ZIMMessageDeleteTypeMessageListDeleted].

ZIMMessageSendNotification

The notification callback when the message is sent, you can get the relevant information before the message object is sent through this notification

Details

Through this notification, developers can obtain relevant information before the message object is sent, such as localMessageID, etc.

Declared in zim_defines.dart

  • Use cases:When developers need to record and cache relevant information before sending a message, they can obtain it by listening to the notification.
  • Caution:If no monitoring is required, it can be passed [null].

Properties

onMessageAttached

onMessageAttached
ZIMMessageAttachedCallback onMessageAttached

Detail description: After the message falls into the local DB, the notification will be called back before the message is sent to the server. Business scenario: This interface can be used when the developer needs to obtain the relevant information in the message in advance before sending the message. Required: not required. If no monitoring is required, it can be passed empty. Default: empty.

onMediaUploadingProgress

onMediaUploadingProgress
ZIMMediaUploadingProgress onMediaUploadingProgress

Description: Media file upload progress.

onMultipleMediaUploadingProgress

onMultipleMediaUploadingProgress
ZIMMultipleMediaUploadingProgress onMultipleMediaUploadingProgress

Description: Multiple media file upload progress.

ZIMMediaMessageSendNotification

The notification callback when the media message is sent, you can get the relevant information before the message object is sent through this notification

Details

Through this notification, developers can obtain relevant information before the message object is sent, such as localMessageID, etc.

Declared in zim_defines.dart

  • Use cases:When developers need to record and cache relevant information before sending a message, they can obtain it by listening to the notification.
  • Caution:If no monitoring is required, it can be passed [null].

Properties

onMessageAttached

onMessageAttached
ZIMMessageAttachedCallback onMessageAttached

Detail description: After the message falls into the local DB, the notification will be called back before the message is sent to the server. Business scenario: This interface can be used when the developer needs to obtain the relevant information in the message in advance before sending the message. Required: not required. If no monitoring is required, it can be passed [null]. Default: [null].

onMediaUploadingProgress

onMediaUploadingProgress
ZIMMediaUploadingProgress onMediaUploadingProgress

Callback for media upload progress.

ZIMMessageReceiptInfo

receipt information.

Details

receipt information.

Declared in zim_defines.dart

Properties

status

status

Detail description: receipt status.

messageID

messageID
dynamic messageID

Detailed Description: Message ID. Business scenario: Developers can match the loaded message list according to this ID. Is it required: No, SDK fills in.

conversationID

conversationID
String conversationID

Session ID.

conversationType

conversationType
ZIMConversationType conversationType

Session type.

readMemberCount

readMemberCount
int readMemberCount

Description: Number of read members.

unreadMemberCount

unreadMemberCount
int unreadMemberCount

Description: Number of unread members.

deliveredMemberCount

deliveredMemberCount
int deliveredMemberCount

Description: Number of delivered members.

isSelfOperated

isSelfOperated
bool isSelfOperated

Description: Whether it is self-operated by multi-terminal.

readTime

readTime
int readTime

Description: All the recipients have read the timestamp of that moment.

ZIMMessageReactionUserQueryConfig

Configuration for querying reaction user list

Details

When querying reaction member, you need to configure this object.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

Description: The flag of the paging query. For the first query, set this field to an empty string. If the "nextFlag" field of the [ZIMMessageReactionUserListQueriedCallback] callback is not an empty string, it needs to be set here to continue the query on the next page.Required: Not required.

count

count
int count

Description: How many members are retrieved in one query, 100 at most.Caution: To obtain members in pages to reduce overhead, it is recommended to obtain within 20 members at a time. If the value is 0, the SDK will query 100 members by default.Required: Required.

reactionType

reactionType
String reactionType

Description: reaction type, defined by you.

ZIMMessageSentStatusChangeInfo

Notice of Room Message Status Change.

Details

Notice of Room Message Status Change.

Declared in zim_defines.dart

Properties

status

status

message sent status.

message

message
ZIMMessage message

ZIMMessage.

reason

reason
String reason

This field stores the reason why a message was rejected by ZEGOCLOUD In-app Chat due to interception by the server-side callback on message not sent yer. If you have enabled the ZEGOCLOUD In-app Chat content moderation service and require this field to capture failure reasons caused by failed content moderation, contact ZEGOCLOUD Technical Support for configuration.

ZIMMessageSearchConfig

Message search configuration.

Details

Message search configuration.

Declared in zim_defines.dart

Properties

nextMessage

nextMessage
ZIMMessage nextMessage

Paging fetch flag, which means fetching messages before or after nextMessage, with 'before' or 'after' determined by the order value. On the first search, nextMessage is null. On subsequent searches, nextMessage needs to pass in the last message in the message list queried last time.

count

count
int count

count It is recommended to keep the number of items less than 20 to reduce performance overhead.

order

order

When the 'order' is 'DESCENDING' during message search, it means querying messages with sending time earlier than nextMessage. If it's the first message query (i.e. nextMessage is null), then query from the last message stored locally forward. When 'order' is 'ASCENDING', it means querying messages with sending time later than nextMessage. If it's the first message query (i.e. nextMessage is null), then query from the first message stored locally backward. The default is 'DESCENDING'.

keywords

keywords
List<String> keywords

Search keywords, up to 5 keywords are supported, otherwise an error will be reported. For example: passing in '1' and '2' will make the search results only show messages that contain both keywords '1' and '2'.

messageTypes

messageTypes
List<ZIMMessageType> messageTypes

Message types, can be used to specify message types. Support passing in multiple types.

subMessageTypes

subMessageTypes
List<int> subMessageTypes

The subtypes of custom messages have a value range of [0,200]. Developers can use this range to search for specific custom types.

senderUserIDs

senderUserIDs
List<String> senderUserIDs

The user ID of the message sender, supporting up to 5 IDs. For example, if 'zego2023' is passed in, the search results will only display all the messages sent by the user 'zego2023' in that conversation.

startTime

startTime
int startTime

The starting point of the search, in milliseconds, with a default value of 0. The format is UTC timestamp.

endTime

endTime
int endTime

The ending point of the search, which must be greater than the startTime, in milliseconds. The default value is 0 and the format is UTC timestamp.

ZIMMessageRepliedListQueryConfig

Configuration for querying reply message list.

Details

Configuration class for querying the replied message list.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The flag of paginated query. When querying for the first time, set this field to 0. If the 'nextFlag' field of the [queryMessageRepliedList] callback is not 0, it means that the query has not ended yet. You need to set it here to continue querying the next page.

count

count
int count

The number of queries per query. The upper limit is 100. Exceeding 100 will result in an error.

ZIMMediaDownloadConfig

Configuration for downloading media files.

Details

Configuration class for media file downloads.

Declared in zim_defines.dart

Properties

messageInfoIndex

messageInfoIndex
int messageInfoIndex

Detailed description: The index of the array where a file in the download multiple message is located.

ZIMMessageEditConfig

(Empty Class) Configurations related to editing messages.

Details

(Empty Class) Configurations related to editing messages.

Declared in zim_defines.dart

ZIMSendingMessageCancelConfig

(Empty Class) Configurations related to cancel sending messages.

Details

(Empty Class) Configurations related to cancel sending messages.

Declared in zim_defines.dart

ZIMMessagePinConfig

Pinning message configuration

Details

Pin configurations related to messages.

Declared in zim_defines.dart

Properties

disableAutoReplace

disableAutoReplace
bool disableAutoReplace

When the number of pinned messages exceeds the limit, replacing older pinned messages in the pinned list during the next pin operation is not allowed. The default value is [false].

ZIMTipsMessageChangeInfo

Tips message additional information.

Details

Tips message additional information.

Declared in zim_defines.dart

Properties

type

type

Tips message additional information type.

ZIMTipsMessageGroupChangeInfo

Tips Additional information about change events related to the message group.

Details

Tips Additional information about change events related to the message group.

Declared in zim_defines.dart

Properties

groupDataFlag

groupDataFlag
ZIMGroupDataFlag groupDataFlag

If there are multiple changes in the group name, group avatar, and group announcement, you need to know which ones have changed based on the value of this field. Among them, 0b0001 is the group name, 0b0010 is the group notice, and 0b0100 is the group avatar.

groupName

groupName
String groupName

If the group name is changed, the changed value will be displayed here.

groupNotice

groupNotice
String groupNotice

If the group notice is changed, the changed value will be displayed here.

groupAvatarUrl

groupAvatarUrl
String groupAvatarUrl

If the group avatar url is changed, the changed value will be displayed here.

groupMutedInfo

groupMutedInfo
ZIMGroupMuteInfo groupMutedInfo

If the group mute info is changed, the changed value will be displayed here.

ZIMTipsMessageGroupMemberChangeInfo

Tips Additional information about change events related to the message group member.

Details

Tips Additional information about change events related to the message group member.

Declared in zim_defines.dart

Properties

memberRole

memberRole
int memberRole

If a group member's role changes, the changed role will be displayed here.

muteExpiredTime

muteExpiredTime
int muteExpiredTime

If the group member's muting expired time changes, the new muting expired time will be displayed here.

groupNewOwner

groupNewOwner

Detailed description: tips message generated when the original group owner leaves the group and causes a change in the group owner. This field is true and indicates a newly created group owner.

ZIMTipsMessagePinStatusChangeInfo

Tips Additional information about change events related to the message pinned or unpined.

Details

Tips Additional information about change events related to the message pinned or unpined.

Declared in zim_defines.dart

Properties

isPinned

isPinned
bool isPinned

Describes whether the current operation is a pin operation or an unpin operation.

ZIMMessagePinStatusChangeInfo

Notification of the message pinned status changed.

Details

When a message in a conversation is successfully pinned or unpinned and a notification is raised, this structure can be used to obtain the operated message and its current pinned status.

Declared in zim_defines.dart

Properties

pinStatus

pinStatus

Message pin status

message

message
ZIMMessage message

The message object whose pin status changed.

ZIMFileCacheClearConfig

Clear cache configuration.

Details

Clear cache configuration.

Declared in zim_defines.dart

Properties

endTime

endTime
int endTime

Expiration stamp of cache cleanup.

ZIMFileCacheQueryConfig

Query cache configuration.

Details

Query cache configuration.

Declared in zim_defines.dart

Properties

endTime

endTime
int endTime

Example Query the expiration timestamp of the cache.

ZIMFileCacheInfo

File cache information.

Details

Detailed description: File cache information.

Declared in zim_defines.dart

Properties

totalFileSize

totalFileSize
int totalFileSize

Total file size in bytes (B).

ZIMMessageReactionChangeInfo

message reaction change information.

Details

A class that describes reaction change information.

Declared in zim_defines.dart

Properties

message

message
ZIMMessage message

Description: The message object containing updated reaction information, which can be used to directly replace the old data held by the developer.

userChangeInfoList

userChangeInfoList
List<ZIMMessageReactionUserChangeInfo> userChangeInfoList

Description: A list of user reaction operation changes under the current message.

ZIMConversation

Session specific content.

Details

The specific content of the session.

Declared in zim_defines.dart

Properties

conversationID

conversationID
String conversationID

Conversation ID.

type

type

Conversation type.

conversationName

conversationName
String conversationName

conversationName is the same as the groupName/userName value corresponding to the session.

conversationAvatarUrl

conversationAvatarUrl
String conversationAvatarUrl

Conversation avatar URL. The peer-to-peer conversation avatar URL is the same as the user avatar URL, and the group conversation avatar URL is the same as the group avatar URL.

conversationAlias

conversationAlias
String conversationAlias

After 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.

notificationStatus

notificationStatus

Conversation notification status.

unreadMessageCount

unreadMessageCount
int unreadMessageCount

Unread message count of the conversation.

lastMessage

lastMessage
ZIMMessage lastMessage

The last message in the conversation.

orderKey

orderKey
int orderKey

OrderKey is used to describe the order of messages in the session. The larger orderKey is, the newer it is.

isPinned

isPinned
bool isPinned

Whether the conversation is pinned.

pinnedTime

pinnedTime
int pinnedTime

Description: The timestamp of conversation pinned.

mentionedInfoList

mentionedInfoList
List<ZIMMessageMentionedInfo> mentionedInfoList

When reminded in a message or reminded to everyone in a conversation, this array will record the reminders.

draft

draft
String draft

Conversation draft, when draft set conversation will carry this parameter.

marks

marks
List<int> marks

Describes all the existing marks for the conversation.

readMessageSeq

readMessageSeq
int readMessageSeq

Conversation read message sequence number.

isConversationDisabled

isConversationDisabled
bool isConversationDisabled

Whether the conversation is unavailable.

selfMutedExpiredTime

selfMutedExpiredTime
int selfMutedExpiredTime

The expiration timestamp of the self-mute for this conversation.

messageDestructDuration

messageDestructDuration
int messageDestructDuration

The timed message self-destruction duration for the conversation.

ZIMConversationBaseInfo

Conversation base information

Details

The base content of the session.

Declared in zim_defines.dart

Properties

conversationID

conversationID
String conversationID

Conversation ID. For single chat, the conversation ID is the other user ID. For group chat, the conversation ID is the group ID.

conversationType

conversationType
ZIMConversationType conversationType

Conversation type

ZIMGroupConversation

Group session object, extend from ZIMGroupConversation.

Details

Group session object, extend from ZIMGroupConversation.

Declared in zim_defines.dart

Properties

isDisabled

isDisabled
bool isDisabled

Whether the group session is unavailable.

mutedExpiredTime

mutedExpiredTime
int mutedExpiredTime

The expiration date of the group gag.

ZIMConversationQueryConfig

Query the relevant configuration of the session.

Details

Configurable information when querying a session.

Declared in zim_defines.dart

Properties

nextConversation

nextConversation
ZIMConversation nextConversation

Session that needs to be queried.

count

count
int count

The number of sessions to query.

ZIMConversationFilterOption

Search filters related to the conversation.

Details

Configurable filter options when querying conversation list.

Declared in zim_defines.dart

Properties

conversationTypes

conversationTypes
List<ZIMConversationType> conversationTypes

Conversation type list

marks

marks
List<int> marks

Conversation mark list

isOnlyUnreadConversation

isOnlyUnreadConversation
bool isOnlyUnreadConversation

Whether to query only unread conversations

pinnedFilter

pinnedFilter

Conversation pinned filter

ZIMConversationTotalUnreadMessageCountQueryConfig

Search filters related to the conversation total unread message count.

Details

Configurable filter options when querying conversation total unread message count.

Declared in zim_defines.dart

Properties

conversationTypes

conversationTypes
List<ZIMConversationType> conversationTypes

Conversation type list

marks

marks
List<int> marks

Conversation mark list

ZIMConversationDeleteConfig

Conversation delete configuration

Details

Delete the related configuration of the session.

Declared in zim_defines.dart

Properties

isAlsoDeleteServerConversation

isAlsoDeleteServerConversation
bool isAlsoDeleteServerConversation

Whether to delete server conversations at the same time

ZIMConversationsAllDeletedInfo

Delete all session notification information.

Details

Delete all session notification information.

Declared in zim_defines.dart

Properties

count

count
int count

Number of sessions that were deleted.

ZIMConversationChangeInfo

Conversation change information

Details

Contains information after session changes.

Declared in zim_defines.dart

Properties

event

action

action

Conversation change action

conversation

conversation
ZIMConversation conversation

Changed conversation

ZIMConversationSearchConfig

Conversation search configuration.

Details

Conversation search configuration.

Declared in zim_defines.dart

Properties

mode

mode

Conversation search mode.

nextFlag

nextFlag
int nextFlag

Pagination token, fill in 0 initially, and then fill in the nextFlag returned from the callback to retrieve data for the next page.

totalConversationCount

totalConversationCount
int totalConversationCount

The number of messages that can be retrieved in one search. It is recommended to be less than 20 to reduce performance overhead.

keywords

keywords
List<String> keywords

Search keywords, supports up to 5. Otherwise, an error will occur. For example, if you pass in '1' and '2', the search results will only display conversations that contain both '1' and '2' keywords in the messages.

conversationMessageCount

conversationMessageCount
int conversationMessageCount

The number of local messages that can be retrieved for a single conversation in one search. It is recommended to be less than 10 to reduce performance overhead.

messageTypes

messageTypes
List<ZIMMessageType> messageTypes

Message types, can be used to specify message types. Support passing in multiple types.

subMessageTypes

subMessageTypes
List<int> subMessageTypes

The subtypes of custom messages have a value range of [0,200]. Developers can use this range to search for specific custom types.

senderUserIDs

senderUserIDs
List<String> senderUserIDs

Send user ID, supports up to 5. For example, if you pass in zego2023, the search results will only display conversations where messages have been sent by the user zego2023.

startTime

startTime
int startTime

The starting point of the search, in milliseconds, with a default value of 0. The format is UTC timestamp.

endTime

endTime
int endTime

The ending point of the search, which must be greater than the startTime, in milliseconds. The default value is 0 and the format is UTC timestamp.

ZIMConversationSearchInfo

Conversation search result

Details

Information class for conversation search results.

Declared in zim_defines.dart

Properties

conversationID

conversationID
String conversationID

The conversation ID of the local message to be search.

conversationType

conversationType
ZIMConversationType conversationType

conversation type.

conversation

conversation
ZIMConversation conversation

Conversation object.

totalMessageCount

totalMessageCount
int totalMessageCount

Total message count.

messageList

messageList
List<ZIMMessage> messageList

Search results of messages.

ZIMRoomInfo

Room information object.

Details

Identifies a unique room.

Declared in zim_defines.dart

Properties

roomID

roomID
String roomID

Room ID. a string with a maximum length of 128 bytes. It is customized by the developer and supports only digits, English characters, , and '!', '#', '$', '%', '&', '(', ')', '+', '-', ':', ';', '<', '=', '.', '>', '?', '@', '[', ']', '^', '_', '{', '}', '|', ''.

roomName

roomName
String roomName

Room name, It is customized by the developer .a string with a maximum length of 64 bytes or less.

ZIMRoomFullInfo

The room details object.

Details

Identifies the detailed information of a room.

Declared in zim_defines.dart

Properties

baseInfo

baseInfo
ZIMRoomInfo baseInfo

Room base information

ZIMRoomMemberInfo

Room user information.

Details

A class describing room user.

Declared in zim_defines.dart

ZIMRoomMemberQueryConfig

Configuration for querying room member.

Details

When querying member, you need to configure this object.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
String nextFlag

The flag of the paging query. For the first query, set this field to an empty string. If the 'nextFlag' field of the callback is not an empty string, it needs to be set here to continue the query on the next page.

count

count
int count

How many messages are retrieved in one query.

ZIMRoomAdvancedConfig

Room advanced configuration

Details

Room‘s advanced config.

Declared in zim_defines.dart

Properties

roomAttributes

roomAttributes
Map<String, String> roomAttributes

Room attributes of a room.

roomDestroyDelayTime

roomDestroyDelayTime
int roomDestroyDelayTime

Room destruction time delayed, the unit is seconds. The maximum room destroy delay time is 3 hours.

ZIMRoomAttributesSetConfig

The behavior attribute set by the room attribute.

Details

The behavior attribute set by the room attribute.

Declared in zim_defines.dart

Properties

isForce

isForce
bool isForce

Whether the operation is mandatory, that is, the property of the room whose owner is another user can be modified.

isDeleteAfterOwnerLeft

isDeleteAfterOwnerLeft
bool isDeleteAfterOwnerLeft

Room attributes are automatically deleted after the owner leaves the room.

isUpdateOwner

isUpdateOwner
bool isUpdateOwner

Whether to update the owner of the room attribute involved.

ZIMRoomAttributesBatchOperationConfig

The behavior attribute set by the room attribute.

Details

The behavior attribute set by the room attribute.

Declared in zim_defines.dart

Properties

isForce

isForce
bool isForce

Whether the operation is mandatory, that is, the property of the room whose owner is another user can be modified.

isDeleteAfterOwnerLeft

isDeleteAfterOwnerLeft
bool isDeleteAfterOwnerLeft

Room attributes are automatically deleted after the owner leaves the room.

isUpdateOwner

isUpdateOwner
bool isUpdateOwner

Whether to update the owner of the room attribute involved.

ZIMRoomAttributesDeleteConfig

The behavior attribute set by the room attribute.

Details

The behavior attribute set by the room attribute.

Declared in zim_defines.dart

Properties

isForce

isForce
bool isForce

Whether the operation is mandatory, that is, the property of the room whose owner is another user can be deleted.

ZIMRoomAttributesUpdateInfo

Room attribute update information

Details

Notice of Room Attribute Change.

Declared in zim_defines.dart

Properties

action

action

Behavioral information of room attribute change notification.

roomAttributes

roomAttributes
Map<String, String> roomAttributes

Room attributes.

ZIMRoomMemberAttributesInfo

Room user attribute information.

Details

Detail description: A class describing room user attributes, including UserID and its corresponding attributes.

Declared in zim_defines.dart

Properties

userID

userID
String userID

Detail description: User ID.

attributes

attributes
Map<String, String> attributes

Detailed 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 zim_defines.dart

Properties

attributesInfo

attributesInfo

Detailed description: room user attribute information.

errorKeys

errorKeys
List<String> errorKeys

Detail description: The key of the room user attribute operation failure.

ZIMRoomMemberAttributesUpdateInfo

Room user attribute update information.

Details

Detailed description: Room user attribute update information.

Declared in zim_defines.dart

Properties

attributesInfo

attributesInfo

Detailed description: room user attributes.

ZIMRoomMemberAttributesSetConfig

Room user property settings configuration.

Details

room user attribute setting configuration, including configurable whether to retain user attributes after the user leaves, etc.

Declared in zim_defines.dart

  • Use cases:When setting room user attributes, developers can choose to use them according to their actual application scenarios.

Properties

isDeleteAfterOwnerLeft

isDeleteAfterOwnerLeft
bool isDeleteAfterOwnerLeft

Default: true.

ZIMRoomMemberAttributesQueryConfig

Room member attribute query configuration

Details

Detailed description: room user attribute query configuration.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
String nextFlag

Detail description: Query anchor for room user properties.

count

count
int count

count.

ZIMRoomOperatedInfo

Room operation information.

Details

Detailed description: Room operation information.

Declared in zim_defines.dart

Properties

userID

userID
String userID

Detail description: UserID of the operator.

ZIMGroupInfo

group information.

Details

group information.

Declared in zim_defines.dart

Properties

groupID

groupID
String groupID

groupID.

groupName

groupName
String groupName

Group name.

groupAvatarUrl

groupAvatarUrl
String groupAvatarUrl

Use Limit: the maximum number of characters is 500 bytes. There is no limit on special characters.

ZIMGroupMuteInfo

Group mute information.

Details

Group mute information.

Declared in zim_defines.dart

Properties

mode

mode

Group mute mode.

expiredTime

expiredTime
int expiredTime

Group mute expiration time, measured in seconds. When it's 0, there is no mute; when it's -1, it means permanent mute.

roles

roles
List<int> roles

Detail description: Role list muted in the group.

ZIMGroupVerifyInfo

Verification mode for joining the group.

Details

Group verification information class, describing the group entry verification mode.

Declared in zim_defines.dart

Properties

joinMode

joinMode

Verification mode for joining the group.

inviteMode

inviteMode

Verification mode for invite to the group.

beInviteMode

beInviteMode

Verification mode for being invited to the group.

ZIMGroupFullInfo

complete group information.

Details

complete group information.

Declared in zim_defines.dart

Properties

baseInfo

baseInfo
ZIMGroupInfo baseInfo

basic group information.

groupNotice

groupNotice
String groupNotice

Group of announcement.

groupAttributes

groupAttributes
Map<String, String> groupAttributes

group properties.

groupAlias

groupAlias
String groupAlias

the group alias defined by user, which is visible only to that user.

notificationStatus

notificationStatus

group message notification status.

mutedInfo

mutedInfo

Group mute info.

createTime

createTime
int createTime

The timestamp of the server when the group was created.

maxMemberCount

maxMemberCount
int maxMemberCount

The maximum number of group members.

verifyInfo

verifyInfo

Verification mode for joining the group.

ZIMGroup

complete group information for group list.

Details

complete group information for group list.

Declared in zim_defines.dart

Properties

baseInfo

baseInfo
ZIMGroupInfo baseInfo

basic group information.

groupAlias

groupAlias
String groupAlias

the group alias defined by user, which is visible only to that user.

notificationStatus

notificationStatus

group message notification status.

ZIMGroupMemberSimpleInfo

Group member simple information.

Details

Simple information class for group members.

Declared in zim_defines.dart

Properties

memberNickname

memberNickname
String memberNickname

Group member nickname.

memberRole

memberRole
int memberRole

group role.

ZIMGroupEnterInfo

Information about group members when they join the group.

Details

Information class for a user entering a group.

Declared in zim_defines.dart

Properties

enterTime

enterTime
int enterTime

The timestamp of the server when joining the group.

enterType

enterType

Group entry type.

operatedUser

operatedUser

Group entry type.

ZIMGroupMemberInfo

Group member information.

Details

Group member information.

Declared in zim_defines.dart

Properties

memberNickname

memberNickname
String memberNickname

Group member nickname.

memberRole

memberRole
int memberRole

group role.

muteExpiredTime

muteExpiredTime
int muteExpiredTime

Group member's mute expiration time. When it's 0, it means no mute; when it's -1, it means permanent mute.

groupEnterInfo

groupEnterInfo
ZIMGroupEnterInfo groupEnterInfo

Information about group members when they join the group.

ZIMGroupOperatedInfo

The group causes the event to change the operator's information.

Details

The group causes the event to change the operator's information.

Declared in zim_defines.dart

Properties

userID

userID
String userID

The operator's user ID.

userName

userName
String userName

The operator's username.

memberNickname

memberNickname
String memberNickname

The operator's group member nickname.

memberRole

memberRole
ZIMGroupMemberRole memberRole

The operator's group member role.

ZIMGroupMemberQueryConfig

group member query configuration.

Details

group member query configuration.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

nextFlag.

count

count
int count

count. Quantity, upper limit is 100, over 100 will be treated as 100.

ZIMGroupAdvancedConfig

Group advanced configuration.

Details

Group advanced configuration.

Declared in zim_defines.dart

Properties

groupNotice

groupNotice
String groupNotice

group notice.

groupAttributes

groupAttributes
Map<String, String> groupAttributes

Group properties, up to 10 can be configured..

maxMemberCount

maxMemberCount
int maxMemberCount

The maximum number of group members.

joinMode

joinMode

Verification mode for joining the group.

inviteMode

inviteMode

Verification mode for invite to the group.

beInviteMode

beInviteMode

Verification mode for being invited to the group.

ZIMGroupAttributesUpdateInfo

Group attribute update information.

Details

Group attribute update information.

Declared in zim_defines.dart

Properties

action

action

Group attribute update action.

groupAttributes

groupAttributes
Map<String, String> groupAttributes

group properties.

ZIMGroupMessageReceiptMemberQueryConfig

Group message receipt read/unread member query configuration.

Details

Group message receipt read/unread member query configuration.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The pagination cursor. Set to 0 for the first query, then use the nextFlag from the [ZIMGroupMessageReceiptMemberListQueriedCallback] callback for subsequent pages.

count

count
int count

The number of group members to query.

ZIMGroupMessageReceiptMemberListQueryConfig

Group message receipt member query configuration.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The pagination cursor. Set to 0 for the first query, then use the nextFlag from the [ZIMGroupMessageReceiptMemberListQueriedCallback] callback for subsequent pages.

filterType

filterType

Filter type for the receipt member list to query.

ZIMGroupSearchConfig

Group search configuration.

Details

Group search configuration.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The flag used to search groups.

count

count
int count

count.

keywords

keywords
List<String> keywords

Search keywords. For example: passing in '1' and '2' will make the search results only show groups whose group names contain both keywords '1' and '2'.

isAlsoMatchGroupMemberUserName

isAlsoMatchGroupMemberUserName
bool isAlsoMatchGroupMemberUserName

Whether the search scope includes group member user names. Default is false.

isAlsoMatchGroupMemberNickname

isAlsoMatchGroupMemberNickname
bool isAlsoMatchGroupMemberNickname

Whether the search scope includes group member user nicknames. Default is false.

ZIMGroupSearchInfo

Group search info.

Details

Group search info.

Declared in zim_defines.dart

Properties

groupInfo

groupInfo
ZIMGroupInfo groupInfo

group info.

userList

userList
List<ZIMGroupMemberInfo> userList

Group member information.

ZIMGroupMemberSearchConfig

group member search configuration.

Details

group member search configuration.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The flag for querying, fill in 0 when calling the interface for the first time. When calling the interface again later, fill in the nextFlag returned from the callback to retrieve the remaining data.

count

count
int count

count.

keywords

keywords
List<String> keywords

Search keywords, up to 5 keywords are supported, otherwise an error will be reported. For example: passing in '1' and '2' will make the search results only show group members whose names contain both keywords '1' and '2'.

isAlsoMatchGroupMemberNickname

isAlsoMatchGroupMemberNickname
bool isAlsoMatchGroupMemberNickname

Whether the search scope includes group member user nickname. Default is false.

ZIMGroupMuteConfig

Group mute configuration.

Details

Group mute configuration.

Declared in zim_defines.dart

Properties

mode

mode

Group mute mode.

duration

duration
int duration

Group mute duration, the unit is seconds. The value is -1, which means permanent mute. If you need to implement non-permanent mute, the upper limit is 604800 (7 days). If you need to increase it, please contact ZEGO technical support.

roles

roles
List<int> roles

Group role list.

ZIMGroupMemberMuteConfig

Group members mute configuration.

Details

Group members mute configuration.

Declared in zim_defines.dart

Properties

duration

duration
int duration

Group members mute duration, the unit is seconds. The value is -1, which means permanent mute. If you need to implement non-permanent mute, the upper limit is 604800 (7 days). If you need to increase it, please contact ZEGO technical support.

ZIMGroupMemberMutedListQueryConfig

Group muted member list query configuration.

Details

Group muted member list query configuration.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

nextFlag.

count

count
int count

count.

ZIMGroupApplicationInfo

Group application information.

Details

Group application information class, containing details of join or invite applications.

Declared in zim_defines.dart

Properties

type

type

Group application type.

state

state

Group application state.

groupInfo

groupInfo
ZIMGroupInfo groupInfo

Group information for applying to join the group.

applyUser

applyUser
ZIMUserInfo applyUser

Detail description: The applicant is the applicant when applying to join, the invitee when applying to invite, and the inviter when applying by invitation.

createTime

createTime
int createTime

Group application create time.

updateTime

updateTime
int updateTime

Group application status update time.

wording

wording
String wording

The wording of group application information.

operatedUser

operatedUser

The operator who agrees to join the group application.

ZIMGroupJoinApplicationSendConfig

The behavior property of the send group join application setting.

Details

Configuration class for sending group join applications.

Declared in zim_defines.dart

Properties

wording

wording
String wording

Postscript to the application operation.

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMGroupJoinApplicationAcceptConfig

The behavior property of the accept group join application setting.

Details

Configuration class for accepting group join applications.

Declared in zim_defines.dart

Properties

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMGroupJoinApplicationRejectConfig

The behavior property of the reject group join application setting.

Details

Configuration class for rejecting group join applications.

Declared in zim_defines.dart

Properties

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMGroupInviteApplicationSendConfig

The behavior property of the send group invite application setting.

Details

Configuration class for sending group invite applications.

Declared in zim_defines.dart

Properties

wording

wording
String wording

Postscript to the application operation.

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMGroupInviteApplicationAcceptConfig

The behavior property of the accept group invite application setting.

Details

Configuration class for accepting group invite applications.

Declared in zim_defines.dart

Properties

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMGroupInviteApplicationRejectConfig

The behavior property of the reject group invite application setting.

Details

Configuration class for rejecting group invite applications.

Declared in zim_defines.dart

Properties

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMGroupApplicationListQueryConfig

Query the group application configuration.

Details

Through this configuration, you can set the total number of queries and the pagination query.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

nextFlag.

count

count
int count

count. It is advised to be no more than 30.

ZIMGroupListQueryConfig

Group list query configuration.

Details

Configuration class for querying the group list.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

nextFlag.

userIDs

userIDs
List<String> userIDs

Specify the list of users.

ZIMCallUserInfo

Call invitation user information.

Details

Call invitation user information.

Declared in zim_defines.dart

Properties

userID

userID
String userID

User ID, a string with a maximum length of 32 bytes or less. It is customized by the developer. Only support numbers, English characters and '!', '#', '$', '%', '&', '(', ')', '+', '-', ':', ';', '<', '=', '.', '>', '?', '@', '[', ']', '^', '_', '{', '}', '|', '~'.

state

state

user status.

extendedData

extendedData
String extendedData

Call the additional information in user information.

ZIMCallInviteConfig

The behavior property of the Send Call Invitation setting.

Details

The behavior property of the Send Call Invitation setting.

Declared in zim_defines.dart

Properties

timeout

timeout
int timeout

The timeout setting of the call invitation, the unit is seconds. The range is [1, 600].

mode

mode

Call invitation mode configuration.

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

enableNotReceivedCheck

enableNotReceivedCheck
bool enableNotReceivedCheck

If the pass value is true, the system checks whether the call invitation is delivered in this call and subsequent calls.

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMCallingInviteConfig

Behavior property set by quit a call invitation.

Details

Behavior property set by quit a call invitation.

Declared in zim_defines.dart

Properties

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMCallJoinConfig

Add the behavior attribute of the call invitation setting.<br/>.

Details

Add the behavior attribute of the call invitation setting.

Declared in zim_defines.dart

Properties

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

ZIMCallQuitConfig

Behavior property set by quit a call invitation.

Details

Behavior property set by quit a call invitation.

Declared in zim_defines.dart

Properties

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMCallEndConfig

End the behavior attribute of the call invitation setting.

Details

End the behavior attribute of the call invitation setting.

Declared in zim_defines.dart

Properties

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMCallCancelConfig

Behavior property that cancels the call invitation setting.

Details

Behavior property that cancels the call invitation setting.

Declared in zim_defines.dart

Properties

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMCallAcceptConfig

Behavior property set by accepting a call invitation.

Details

Behavior property set by accepting a call invitation.

Declared in zim_defines.dart

Properties

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

ZIMCallRejectConfig

This parameter is used to set the configuration item of call invitation rejection.

Details

This command is used to customize the call invitation when sending invitation rejection.

Declared in zim_defines.dart

  • Use cases:You need to pass the configuration item to the interface when invoking the call rejection invitation.

Properties

extendedData

extendedData
String extendedData

Additional fields for attaching custom content when sending a reject invitation.

ZIMCallInvitationSentInfo

Call invitation sent message.

Details

Call invitation sent message.

Declared in zim_defines.dart

Properties

timeout

timeout
int timeout

The timeout setting of the call invitation, the unit is seconds.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

User id that has not received a call invitation list.

ZIMCallingInvitationSentInfo

Information about callingInvite.

Details

Information about callingInvite

Declared in zim_defines.dart

Properties

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Error user list.

ZIMCallJoinSentInfo

Result of join the call operation.

Details

Result of join the call operation.

Declared in zim_defines.dart

Properties

extendedData

extendedData
String extendedData

The pass-through field that comes with invoking the end of the call.

createTime

createTime
int createTime

Timestamp of the time when the call invitation was created.

joinTime

joinTime
int joinTime

Time stamp of the person join the call invitation.

callUserList

callUserList
List<ZIMCallUserInfo> callUserList

List of user information in the current call invitation.

ZIMCallQuitSentInfo

Result of quit the call operation.

Details

Result of quit the call operation.

Declared in zim_defines.dart

Properties

createTime

createTime
int createTime

Timestamp of the time when the call invitation was created.

acceptTime

acceptTime
int acceptTime

Time stamp of the person accepting the call invitation.

quitTime

quitTime
int quitTime

The time stamp for me to exit the call.

ZIMCallEndedSentInfo

Information about ending a call invitation.

Details

Information class for the result of ending a call invitation.

Declared in zim_defines.dart

Properties

createTime

createTime
int createTime

Call invites to create a timestamp.

acceptTime

acceptTime
int acceptTime

Time stamp of the person accepting the call invitation.

endTime

endTime
int endTime

Call invitation end time.

ZIMCallInvitationReceivedInfo

Information to accept the call invitation.

Details

Information to accept the call invitation.

Declared in zim_defines.dart

Properties

mode

mode

mode of the call invitation.

timeout

timeout
int timeout

The timeout setting of the call invitation, the unit is seconds.

caller

caller
String caller

The creator of the call invitation is the same as the userID that calls callInvite.

inviter

inviter
String inviter

Inviter ID.

createTime

createTime
int createTime

The event stamp when the call invitation was created on the server, accurate to milliseconds.

callUserList

callUserList
List<ZIMCallUserInfo> callUserList

List of members invited to the call.

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

ZIMCallInvitationCreatedInfo

Information to created the call invitation.

Details

Information to created the call invitation.

Declared in zim_defines.dart

Properties

mode

mode

mode of the call invitation.

caller

caller
String caller

The creator of the call invitation is the same as the userID that calls callInvite.

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

timeout

timeout
int timeout

The timeout setting of the call invitation, the unit is seconds.

createTime

createTime
int createTime

The event stamp when the call invitation was created on the server, accurate to milliseconds.

callUserList

callUserList
List<ZIMCallUserInfo> callUserList

List of members invited to the call.

ZIMCallInvitationCancelledInfo

Cancel the call invitation message.

Details

Cancel the call invitation message.

Declared in zim_defines.dart

Properties

inviter

inviter
String inviter

The inviter ID of the call invitation.

mode

mode

The call invitation mode.

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

ZIMCallInvitationAcceptedInfo

Accept the call invitation message.

Details

Accept the call invitation message.

Declared in zim_defines.dart

Properties

invitee

invitee
String invitee

Invitee ID.

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

ZIMCallInvitationRejectedInfo

Reject the call invitation message.

Details

Reject the call invitation message.

Declared in zim_defines.dart

Properties

invitee

invitee
String invitee

Invitee ID.

extendedData

extendedData
String extendedData

Extended field, through which the inviter can carry information to the invitee.

ZIMCallInvitationEndedInfo

End the call operation information.

Details

End the call operation information.

Declared in zim_defines.dart

Properties

caller

caller
String caller

The calling party of the current call.

operatedUserID

operatedUserID
String operatedUserID

End the call operator.

extendedData

extendedData
String extendedData

The pass-through field that comes with invoking the end of the call.

mode

mode

The mode of the call invitation.

endTime

endTime
int endTime

Time 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 zim_defines.dart

Properties

mode

mode

Call invitation type.

ZIMCallInvitationQueryConfig

Inquiry the setting attribute of the call invitation list.

Details

Inquiry the setting attribute of the call invitation list

Declared in zim_defines.dart

Properties

count

count
int count

The query number is limited to up to 100.

nextFlag

nextFlag
int nextFlag

The flag of the query list.No padding is required for the first query. After the query, callback will return a nextFlag, which can be filled in the next query to continue the query based on the last query.

ZIMCallInfo

Call invitation information.

Details

Call invitation information.

Declared in zim_defines.dart

Properties

callID

callID
String callID

Call invite ID.

caller

caller
String caller

Call invitation initiator ID.

inviter

inviter
String inviter

The inviter ID of the call invitation.

createTime

createTime
int createTime

Call invites to create a timestamp.

endTime

endTime
int endTime

Call invitation end time.

state

state

Call invitation status.

mode

mode

Call invitation mode.

extendedData

extendedData
String extendedData

Create a call invitation additional information.

callUserList

callUserList
List<ZIMCallUserInfo> callUserList

The list of call member.

ZIMCallUserStateChangeInfo

Call member status change information.

Details

Call member status change information.

Declared in zim_defines.dart

Properties

callUserList

callUserList
List<ZIMCallUserInfo> callUserList

List of call members whose status changes.

ZIMBlacklistQueryConfig

Query the blacklist configuration.

Details

Through this configuration, you can set the total number of queries and the pagination query.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

nextFlag.

count

count
int count

count.

ZIMFriendAddConfig

The behavior property of the Add Friend setting.

Details

The behavior property of the Add Friend setting.

Declared in zim_defines.dart

Properties

friendAlias

friendAlias
String friendAlias

Alias of friend.

friendAttributes

friendAttributes
Map<String, String> friendAttributes

Friend attributes. Up to 5 can be set. The key of the attribute can only be selected from k0 to k4.

wording

wording
String wording

Add a friend postscript.

ZIMFriendDeleteConfig

The behavior property of the Delete Friend setting.

Details

The behavior property of the Delete Friend setting.

Declared in zim_defines.dart

Properties

type

type

Delete type.

ZIMFriendListQueryConfig

Query the configuration of the friend list.

Details

Query the configuration of the friend list.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The index of the current query anchor point.

count

count
int count

Total number of current queries.

ZIMFriendSearchConfig

Friend search configuration.

Details

Configuration class for searching friends.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

nextFlag.

count

count
int count

count.

keywords

keywords
List<String> keywords

Search keywords, supports up to 5. Otherwise, an error will occur. For example, if you pass in '1' and '2', the search results will only display conversations that contain both '1' and '2' keywords in the messages.

isAlsoMatchFriendAlias

isAlsoMatchFriendAlias
bool isAlsoMatchFriendAlias

Whether to match friend aliases.

ZIMFriendRelationCheckConfig

Check the behavior properties of friend relationships.

Details

Check the behavior properties of friend relationships.

Declared in zim_defines.dart

Properties

type

type

Check type.

ZIMFriendRelationInfo

Friend relationship information.

Details

Detailed description: Friend relationship information.

Declared in zim_defines.dart

Properties

type

type

Friend relationship type.

userID

userID
String userID

user ID.

ZIMFriendInfo

Friend information.

Details

Detailed description: Friend information.

Declared in zim_defines.dart

Properties

friendAlias

friendAlias
String friendAlias

The alias of friend.

friendAttributes

friendAttributes
Map<String, String> friendAttributes

Friend attributes. Up to 5 can be set. The key of the attribute can only be selected from k0 to k4.

createTime

createTime
int createTime

Friend add time.

wording

wording
String wording

Add a friend postscript.

ZIMFriendApplicationSendConfig

The behavior property of the Send Friend Application setting.

Details

The behavior property of the Send Friend Application setting.

Declared in zim_defines.dart

Properties

wording

wording
String wording

Add a friend postscript.

friendAlias

friendAlias
String friendAlias

Alias of friend.

friendAttributes

friendAttributes
Map<String, String> friendAttributes

Friend attributes. Up to 5 can be set. The key of the attribute can only be selected from k0 to k4.

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMFriendApplicationAcceptConfig

Behavior attributes for accepting friend requests.

Details

Behavior attributes for accepting friend requests.

Declared in zim_defines.dart

Properties

friendAlias

friendAlias
String friendAlias

friend alias.

friendAttributes

friendAttributes
Map<String, String> friendAttributes

friend attributes.

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMFriendApplicationRejectConfig

Behavior attributes for rejecting friend application.

Details

Behavior attributes for rejecting friend application.

Declared in zim_defines.dart

Properties

pushConfig

pushConfig
ZIMPushConfig pushConfig

Offline push configuration.

ZIMFriendApplicationListQueryConfig

Query the configuration of the friend application list.

Details

Query the configuration of the friend application list.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The index of the current query anchor point.

count

count
int count

Total number of current queries.

ZIMFriendApplicationInfo

Friend application information.

Details

Detailed description: Friend application information.

Declared in zim_defines.dart

Properties

type

type

Friend application type.

state

state

Friend application state.

applyUser

applyUser
ZIMUserInfo applyUser

Detail description: If you are the applicant, here is the respondent information; if you are the respondent, here is the applicant information;.

wording

wording
String wording

The wording of friend application information.

createTime

createTime
int createTime

Friend add time.

updateTime

updateTime
int updateTime

Friend application status update time.

ZIMCommunityInfo

Basic community information.

Details

Community basic information class.

Declared in zim_defines.dart

Properties

communityID

communityID
String communityID

The community ID.

communityName

communityName
String communityName

The community name.

communityAvatarUrl

communityAvatarUrl
String communityAvatarUrl

The URL of the community avatar.

ZIMCommunity

Community object.

Details

Community information class, containing basic attributes of a community.

Declared in zim_defines.dart

Properties

baseInfo

baseInfo

The basic information of the community.

totalUnreadMessageCount

totalUnreadMessageCount
int totalUnreadMessageCount

The total unread message count across all channels.

ZIMCommunityFullInfo

Full community information.

Details

Community full information class, containing all attributes of a community.

Declared in zim_defines.dart

Properties

baseInfo

baseInfo

The basic information of the community.

communityNotice

communityNotice
String communityNotice

The community notice.

communityAttributes

communityAttributes
Map<String, String> communityAttributes

The community attributes.

createTime

createTime
int createTime

The time when the community was created.

creatorUserID

creatorUserID
String creatorUserID

The user ID of the community creator.

currentMemberCount

currentMemberCount
int currentMemberCount

The current number of community members.

notificationStatus

notificationStatus

The notification status of the community.

ZIMCommunityCreateConfig

Configuration for creating a community.

Details

Configuration class for creating a community.

Declared in zim_defines.dart

Properties

communityNotice

communityNotice
String communityNotice

The community notice to set when creating the community.

communityAttributes

communityAttributes
Map<String, String> communityAttributes

The community attributes to set when creating the community.

ZIMCommunityListQueryConfig

Configuration for querying the community list.

Details

Configuration class for querying the community list.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The pagination flag for querying the next page.

ZIMCommunityChangeInfo

Community change information

Details

Community change information class, describing changes to community attributes.

Declared in zim_defines.dart

Properties

action

action

Conmmunity change event

community

community
ZIMCommunity community

Changed community

ZIMCommunityMemberListQueryConfig

Community member list query configuration

Details

Configuration class for querying the community member list.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The pagination flag for querying the next page.

channelID

channelID
String channelID

The channel ID to query members from.

isMutedMember

isMutedMember
bool isMutedMember

Whether to query only muted members.

ZIMCommunityFullInfoUpdateInfo

Community full info update information

Details

Community full information update notification class.

Declared in zim_defines.dart

Properties

communityInfo

communityInfo
ZIMCommunityFullInfo communityInfo

Changed community full info

ZIMCommunityMemberEnterInfo

Community member enter information

Details

Information class for a member entering a community.

Declared in zim_defines.dart

Properties

enterTime

enterTime
int enterTime

The time when the member entered the community.

enterType

enterType

The type of how the member entered the community.

operatedUserID

operatedUserID
String operatedUserID

The user ID of the operator (e.g., the inviter).

ZIMCommunityMemberMuteInfo

Community member mute info

Details

Community member mute status information class.

Declared in zim_defines.dart

Properties

muteType

muteType

The mute type indicating which level the member is muted at.

channelID

channelID
String channelID

The channel ID of the mute. Empty means muted at the community level.

muteExpiredTime

muteExpiredTime
int muteExpiredTime

The expiration time of the member's mute.

ZIMCommunityMemberInfo

Community member information

Details

Community member information class.

Declared in zim_defines.dart

Properties

memberRole

memberRole
int memberRole

The role of the community member.

enterInfo

enterInfo

The information about how the member entered the community.

muteInfo

muteInfo

The mute information of the community member.

ZIMCommunityMemberSimpleInfo

Community member simple information

Details

Simple community member information class.

Declared in zim_defines.dart

Properties

memberRole

memberRole
int memberRole

The role of the community member.

ZIMCommunityMemberStateChangeInfo

Community member state info change information

Details

Community member state change information class.

Declared in zim_defines.dart

Properties

state

state

The current state of the community member.

action

action

The action type of the member state change.

memberInfo

memberInfo

Changed community member simple info

ZIMCommunityMemberInfoUpdateInfo

Community member full info update information

Details

Community member information update notification class.

Declared in zim_defines.dart

Properties

memberInfo

memberInfo

Changed community member info

ZIMCommunityChannelInfo

Basic community channel information.

Details

Community channel basic information class.

Declared in zim_defines.dart

Properties

channelID

channelID
String channelID

The channel ID.

channelType

channelType

The type of the community channel.

channelName

channelName
String channelName

The channel name.

channelAvatarUrl

channelAvatarUrl
String channelAvatarUrl

The URL of the channel avatar.

communityID

communityID
String communityID

The ID of the community that the channel belongs to.

ZIMCommunityChannelMuteInfo

Community channel mute info

Details

Community channel mute status information class.

Declared in zim_defines.dart

Properties

mode

mode

The mute mode of the community channel.

expiredTime

expiredTime
int expiredTime

The expiration time of the channel mute.

roles

roles
List<int> roles

The muted roles in the community channel.

ZIMCommunityChannel

Community channel object.

Details

Community channel information class, containing basic attributes of a channel.

Declared in zim_defines.dart

Properties

baseInfo

baseInfo

The basic information of the community channel.

conversationID

conversationID
String conversationID

The conversation ID of the community channel.

channelAttributes

channelAttributes
Map<String, String> channelAttributes

The community channel attributes.

notificationStatus

notificationStatus

The notification status of the community channel.

unreadMessageCount

unreadMessageCount
int unreadMessageCount

The number of unread messages in the community channel.

lastMessage

lastMessage
ZIMMessage lastMessage

The last message in the community channel.

mentionedInfoList

mentionedInfoList
List<ZIMMessageMentionedInfo> mentionedInfoList

The list of mention information in the community channel.

selfMutedExpiredTime

selfMutedExpiredTime
int selfMutedExpiredTime

The expiration time of the local user's mute in the channel.

draft

draft
String draft

The draft message of the community channel.

ZIMCommunityChannelFullInfo

Full community channel information.

Details

Community channel full information class, containing all attributes of a channel.

Declared in zim_defines.dart

Properties

baseInfo

baseInfo

The basic information of the community channel.

createTime

createTime
int createTime

The time when the channel was created.

creatorUserID

creatorUserID
String creatorUserID

The user ID of the channel creator.

channelNotice

channelNotice
String channelNotice

The community channel notice.

channelAttributes

channelAttributes
Map<String, String> channelAttributes

The community channel attributes.

currentMemberCount

currentMemberCount
int currentMemberCount

The current number of channel members.

muteInfo

muteInfo

The mute information of the community channel.

ZIMCommunityChannelCreateConfig

Configuration for creating a community channel.

Details

Configuration class for creating a community channel.

Declared in zim_defines.dart

Properties

channelNotice

channelNotice
String channelNotice

The channel notice to set when creating the channel.

channelAttributes

channelAttributes
Map<String, String> channelAttributes

The channel attributes to set when creating the channel.

ZIMCommunityChannelListQueryConfig

Configuration for querying the community channel list.

Details

Configuration class for querying the community channel list.

Declared in zim_defines.dart

Properties

nextFlag

nextFlag
int nextFlag

The pagination flag for querying the next page.

ZIMCommunityChannelChangeInfo

Community channel change information.

Details

Community channel change information class, describing changes to channel attributes.

Declared in zim_defines.dart

Properties

action

action

The action type of the channel list change.

channel

channel

The changed community channel information.

ZIMCommunityChannelFullInfoUpdateInfo

Community channel full info update information

Details

Community channel full information update notification class.

Declared in zim_defines.dart

Properties

channelInfo

channelInfo

Changed community channel full info

ZIMCommunityChannelMuteConfig

Community channel mute configuration

Details

Configuration class for muting a community channel.

Declared in zim_defines.dart

Properties

mode

mode

The mute mode for the community channel.

roles

roles
List<int> roles

The roles to mute. Empty means muting all roles.

duration

duration
int duration

The mute duration in seconds. 0 means unmute.

ZIMCommunityMemberMuteConfig

Community channel mute configuration

Details

Configuration class for muting community members.

Declared in zim_defines.dart

Properties

duration

duration
int duration

The mute duration in seconds. 0 means unmute.

channelID

channelID
String channelID

The channel ID. Leave empty to mute at the community level.

ZIMMessageReactionsChangedEventResult

The callback of the reactions change.

Declared in zim_defines.dart

Properties

reactions

reactions
List<ZIMMessageReaction> reactions

Message reaction change info list

changeInfoList

changeInfoList
List<ZIMMessageReactionChangeInfo> changeInfoList

Message reaction change info list

ZIMMessageReceivedEventResult

Triggered when messages are received.

Declared in zim_defines.dart

Properties

messageList

messageList
List<ZIMMessage> messageList

message list

receivedInfo

receivedInfo

Message received info

ZIMCommunityListChangedEventResult

Triggered when the community list changes.

Declared in zim_defines.dart

Properties

changeInfoList

changeInfoList
List<ZIMCommunityChangeInfo> changeInfoList

List of community change information.

ZIMCommunityInfoUpdatedEventResult

Triggered when community information is updated.

Declared in zim_defines.dart

Properties

updateInfoList

updateInfoList
List<ZIMCommunityFullInfoUpdateInfo> updateInfoList

List of community information updates.

ZIMCommunityMemberStateChangedEventResult

Triggered when a community member's state changes.

Declared in zim_defines.dart

Properties

communityID

communityID
String communityID

Community ID.

changeInfoList

changeInfoList

List of community member state changes.

ZIMCommunityMemberInfoUpdatedEventResult

Triggered when community member information is updated.

Declared in zim_defines.dart

Properties

communityID

communityID
String communityID

Community ID.

updateInfoList

updateInfoList

List of community member information updates.

ZIMCommunityChannelListChangedEventResult

Triggered when the community channel list changes.

Declared in zim_defines.dart

Properties

communityID

communityID
String communityID

Community ID.

changeInfoList

changeInfoList
List<ZIMCommunityChannelChangeInfo> changeInfoList

List of community channel changes.

ZIMCommunityChannelInfoUpdatedEventResult

Triggered when community channel information is updated.

Declared in zim_defines.dart

Properties

communityID

communityID
String communityID

Community ID.

updateInfoList

updateInfoList

List of community channel information updates.

ZIMLogUploadedResult

Callback of the log upload result.

ZIMLoggedInResult

Callback of the login result.

Details

After the developer login, execute the callback of the result.

  • Use cases:Developers can use the [errorCode] in the callback to determine whether the login is successful.
  • Triggered when:When the developer calls the [login] interface, the callback will be triggered.

ZIMTokenRenewedResult

Callback of the result of renewing the token.

Properties

token

token
String token

The renewed token.

ZIMUserNameUpdatedResult

Update the user name callback.

Properties

userName

userName
String userName

The updated user name.

ZIMUserAvatarUrlUpdatedResult

Callback for updating the user avatar URL.

Properties

userAvatarUrl

userAvatarUrl
String userAvatarUrl

The updated user avatar URL.

ZIMUserExtendedDataUpdatedResult

Update the user extended data callback.

Properties

extendedData

extendedData
String extendedData

The updated user extended data.

ZIMUserCustomStatusUpdatedResult

The callback of the custom status update.

Properties

customStatus

customStatus
String customStatus

The updated user custom status.

ZIMUsersInfoQueriedResult

Query the userInfo callback.

Properties

userList

userList
List<ZIMUserFullInfo> userList

The queried user information list.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

The list of user IDs that failed to be queried.

ZIMUserOfflinePushRuleUpdatedResult

Update the result callback of the user offline push rule.

Properties

offlinePushRule

offlinePushRule
ZIMUserOfflinePushRule offlinePushRule

The updated user offline push rule.

ZIMSelfUserInfoQueriedResult

Callback result of querying personal user information and rules.

Properties

selfUserInfo

selfUserInfo
ZIMSelfUserInfo selfUserInfo

The current user information and rules.

ZIMUsersStatusQueriedResult

Result callback of the queryUsersStatus interface for batch querying user online status.

Properties

userStatusList

userStatusList
List<ZIMUserStatus> userStatusList

The queried user status list.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

The list of user IDs that failed to be queried.

ZIMUsersStatusSubscribedResult

Callback for the operation results of the batch subscription interface.

Properties

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

The list of user IDs that failed to subscribe.

ZIMUsersStatusUnsubscribedResult

Callback for canceling the operations of subscribing interfaces in a batch.

Properties

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

The list of user IDs that failed to unsubscribe.

ZIMSubscribedUserStatusListQueriedResult

Query for the current user subscription list operation results callback.

Properties

userStatusSubscriptionList

userStatusSubscriptionList
List<ZIMUserStatusSubscription> userStatusSubscriptionList

The user status subscription list.

ZIMConversationQueriedResult

Conversation query callback.

Properties

conversation

conversation
ZIMConversation conversation

The queried conversation object.

ZIMConversationListQueriedResult

Session list query callback.

Properties

conversationList

conversationList
List<ZIMConversation> conversationList

The queried conversation list.

ZIMConversationTotalUnreadMessageCountQueriedResult

Query conversation unread total count callback.

Properties

unreadMessageCount

unreadMessageCount
int unreadMessageCount

The total count of unread messages across all conversations.

ZIMConversationDeletedResult

Callback for conversation deletion.

Properties

conversationID

conversationID
String conversationID

The ID of the deleted conversation.

conversationType

conversationType
ZIMConversationType conversationType

The type of the deleted conversation.

ZIMConversationsAllDeletedResult

Callback for conversations deletion.

ZIMConversationUnreadMessageCountClearedResult

Callback for session unread clearing.

Properties

conversationID

conversationID
String conversationID

The conversation ID whose unread message count was cleared.

conversationType

conversationType
ZIMConversationType conversationType

The conversation type whose unread message count was cleared.

ZIMConversationTotalUnreadMessageCountClearedResult

Callback for sessions unread clearing.

ZIMConversationNotificationStatusSetResult

Callback for conversation notification state settings.

Properties

conversationID

conversationID
String conversationID

The conversation ID for which the notification status was set.

conversationType

conversationType
ZIMConversationType conversationType

The conversation type for which the notification status was set.

ZIMConversationMessageReceiptReadSentResult

Callback interface for setting the read receipt conversation.

Properties

conversationID

conversationID
String conversationID

The conversation ID for which the receipt was sent.

conversationType

conversationType
ZIMConversationType conversationType

The conversation type for which the receipt was sent.

ZIMConversationPinnedStateUpdatedResult

Callback for conversation pinned state updated.

Properties

conversationID

conversationID
String conversationID

The conversation ID whose pinned state was updated.

conversationType

conversationType
ZIMConversationType conversationType

The conversation type whose pinned state was updated.

ZIMConversationPinnedListQueriedResult

Callback for querying the pinned conversation list.

Properties

conversationList

conversationList
List<ZIMConversation> conversationList

The queried pinned conversation list.

ZIMConversationDraftSetResult

Sets the callback for the session draft.

Properties

conversationID

conversationID
String conversationID

The conversation ID for which the draft was set.

conversationType

conversationType
ZIMConversationType conversationType

The conversation type for which the draft was set.

ZIMConversationMarkSetResult

Callback for conversation mark set.

Properties

failedConversationInfos

failedConversationInfos
List<ZIMConversationBaseInfo> failedConversationInfos

The list of conversation info objects that failed to have marks set.

ZIMConversationMessageDestructDurationSetResult

Callback for the result of setting the message self-destruction duration in a conversation.

Properties

conversationID

conversationID
String conversationID

The ID of the conversation for which the setting was applied.

conversationType

conversationType
ZIMConversationType conversationType

The type of the conversation for which the setting was applied.

ZIMConversationsSearchedResult

Search for the return of local conversations results based on local messages.

Properties

conversationSearchInfoList

conversationSearchInfoList
List<ZIMConversationSearchInfo> conversationSearchInfoList

The list of searched conversation results.

nextFlag

nextFlag
int nextFlag

Anchor for the next page query.

ZIMMessageSentResult

Callback of the result of sending the message.

Properties

message

message
ZIMMessage message

Message object.

ZIMMessageAttachedCallback

The incoming message object is given a localMessgeID and returned.

Properties

message

message
ZIMMessage message

Message object.

ZIMMediaUploadingProgress

Progress callback for sending media messages.

Properties

message

message

Media message object.

currentFileSize

currentFileSize
int currentFileSize

Current file size.

totalFileSize

totalFileSize
int totalFileSize

Total file size.

ZIMMultipleMediaUploadingProgress

Callback for multiple media file upload progress.

Properties

message

message

Multiple media message object.

currentFileSize

currentFileSize
int currentFileSize

Current file size.

totalFileSize

totalFileSize
int totalFileSize

Total file size.

messageInfoIndex

messageInfoIndex
int messageInfoIndex

Current message index.

currentIndexFileSize

currentIndexFileSize
int currentIndexFileSize

Current index file size.

totalIndexFileSize

totalIndexFileSize
int totalIndexFileSize

Total index file size.

ZIMMessageQueriedResult

The developer uses this callback to get a list of queried messages, which can be used to display historical messages.

Properties

conversationID

conversationID
String conversationID

Conversation ID.

conversationType

conversationType
ZIMConversationType conversationType

Conversation type.

messageList

messageList
List<ZIMMessage> messageList

Message list.

ZIMMessageDeletedResult

A callback to delete a message.

Properties

conversationID

conversationID
String conversationID

Conversation ID.

conversationType

conversationType
ZIMConversationType conversationType

Conversation type.

ZIMConversationMessagesAllDeletedResult

Deletes callbacks of all messages for all sessions.

ZIMMessageRevokedResult

Retracted news consequential reconciliation.

Properties

message

message
ZIMMessage message

Message object.

ZIMMessageInsertedResult

Callback of the result of inserting the message.

Properties

message

message
ZIMMessage message

Message object.

ZIMMessageLocalExtendedDataUpdatedResult

Callback for updating message local extension fields.

Properties

message

message
ZIMMessage message

Message object.

ZIMMessageReceiptsReadSentResult

Callback interface for setting the read receipt message.

Properties

conversationID

conversationID
String conversationID

Conversation ID.

conversationType

conversationType
ZIMConversationType conversationType

Conversation type.

errorMessageIDs

errorMessageIDs
List<dynamic> errorMessageIDs

Error message ID list.

ZIMMessageReceiptsInfoQueriedResult

Callback interface for query receipt message read.

Properties

infos

infos

Message receipt information list.

errorMessageIDs

errorMessageIDs
List<dynamic> errorMessageIDs

Error message ID list.

ZIMMediaDownloadedResult

The result callback of the download completion of the media message.

Properties

message

message
ZIMMessage message

Message object.

ZIMMediaDownloadingProgress

Progress callback for downloading media messages.

Properties

message

message
ZIMMessage message

Message object.

currentFileSize

currentFileSize
int currentFileSize

Current file size.

totalFileSize

totalFileSize
int totalFileSize

Total file size.

ZIMMessagesSearchedResult

Return of local message search results.

Properties

conversationID

conversationID
String conversationID

Conversation ID.

conversationType

conversationType
ZIMConversationType conversationType

Conversation type.

messageList

messageList
List<ZIMMessage> messageList

Message list.

nextMessage

nextMessage
ZIMMessage nextMessage

Next message object.

ZIMMessagesGlobalSearchedResult

Return of local message search results.

Properties

messageList

messageList
List<ZIMMessage> messageList

Message list.

nextMessage

nextMessage
ZIMMessage nextMessage

Next message object.

ZIMMessageReactionAddedResult

The addition of return for message reactions.

Properties

reaction

reaction

Message reaction object.

ZIMMessageReactionDeletedResult

The delete of return for message reactions.

Properties

reaction

reaction

Message reaction object.

ZIMMessageReactionUserListQueriedResult

The return of the query for the details of the reaction.

Properties

message

message
ZIMMessage message

Message object.

userInfoList

userInfoList

List of user reaction information.

reactionType

reactionType
String reactionType

Message reaction type.

nextFlag

nextFlag
int nextFlag

List query anchor, used to query the next page. The current value returns 0, which means that the list has been pulled out.

totalCount

totalCount
int totalCount

Total user count.

userList

userList

ZIMCombineMessageDetailQueriedResult

Result callback for querying merge message details.

Properties

message

message

Combine message object. The messageList in this object already contains the sub-message list of the merged message.

ZIMMessageRepliedListQueriedResult

The callback for querying the reply message list result.

Properties

messageList

messageList
List<ZIMMessage> messageList

Message list.

nextFlag

nextFlag
int nextFlag

List query anchor, used to query the next page. The current value returns 0, which means that the list has been pulled out.

rootRepliedInfo

rootRepliedInfo

Root message reply information.

ZIMMessageEditedResult

Callback of the result of editing the message.

Properties

message

message
ZIMMessage message

Message object.

ZIMSendingMessageCancelledResult

Callback of the result of cancel sending the message.

ZIMMessagePinnedResult

Callback of the result of the message to be pinned or unpinned.

ZIMPinnedMessageListQueriedResult

The developer uses this callback to get a list of queried pinned messages, which can be used to display pinned messages.

Properties

messageList

messageList
List<ZIMMessage> messageList

Message list.

ZIMMessageExportingProgress

Progress callback of the exported message.

Properties

exportedMessageCount

exportedMessageCount
int exportedMessageCount

The number of exported messages.

totalMessageCount

totalMessageCount
int totalMessageCount

The total number of messages.

ZIMFileCacheQueriedResult

Callback for querying the results of the local cache.

Properties

fileCacheInfo

fileCacheInfo
ZIMFileCacheInfo fileCacheInfo

File cache information.

ZIMFileCacheClearedResult

Clears the callback of the local cache result.

ZIMRoomCreatedResult

Callback of the result of creating the room.

Properties

roomInfo

roomInfo

Room information.

ZIMRoomJoinedResult

Callback of the result of joining the room.

Properties

roomInfo

roomInfo

Room information.

ZIMRoomEnteredResult

Callback of the result of entering the room.

Properties

roomInfo

roomInfo

Room information.

ZIMRoomSwitchedResult

Callback of the result of switched rooms.

Properties

roomInfo

roomInfo

Room information.

ZIMRoomLeftResult

Callback of the result of leaving the room.

Properties

roomID

roomID
String roomID

Room ID.

ZIMRoomAllLeftResult

Callback for the results of leaving all rooms.

Properties

roomIDs

roomIDs
List<String> roomIDs

Room ID list.

ZIMRoomMemberQueriedResult

Callback of the result of querying the room members list.

Properties

roomID

roomID
String roomID

Room ID.

memberList

memberList
List<ZIMUserInfo> memberList

Room member list.

nextFlag

nextFlag
String nextFlag

Used to query the next page. The current value returns an empty string, which means that the list has been pulled out.

ZIMRoomMembersQueriedResult

Callback for the result of querying the specified member of the room.

Properties

roomID

roomID
String roomID

Room ID.

memberList

memberList
List<ZIMRoomMemberInfo> memberList

Room member list.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Error member list.

ZIMRoomOnlineMemberCountQueriedResult

Callback of the result of querying the online members count in the room.

Properties

roomID

roomID
String roomID

Room ID.

count

count
int count

Online member count.

ZIMRoomAttributesOperatedResult

The return of the operation result of the room attribute.

Properties

roomID

roomID
String roomID

Room ID.

errorKeys

errorKeys
List<String> errorKeys

Error key list.

ZIMRoomAttributesBatchOperatedResult

The return of the result of the room attribute combination operation.

Properties

roomID

roomID
String roomID

Room ID.

ZIMRoomAttributesQueriedResult

Return of room attribute query results.

Properties

roomID

roomID
String roomID

Room ID.

roomAttributes

roomAttributes
Map<String, String> roomAttributes

Room attributes.

ZIMRoomMembersAttributesOperatedResult

Callback of the result of setting room member attributes.

Properties

roomID

roomID
String roomID

Room ID.

infos

infos

Room member attribute operation information list.

errorUserList

errorUserList
List<String> errorUserList

Error member list.

ZIMRoomMembersAttributesQueriedResult

Returns the results of batch query of room user attributes.

Properties

roomID

roomID
String roomID

Room ID.

infos

infos

Room member attribute information list.

ZIMRoomMemberAttributesListQueriedResult

Returns the query result of the user attribute list in the room.

Properties

roomID

roomID
String roomID

Room ID.

infos

infos

Room member attribute information list.

nextFlag

nextFlag
String nextFlag

Used to query the next page. The current value returns 0, which means that the list has been pulled out.

ZIMGroupCreatedResult

Returns the result of creating a group.

Properties

groupInfo

groupInfo

Group information.

userList

userList
List<ZIMGroupMemberInfo> userList

Group member information list.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Error member list.

ZIMGroupDismissedResult

Returns the result of dismissing the group.

Properties

groupID

groupID
String groupID

Group ID.

ZIMGroupJoinedResult

Returns the result of joining the group.

Properties

groupInfo

groupInfo

Group information.

ZIMGroupLeftResult

Return of the result of leaving the group.

Properties

groupID

groupID
String groupID

Group ID.

ZIMGroupUsersInvitedResult

The result of the user being invited to the group is returned.

Properties

groupID

groupID
String groupID

Group ID.

userList

userList
List<ZIMGroupMemberInfo> userList

Group member information list.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Error member list.

ZIMGroupMemberKickedResult

Returns the result of kicking out a group member.

Properties

groupID

groupID
String groupID

Group ID.

kickedUserIDList

kickedUserIDList
List<String> kickedUserIDList

List of user IDs kicked out.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Error member list.

ZIMGroupOwnerTransferredResult

Returns the result of the group owner assignment.

Properties

groupID

groupID
String groupID

Group ID.

toUserID

toUserID
String toUserID

New group owner user ID.

ZIMGroupNameUpdatedResult

Returns the result of the group name update.

Properties

groupID

groupID
String groupID

Group ID.

groupName

groupName
String groupName

Group name.

ZIMGroupAvatarUrlUpdatedResult

Returns the result of the group avatar URL update.

Properties

groupID

groupID
String groupID

Group ID.

groupAvatarUrl

groupAvatarUrl
String groupAvatarUrl

Group avatar URL.

ZIMGroupNoticeUpdatedResult

The return of the results of the group announcement update.

Properties

groupID

groupID
String groupID

Group ID.

groupNotice

groupNotice
String groupNotice

Group notice.

ZIMGroupAliasUpdatedResult

Returns the result of the group alias update.

Properties

groupID

groupID
String groupID

Group ID.

groupAlias

groupAlias
String groupAlias

Group alias.

ZIMGroupInfoQueriedResult

Returns the result of querying group information.

Properties

groupInfo

groupInfo

Group information.

ZIMGroupAttributesOperatedResult

Returns the result of a group attribute operation.

Properties

groupID

groupID
String groupID

Group ID.

errorKeys

errorKeys
List<String> errorKeys

Error keys.

ZIMGroupAttributesQueriedResult

The return of query group attribute results.

Properties

groupID

groupID
String groupID

Group ID.

groupAttributes

groupAttributes
Map<String, String> groupAttributes

Group attributes.

ZIMGroupMemberRoleUpdatedResult

Returns the result of the member role update.

Properties

groupID

groupID
String groupID

Group ID.

forUserID

forUserID
String forUserID

User ID.

role

role
ZIMGroupMemberRole role

User role.

ZIMGroupMemberNicknameUpdatedResult

Returns the result of the group member's nickname update.

Properties

groupID

groupID
String groupID

Group ID.

forUserID

forUserID
String forUserID

User ID.

nickname

nickname
String nickname

User nickname.

ZIMGroupMemberInfoQueriedResult

Returns the result of the group member query.

Properties

groupID

groupID
String groupID

Group ID.

userInfo

userInfo

Group member user information.

ZIMGroupListQueriedResult

Returns the results of the query group list.

Properties

groupList

groupList
List<ZIMGroup> groupList

Group list.

nextFlag

nextFlag
int nextFlag

The pagination anchor returned by the SDK is 0 if it means the list has been completely queried, and non-0 if it means there is still data to be queried.

ZIMGroupMemberListQueriedResult

Returns the result of querying the group member list.

Properties

groupID

groupID
String groupID

Group ID.

userList

userList
List<ZIMGroupMemberInfo> userList

Group member list.

nextFlag

nextFlag
int nextFlag

Used to query the next page. The current value returns 0, which means that the list has been pulled out.

ZIMGroupMemberCountQueriedResult

Returns the result of querying the group member count.

Properties

groupID

groupID
String groupID

Group ID.

count

count
int count

Group member count.

ZIMGroupMessageReceiptMemberListQueriedResult

Callback interface for querying the specific read/unread member list of group receipt messages.

Properties

groupID

groupID
String groupID

Group ID.

userList

userList
List<ZIMGroupMemberInfo> userList

Group member list.

nextFlag

nextFlag
int nextFlag

Used to query the next page. The current value returns 0, which means that the list has been pulled out.

ZIMGroupMutedResult

Returns the result of the group mute info update.

Properties

groupID

groupID
String groupID

Group ID.

isMute

isMute
bool isMute

Whether to mute.

mutedInfo

mutedInfo

Group mute information.

ZIMGroupMembersMutedResult

Returns the result of the group members mute info update.

Properties

groupID

groupID
String groupID

Group ID.

isMute

isMute
bool isMute

Whether to mute.

duration

duration
int duration

Mute duration.

mutedUserIDs

mutedUserIDs
List<String> mutedUserIDs

List of muted member userIDs.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

List of user information that failed to be muted.

ZIMGroupMemberMutedListQueriedResult

Returns the result of querying the group muted member list.

Properties

groupID

groupID
String groupID

Group ID.

nextFlag

nextFlag
int nextFlag

Used to query the next page. The current value returns 0, which means that the list has been pulled out.

userList

userList
List<ZIMGroupMemberInfo> userList

Group member list.

ZIMGroupsSearchedResult

Returns the result of search a group.

Properties

groupSearchInfoList

groupSearchInfoList
List<ZIMGroupSearchInfo> groupSearchInfoList

Group search information list.

nextFlag

nextFlag
int nextFlag

Used to query the next page. The current value returns 0, which means that the list has been pulled out.

ZIMGroupMembersSearchedResult

Returns the result of search a group members.

Properties

groupID

groupID
String groupID

Group ID.

userList

userList
List<ZIMGroupMemberInfo> userList

Group member list.

nextFlag

nextFlag
int nextFlag

Used to query the next page. The current value returns 0, which means that the list has been pulled out.

ZIMGroupJoinModeUpdatedResult

The return of the results of the group verification mode update.

Properties

groupID

groupID
String groupID

Group ID.

mode

mode

Group join mode.

ZIMGroupInviteModeUpdatedResult

The return of the results of the group verification mode update.

Properties

groupID

groupID
String groupID

Group ID.

mode

mode

Group invite mode.

ZIMGroupBeInviteModeUpdatedResult

The return of the results of the group verification mode update.

Properties

groupID

groupID
String groupID

Group ID.

mode

mode

Group be invite mode.

ZIMGroupJoinApplicationSentResult

The return of the results of the group join application sent.

Properties

groupID

groupID
String groupID

Group ID.

ZIMGroupJoinApplicationAcceptedResult

The return of the results of the group join application accept.

Properties

groupID

groupID
String groupID

Group ID.

userID

userID
String userID

User ID.

ZIMGroupJoinApplicationRejectedResult

The return of the results of the group join application reject.

Properties

groupID

groupID
String groupID

Group ID.

userID

userID
String userID

User ID.

ZIMGroupInviteApplicationsSentResult

The return of the results of the group invite application sent.

Properties

groupID

groupID
String groupID

Group ID.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Invite failed user information list.

ZIMGroupInviteApplicationAcceptedResult

The return of the results of the group invite application accept.

Properties

groupInfo

groupInfo

Group information.

inviterUserID

inviterUserID
String inviterUserID

Inviter user ID.

ZIMGroupInviteApplicationRejectedResult

The return of the results of the group invite application accept.

Properties

groupID

groupID
String groupID

Group information.

inviterUserID

inviterUserID
String inviterUserID

Inviter user ID.

ZIMGroupApplicationListQueriedResult

Query the callback of group application list.

Properties

applicationList

applicationList
List<ZIMGroupApplicationInfo> applicationList

Group application information list.

nextFlag

nextFlag
int nextFlag

Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out.

ZIMCallInvitationSentResult

Action callback for sending a call invitation.

Properties

callID

callID
String callID

Call ID.

info

info

Call invitation information.

ZIMCallingInvitationSentResult

Callback result of inviting the current call.

Properties

callID

callID
String callID

Call ID.

info

info

Calling invitation information.

ZIMCallCancelSentResult

Callback for the action to cancel the call invitation.

Properties

callID

callID
String callID

Call ID.

errorInvitees

errorInvitees
List<String> errorInvitees

Call invitation failed user ID list.

ZIMCallAcceptanceSentResult

Action callback for accepting call invitations.

Properties

callID

callID
String callID

Call ID.

ZIMCallRejectionSentResult

Action callback for rejecting a call invitation.

Properties

callID

callID
String callID

Call ID.

ZIMCallJoinSentResult

Result callback of joining the call invitation.

Properties

callID

callID
String callID

Call ID.

info

info

Call join information.

ZIMCallQuitSentResult

Quit the callback closure of the call invitation operation.

Properties

callID

callID
String callID

Call ID.

info

info

Call quit information.

ZIMCallEndSentResult

Result callback of ending the call invitation.

Properties

callID

callID
String callID

Call ID.

info

info

Call end information.

ZIMCallInvitationListQueriedResult

Result Callback of querying the call list.

Properties

callList

callList
List<ZIMCallInfo> callList

Call information list.

nextFlag

nextFlag
int nextFlag

Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out.

ZIMFriendAddedResult

Add a friend result callback.

Properties

friendInfo

friendInfo
ZIMFriendInfo friendInfo

Friend information.

ZIMFriendsDeletedResult

Return results of deleting friends.

Properties

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Friend information.

ZIMFriendListQueriedResult

The returned result of querying the friends list.

Properties

friendList

friendList
List<ZIMFriendInfo> friendList

Friend information list.

nextFlag

nextFlag
int nextFlag

Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out.

ZIMFriendsInfoQueriedResult

Return results of querying friend information in batches.

Properties

friendInfos

friendInfos
List<ZIMFriendInfo> friendInfos

Friend information list.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Friend information.

ZIMFriendsRelationCheckedResult

Check the friend relationship result.

Properties

relationInfos

relationInfos
List<ZIMFriendRelationInfo> relationInfos

Friend relationship information list.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

Friend information.

ZIMFriendApplicationSentResult

The result of sending a friend application.

Properties

applicationInfo

applicationInfo
ZIMFriendApplicationInfo applicationInfo

Friend application information.

ZIMFriendApplicationAcceptedResult

Accept the returned result of friend application.

Properties

friendInfo

friendInfo
ZIMFriendInfo friendInfo

Friend information.

ZIMFriendApplicationRejectedResult

Accept the returned result of friend application.

Properties

userInfo

userInfo
ZIMUserInfo userInfo

User information.

ZIMFriendApplicationListQueriedResult

The result of sending a friend application.

Properties

applicationList

applicationList
List<ZIMFriendApplicationInfo> applicationList

Friend application information list.

nextFlag

nextFlag
int nextFlag

Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out.

ZIMFriendAliasUpdatedResult

Return results of updating friend alias.

Properties

friendInfo

friendInfo
ZIMFriendInfo friendInfo

Friend information.

ZIMFriendAttributesUpdatedResult

Return results of updating friend attributes.

Properties

friendInfo

friendInfo
ZIMFriendInfo friendInfo

Friend information.

ZIMFriendsSearchedResult

Search results returned by local friends.

Properties

friendInfos

friendInfos
List<ZIMFriendInfo> friendInfos

Friend information list.

nextFlag

nextFlag
int nextFlag

Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out.

ZIMBlacklistUsersAddedResult

Callback for operation results of adding users to the blacklist.

Properties

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

User information.

ZIMBlacklistUsersRemovedResult

The callback result of the operation to remove the user from the blacklist.

Properties

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

User information.

ZIMBlacklistQueriedResult

Query the blacklist result callback.

Properties

blacklist

blacklist
List<ZIMUserInfo> blacklist

Blacklist user information list.

nextFlag

nextFlag
int nextFlag

Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out.

ZIMBlacklistCheckedResult

Blacklist check result callback.

Properties

isUserInBlacklist

isUserInBlacklist
bool isUserInBlacklist

Whether in blacklist.

ZIMCommunityCreatedResult

Callback of the result of creating a community.

Properties

communityInfo

communityInfo
ZIMCommunityFullInfo communityInfo

Community information.

ZIMCommunityDismissedResult

Callback of the result of dismissing a community.

Properties

communityID

communityID
String communityID

Community ID.

ZIMCommunityJoinedResult

Callback of the result of joining a community.

Properties

communityInfo

communityInfo
ZIMCommunityFullInfo communityInfo

Community information.

ZIMCommunityLeftResult

Callback of the result of leaving a community.

Properties

communityID

communityID
String communityID

Community ID.

ZIMCommunityListQueriedResult

Callback of the result of querying the community list.

Properties

communityList

communityList
List<ZIMCommunity> communityList

Community list.

nextFlag

nextFlag
int nextFlag

Next query community list flag.

ZIMCommunityNameUpdatedResult

Callback of the result of updating the community name.

Properties

communityID

communityID
String communityID

Community ID.

communityName

communityName
String communityName

Community name.

ZIMCommunityAvatarUrlUpdatedResult

Callback of the result of updating the community avatar URL.

Properties

communityID

communityID
String communityID

Community ID.

communityAvatarUrl

communityAvatarUrl
String communityAvatarUrl

Community avatar URL.

ZIMCommunityNoticeUpdatedResult

Callback of the result of updating the community notice.

Properties

communityID

communityID
String communityID

Community ID.

communityNotice

communityNotice
String communityNotice

Community notice.

ZIMCommunityAttributesOperatedResult

Callback of the result of operating community attributes.

Properties

communityID

communityID
String communityID

Community ID.

errorKeys

errorKeys
List<String> errorKeys

Error keys.

ZIMCommunityNotificationStatusSetResult

Callback of the result of setting the community notification status.

Properties

communityID

communityID
String communityID

Community ID.

ZIMCommunityInfoQueriedResult

Callback of the result of querying community information.

Properties

communityInfo

communityInfo
ZIMCommunityFullInfo communityInfo

Community information.

ZIMCommunityUsersInvitedResult

Callback of the result of inviting users into the community.

Properties

communityID

communityID
String communityID

Community ID.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

The error userID list

ZIMCommunityMembersKickedResult

Callback of the result of kicking members from the community.

Properties

communityID

communityID
String communityID

Community ID.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

The error userID list

ZIMCommunityMemberRoleUpdatedResult

Callback of the result of updating a community member's role.

Properties

communityID

communityID
String communityID

Community ID.

forUserID

forUserID
String forUserID

The user ID of the target user.

memberRole

memberRole
int memberRole

member role value

ZIMCommunityOwnerTransferredResult

Callback of the result of transferring the community owner.

Properties

communityID

communityID
String communityID

Community ID.

toUserID

toUserID
String toUserID

The user ID of the new community owner.

ZIMCommunityMemberListQueriedResult

Callback of the result of querying the community member list.

Properties

communityID

communityID
String communityID

Community ID.

memberList

memberList
List<ZIMCommunityMemberInfo> memberList

Community member list.

nextFlag

nextFlag
int nextFlag

Anchor for the next community member list query.

ZIMCommunityMembersQueriedResult

Callback of the result of querying specific community members.

Properties

communityID

communityID
String communityID

Community ID.

memberList

memberList
List<ZIMCommunityMemberInfo> memberList

List of queried community members.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

List of users that failed to be queried.

ZIMCommunityChannelCreatedResult

Callback of the result of creating a community channel.

Properties

channelInfo

channelInfo

Community channel information.

ZIMCommunityChannelDismissedResult

Callback of the result of dismissing a community channel.

Properties

communityID

communityID
String communityID

Community ID.

channelID

channelID
String channelID

Community channel ID

ZIMCommunityChannelNameUpdatedResult

Callback of the result of updating the community channel name.

Properties

communityID

communityID
String communityID

Community ID.

channelID

channelID
String channelID

Community channel ID

channelName

channelName
String channelName

Community channel name.

ZIMCommunityChannelAvatarUrlUpdatedResult

Callback of the result of updating the community channel avatar URL.

Properties

communityID

communityID
String communityID

Community ID.

channelID

channelID
String channelID

Community channel ID

channelAvatarUrl

channelAvatarUrl
String channelAvatarUrl

Community avatar URL.

ZIMCommunityChannelNoticeUpdatedResult

Callback of the result of updating the community channel notice.

Properties

communityID

communityID
String communityID

Community ID.

channelID

channelID
String channelID

Community channel ID

channelNotice

channelNotice
String channelNotice

Community channel notice.

ZIMCommunityChannelAttributesOperatedResult

Callback of the result of operating community channel attributes.

Properties

communityID

communityID
String communityID

Community ID.

channelID

channelID
String channelID

Community channel ID.

errorKeys

errorKeys
List<String> errorKeys

Error keys.

ZIMCommunityChannelsInfoQueriedResult

Callback of the result of querying community channel information.

Properties

communityID

communityID
String communityID

Community ID.

channelInfos

channelInfos
List<ZIMCommunityChannelFullInfo> channelInfos

List of queried community channels.

errorChannelIDs

errorChannelIDs
List<String> errorChannelIDs

List of channel IDs that failed to be queried.

ZIMCommunityChannelListQueriedResult

Callback of the result of querying the community channel list.

Properties

communityID

communityID
String communityID

Community ID.

channelList

channelList
List<ZIMCommunityChannel> channelList

Community channel list.

nextFlag

nextFlag
int nextFlag

Anchor for the next channel list query.

ZIMCommunityMembersMutedResult

Callback of the result of muting community members.

Properties

communityID

communityID
String communityID

Community ID.

channelID

channelID
String channelID

The channel ID. Empty means muted at the community level.

isMute

isMute
bool isMute

Whether to mute the members.

errorUserList

errorUserList
List<ZIMErrorUserInfo> errorUserList

List of users that failed to be muted.

ZIMCommunityChannelsMutedResult

Callback of the result of muting community channels.

Properties

communityID

communityID
String communityID

Community ID.

isMute

isMute
bool isMute

Whether to mute the channels.

errorChannelIDs

errorChannelIDs
List<String> errorChannelIDs

List of channel IDs that failed to be muted.

ZIMGroupMemberRole

Group member role

Declared in zim_defines.dart

Properties

owner

owner
static const int owner = 1

Group Owner.

admin

admin
static const int admin = 2

Group Admin.

member

member
static const int member = 3

Group Member.

ZIMGroupDataFlag

The flag type for group data fields.

Declared in zim_defines.dart

Properties

name

name
static const int name = 1

Group name data flag.

notice

notice
static const int notice = 2

Group notice data flag.

avatarUrl

avatarUrl
static const int avatarUrl = 4

Group avatar URL data flag.

ZIMGeofencingArea

Geofencing Area

Declared in zim_defines.dart

Properties

CN

CN
static const int CN = 2

China

NA

NA
static const int NA = 3

North America

EU

EU
static const int EU = 4

Europe

AS

AS
static const int AS = 5

Asia

IN

IN
static const int IN = 6

India

ZIMCommunityMemberRole

Community member role

Declared in zim_defines.dart

Properties

owner

owner
static const int owner = 1

Community Owner.

admin

admin
static const int admin = 2

Community Admin.

member

member
static const int member = 3

Community Member.

Previous

Class

Next

Enum

On this page

Back to top