Class: Friend

Friend


new Friend()

Properties:
Name Type Description
account String

账号

alias String

昵称

custom String

扩展字段, 开发者可以自行扩展, 建议封装成JSON格式字符串

createTime Number

成为好友的时间

updateTime Number

更新时间

Members


<static, readonly> requestType :String

好友请求类型

  • 'addFriend' (直接加为好友)
  • 'applyFriend' (申请加为好友)
  • 'passFriendApply' (通过好友申请)
  • 'rejectFriendApply' (拒绝好友申请)
Type:
  • String