Options
All
  • Public
  • Public/Protected
  • All
Menu

Module FriendServiceInterface

Index

Type Aliases

AddFriendOptions: { account: string; ps?: string }

Type declaration

  • account: string
  • Optional ps?: string

    附言

ApplyFriendOptions: { account: string; ps?: string }

Type declaration

  • account: string
  • Optional ps?: string

    附言

DeleteFriendOptions: { account: string; delAlias: boolean }

Type declaration

  • account: string
  • delAlias: boolean

    是否要删除好友的备注

FriendProfile: { account: string; alias?: string; bitsExtension?: number; createTime: number; ext?: string; passRelationShip?: FriendProfilePassRelationShip; relationShip?: FriendProfileRelationShip; serverex?: string; source?: number; updateTime: number; valid: boolean }

Type declaration

  • account: string

    账号 accid

  • Optional alias?: string

    备注

  • Optional bitsExtension?: number

    位运算扩展

  • createTime: number
  • Optional ext?: string

    扩展字段

  • Optional passRelationShip?: FriendProfilePassRelationShip

    被动好友关系(加此好友的验证类型)

  • Optional relationShip?: FriendProfileRelationShip

    主动好友关系(好友状态)

  • Optional serverex?: string

    服务端扩展字段,此字段客户端 sdk 只读,服务端 api 读写

  • Optional source?: number

    此好友来源,默认 0

  • updateTime: number
  • valid: boolean

    是否有效,默认 true。为 true 代表是双方是彼此的朋友

PassFriendApplyOptions: { account: string; ps: string }

Type declaration

  • account: string
  • ps: string
RejectFriendApplyOptions: { account: string; ps: string }

Type declaration

  • account: string
  • ps: string
UpdateFriendOptions: { account: string; alias: string; ext?: string }

Type declaration

  • account: string
  • alias: string

    备注

  • Optional ext?: string

    扩展字段