UNPKG

koishi-plugin-adapter-iirose

Version:
25 lines (24 loc) 625 B
import { IIROSE_Bot } from '../../bot/bot'; export interface UserList { avatar: string; username: string; color: string; room: string; uid: string; } export interface RoomInfo { id: string; name: string; online: number; description: string; users: string[]; background?: string; rooms?: string[]; } /** * 解析包含大量数据的包 (如用户列表、房间列表) * @param message 消息 * @param bot bot实例 * @returns {Promise<UserList[] | undefined>} */ export declare const bulkDataPacket: (message: string, bot: IIROSE_Bot) => Promise<UserList[] | undefined>;