amesu
Version:
Node.js SDK for QQ Bot.
15 lines (14 loc) • 578 B
TypeScript
import type { Message } from '../model/message';
import type { Request, Result } from '../utils';
import type { SendChannelMessageParams } from '../api/channels';
declare const _default: (request: Request) => {
/**
* 用于发送频道私信消息,前提是已经创建了私信会话。
*/
sendDmMessage(guild_id: string, params: SendChannelMessageParams): Promise<Result<Message>>;
/**
* 撤回频道私信消息。
*/
recallDmMessage(guild_id: string, message_id: string, hidetip?: boolean): Promise<Result>;
};
export default _default;