en
The message is only allowed to be one-way deleted in one-to-one chat and group chat (normal group). One-way deletion is not allowed in super groups.
en
Fields related to threaded messages
Here is an example of a message that has been replied to many times: replyMsg of message C1 is message B1, and threadMsg of message C1 is message A
message A
| message B1 message B2
|
message C1
locale
time: number
multi_lang_tag
locale
cn
消息发送成功的时间戳(单位毫秒)
locale
locale
en
Timestamp when the message was sent successfully (unit: milliseconds)
If lastMsg is undefined, it may have never received or sent messages and the conversation is incomplete. The sdk will filter out this session and will not call back to the upper developers
If lastMsg is null, the message is recalled or the historical messages of this conversation are cleared.
Group related: such as teamInvite, rejectTeamInvite, applyTeam...
Friend related: such as applyFriend, passFriendApply, rejectFriendApply....
Recalled message, custom system notifications, etc.
locale
TMsgScene
TMsgScene:keyof typeof EMsgScene
TTransferTeamResult
TTransferTeamResult:{ from: { account: string; id: string; type: TeamMemberType; updateTime: number }; team: Team; to: { account: string; id: string; type: TeamMemberType; updateTime: number } }
en
Invitee verification mode (only available for the advanced group)
noVerify: Verification not required.
needVerify: After a group member invites a person to join the group, the person need to be verified by the group member before the person can join the group.
en
Group joining method; only advanced groups have this attribute, normal groups (discussion groups) do not have this attribute
noVerify: Verification not required.
needVerify: Verification is required before a person joins the group.
rejectAll: rejects others to join the group.
locale
level: number
multi_lang_tag
locale
cn
群人数上限
locale
locale
en
Maximum group size
locale
memberNum: number
multi_lang_tag
locale
cn
群成员数量
locale
locale
en
Number of group members
locale
memberUpdateTime: number
multi_lang_tag
locale
cn
群成员最后更新时间戳
locale
locale
en
Timestamp of the last update of group member
locale
mute: boolean
deprecated
Use {@link Team.muteType} instead.
multi_lang_tag
locale
cn
是否禁言, 禁言状态下普通成员不能发送消息, 创建者和管理员可以发送消息
locale
locale
en
Whether to mute the group. If a group is muted, only group owners and admins can send messages.
locale
muteType: string
multi_lang_tag
locale
cn
禁言模式
none: 都不禁言;
normal: 普通成员禁言,即普通成员不能发消息;
all: 全体禁言,即所有成员均不能发消息禁言模式,包含群主
locale
locale
en
Mute mode
none: all members are unmuted.
normal: ordinary members are muted. In other words, ordinary members cannot send messages.
all: all members are muted. In other words, all members cannot send messages, including the group leader.
normal: normal group (discussion group)
advanced: advanced group
Note: Normal group has no attributes including group introduction, group announcement, group joining method, invitee verification mode, group invitation mode, group information modification permission, and the permission for modifying group information custom field.
locale
updateExtMode: TeamUpdateExtMode
multi_lang_tag
locale
cn
群信息自定义字段修改权限, 仅限高级群
manager 管理员
all 所有人
locale
locale
en
Permission for modifying group information custom field (only available for advanced groups)
manager: only group admins can modify group information custom field.
all: all members can modify group information custom field.
locale
updateTeamMode: TeamUpdateTeamMode
multi_lang_tag
locale
cn
群信息修改权限, 仅限高级群
manager 管理员。仅限管理员可以修改群信息
all 所有人
locale
locale
en
Group information modification permission (only available for advanced groups)
manager: only group admins can modify group information
all: all members can modify group information.
locale
updateTime: number
multi_lang_tag
locale
cn
群最后更新时间戳
locale
locale
en
Timestamp of the last update of the group
locale
valid: boolean
multi_lang_tag
locale
cn
是否有效, 解散后该群无效
locale
locale
en
Whether it is valid or not, the group will be invalid after disbanding
locale
validToCurrentUser: boolean
multi_lang_tag
locale
cn
该群是否对当前用户有效, 如果无效, 那么说明被踢了
locale
locale
en
Whether the group is valid for the current user, if it is invalid, it means that the current user has been kicked
en
When a person is invited to a normal group, the status of the invited person is inactivated. For a person in this status, the group in invisible. When someone chats in the group, the status of the invited person automatically turns activated, and then the invited person can see the group.
locale
Optional bitConfigMask?: number
multi_lang_tag
locale
cn
提醒策略
0 开启提醒
1 关闭消息提醒
2 只接受管理员的消息的提醒
locale
locale
en
Notification strategy
0: enable notification
1: disable notification
2: only notify group members of messages sent from group admins
en
Whether to mute notifications of messages of this group; “true” means to mute; if muted, the SDK still receives messages of this group, the SDK just records this mute setting. So you should determine what the corresponding UI display should be like.
en
When isAdd is set to true, the account will be added to the blocklist or list of muted members.
If a user is added to the blacklist, you will no longer receive messages from this user.
When isAdd is false, the account will be removed from the blacklist or mute list.
If a user is removed from the blacklist, you can receive messages from this user.
cn 邀请者的 accountId
en accountId of the inviter