1、綁定設備
```
類型 type: bind
參數:
user_id: 1//當前登錄的用戶ID
```
2、添加好友
```
類型 type: add_frend
參數:
user_id: 1//當前登錄的用戶ID,
friend_id:2 //添加好友的ID
is_secret:0//是否是密聊 1代表密聊添加好友
```
3、同意添加好友
```
類型 type :consent
參數:
user_id:1 //當前登錄的用戶ID
id: 1 好友申請列表的ID
```
4、拒絕添加好友
```
類型 type :refuse
參數:
user_id:1 //當前登錄的用戶ID
id: 1 好友申請列表的ID
```