UNPKG

koishi-plugin-steam-family-bot

Version:

一个用于新版 Steam 家庭的库存监控 koishi Bot 插件

18 lines (17 loc) 730 B
import { Session, TmpFileStorage } from 'steam-family-bot-core'; import { ChannelInfo } from '../interface'; import { Session as KoiSession } from 'koishi'; export declare class KSession implements Session<ChannelInfo> { private readonly session; uid: string; lang: string; store: TmpFileStorage | undefined; constructor(session: KoiSession, tmpFileStorage?: TmpFileStorage | undefined); getSessionInfo(): ChannelInfo; send(msg: string): Promise<void>; sendImgUrl(url: string): Promise<void>; sendImgBuffer(content: any, mimeType?: string): Promise<void>; sendQueued(msg: string): Promise<void>; sendQuote(msg: string): Promise<void>; text(path: string, params?: object): string; }