Interface LocalOptions

Hierarchy

  • LocalOptions

Properties

addFriendNeedVerify: boolean

添加好友模式,默认需要验证

allowTransferTeamOwner: boolean

是否允许群主转让,默认false

leaveOnTransfer: boolean

转让群主的同时是否退出群聊,默认false

loginStateVisible: boolean

是否显示在线离线状态,默认 true

needMention: boolean

是否需要@消息提醒,默认true

p2pMsgReceiptVisible?: boolean

是否需要显示 p2p 消息、p2p会话列表消息已读未读,默认 false

sendMsgBefore: (<T>(options, type) => Promise<T>)

Type declaration

    • <T>(options, type): Promise<T>
    • Type Parameters

      • T = ISendCustomMsgOptions | IBaseSendFileOptions | ISendTextMsgOptions

      Parameters

      • options: T
      • type: "text" | "image" | "audio" | "video" | "geo" | "notification" | "file" | "tip" | "robot" | "g2" | "custom"

      Returns Promise<T>

teamBeInviteMode: TeamBeInviteMode

群组被邀请模式,默认需要验证

teamInviteMode: TeamInviteMode

群组邀请模式,默认管理员可邀请

teamJoinMode: TeamJoinMode

群组加入模式,默认无需验证

teamManagerLimit?: number

单个群管理员默认数量限制,默认 10 个

teamManagerVisible?: boolean

是否需要显示群管理员相关主动功能,默认 false

teamMsgReceiptVisible?: boolean

是否需要显示群组消息已读未读,默认 false

teamUpdateExtMode: TeamUpdateExtMode

群组更新自定义字段模式,默认管理员可修改

teamUpdateTeamMode: TeamUpdateTeamMode

群组更新模式,默认管理员可修改

Generated using TypeDoc