ikam
v1.0.8
Published
## 初始化
Downloads
13
Readme
iKam 可爱猫 Node.JS SDK
初始化
import ikam from "ikam"
const client = new ikam("http://127.0.0.1:8090");//你的http请求地址,记得带上端口号
支持的方法
- sendTextMsg 发送文本消息
- sendImageMsg 发送图片
- sendVideoMsg 发送视频
- sendFileMsg 发送文件
- sendLinkMsg 发送自定义连接
- sendGroupMsgAndAt 发送群消息并@用户
- getFriendList 获取好友列表
- getGroupList 获取群列表
- getGroupMemberList 获取群成员列表
- modifyFriendRemark 修改好友备注
- modifyGroupName 修改群名称
- modifyGroupNotice 修改群公告
- acceptTransfer 接受转账
- agreeGroupInvite 接受群邀请
- agreeFriendVerify 接受好友请求
- inviteGroup 邀请好友入群
- removeGroupMember 将群成员从群中移除
- revokeMsg 撤回已发送的消息