Type aliases
NIMMessageAIConfig
NIMMessageAIConfig: { accountId: string; aiStatus?: number }
Type declaration
accountId: string
Optional aiStatus?: number
NIMMessageAIConfigParams
Type declaration
accountId: string
Optional promptVariables?: string
NIMMsgAttachAcceptTeamInvite
Type declaration
account: string
type: "acceptTeamInvite" | "acceptSuperTeamInvite"
NIMMsgAttachAddTeamManagers
Type declaration
accounts: string[]
type: "addTeamManagers" | "addSuperTeamManagers"
NIMMsgAttachAddTeamMember
Type declaration
accounts: string[]
type: "addTeamMembers" | "addSuperTeamMembers"
NIMMsgAttachDismissTeam
NIMMsg
Attach
Dismiss
Team
: { type
: "dismissTeam" | "dismissSuperTeam"; users
: NIMUserNameCard[] }Type declaration
type: "dismissTeam" | "dismissSuperTeam"
NIMMsgAttachLeaveTeam
Type declaration
type: "leaveTeam" | "leaveSuperTeam"
NIMMsgAttachPassTeamApply
Type declaration
account: string
type: "passTeamApply" | "passSuperTeamApply"
NIMMsgAttachRemoveTeamManagers
NIMMsg
Attach
Remove
Team
Managers
: { accounts
: string[]; members
: NIMTeamMember[]; team
: NIMTeam; type
: "removeTeamManagers" | "removeSuperTeamManagers"; users
: NIMUserNameCard[] }Type declaration
accounts: string[]
type: "removeTeamManagers" | "removeSuperTeamManagers"
NIMMsgAttachRemoveTeamMembers
NIMMsg
Attach
Remove
Team
Members
: { accounts
: string[]; team
: NIMTeam; type
: "removeTeamMembers" | "removeSuperTeamMembers"; users
: NIMUserNameCard[] }Type declaration
accounts: string[]
type: "removeTeamMembers" | "removeSuperTeamMembers"
NIMMsgAttachTransferTeam
Type declaration
account: string
type: "transferTeam" | "transferSuperTeam"
NIMMsgAttachUpdateSuperTeamMembersMute
NIMMsg
Attach
Update
Super
Team
Members
Mute
: { accounts
: string[]; members
: NIMTeamMember[]; mute
: boolean; team
: NIMTeam; type
: "updateSuperTeamMembersMute"; users
: NIMUserNameCard[] }Type declaration
accounts: string[]
mute: boolean
type: "updateSuperTeamMembersMute"
NIMMsgAttachUpdateTeam
NIMMsg
Attach
Update
Team
: { team
: Partial<NIMTeam>; type
: "updateTeam" | "updateSuperTeam"; users
: NIMUserNameCard[] }Type declaration
team: Partial<NIMTeam>
type: "updateTeam" | "updateSuperTeam"
NIMMsgAttachUpdateTeamMute
Type declaration
account: string
mute: boolean
type: "updateTeamMute"
NIMP2PMsgReceipt
NIMP2PMsgReceipt: { idClient: string; msgReceiptTime: number; sessionId: string }
Type declaration
idClient: string
msgReceiptTime: number
sessionId: string
NIMTeamMsgReceipt
NIMTeamMsgReceipt: { account: string; idClient: string; idServer: string; read: number; teamId: string; unread: number }
Type declaration
account: string
idClient: string
idServer: string
read: number
teamId: string
unread: number
消息体中的 AI 数字人相关配置