UNPKG

onebots

Version:

基于icqq的多例oneBot实现

19 lines (18 loc) 646 B
import { V12 } from "../index"; export declare class FriendAction { getUserInfo(this: V12, user_id: number): Promise<V12.MessageRet>; getFriendList(this: V12): Promise<any>; /** * 发送私聊消息 * @param user_id {number} 用户id * @param message {V12.Sendable} 消息 * @param source {string} 引用id */ sendPrivateMsg(this: V12, user_id: number, message: V12.Sendable, source?: string): Promise<any>; /** * 为指定用户点赞 * @param user_id {number} 用户id * @param times 点赞次数 */ sendUserLike(this: V12, user_id: number, times?: number): Promise<void>; }