导出更多消息对象
This commit is contained in:
@@ -7,9 +7,8 @@ import CallbackError from "./CallbackError.ts"
|
||||
import ApiCallbackMessage from "./ApiCallbackMessage.ts"
|
||||
|
||||
import * as marked from 'marked'
|
||||
import { text } from "node:stream/consumers";
|
||||
|
||||
class ChatMention extends BaseClientObject {
|
||||
export class ChatMention extends BaseClientObject {
|
||||
declare chat_id?: string
|
||||
declare user_id?: string
|
||||
declare text?: string
|
||||
@@ -41,7 +40,7 @@ class ChatMention extends BaseClientObject {
|
||||
type FileType = 'Video' | 'Image' | 'File'
|
||||
type MentionType = 'ChatMention' | 'UserMention'
|
||||
|
||||
class ChatAttachment extends BaseClientObject {
|
||||
export class ChatAttachment extends BaseClientObject {
|
||||
declare file_hash: string
|
||||
declare file_name: string
|
||||
constructor(client: LingChairClient, {
|
||||
|
||||
@@ -7,6 +7,7 @@ import GroupSettingsBean from "./bean/GroupSettingsBean.ts"
|
||||
import JoinRequestBean from "./bean/JoinRequestBean.ts"
|
||||
import MessageBean from "./bean/MessageBean.ts"
|
||||
import RecentChatBean from "./bean/RecentChatBean.ts"
|
||||
import Message, { ChatAttachment, ChatMention } from "./Message.ts"
|
||||
|
||||
import LingChairClient from "./LingChairClient.ts"
|
||||
import CallbackError from "./CallbackError.ts"
|
||||
@@ -14,10 +15,13 @@ import CallbackError from "./CallbackError.ts"
|
||||
export {
|
||||
LingChairClient,
|
||||
CallbackError,
|
||||
|
||||
|
||||
Chat,
|
||||
User,
|
||||
UserMySelf,
|
||||
Message,
|
||||
ChatAttachment,
|
||||
ChatMention,
|
||||
|
||||
UserBean,
|
||||
ChatBean,
|
||||
|
||||
Reference in New Issue
Block a user