mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: minor adjustements
This commit is contained in:
@@ -70,6 +70,8 @@ export enum FileType {
|
||||
export enum PayloadType {
|
||||
location = 'location',
|
||||
attachments = 'attachments',
|
||||
quick_reply = 'quick_reply',
|
||||
button = 'button',
|
||||
}
|
||||
|
||||
export type StdOutgoingTextMessage = { text: string };
|
||||
|
||||
@@ -7,11 +7,7 @@
|
||||
*/
|
||||
|
||||
import { IncomingAttachmentPayload } from './attachment';
|
||||
|
||||
export enum PayloadType {
|
||||
location = 'location',
|
||||
attachments = 'attachments',
|
||||
}
|
||||
import { PayloadType } from './message';
|
||||
|
||||
export type Payload =
|
||||
| {
|
||||
|
||||
@@ -13,10 +13,13 @@ import {
|
||||
import { BlockFull } from '@/chat/schemas/block.schema';
|
||||
import { FileType } from '@/chat/schemas/types/attachment';
|
||||
import { ButtonType } from '@/chat/schemas/types/button';
|
||||
import { OutgoingMessageFormat } from '@/chat/schemas/types/message';
|
||||
import {
|
||||
OutgoingMessageFormat,
|
||||
PayloadType,
|
||||
} from '@/chat/schemas/types/message';
|
||||
import { BlockOptions, ContentOptions } from '@/chat/schemas/types/options';
|
||||
import { Pattern } from '@/chat/schemas/types/pattern';
|
||||
import { PayloadType, QuickReplyType } from '@/chat/schemas/types/quick-reply';
|
||||
import { QuickReplyType } from '@/chat/schemas/types/quick-reply';
|
||||
import { CaptureVar } from '@/chat/validation-rules/is-valid-capture';
|
||||
|
||||
import { modelInstance } from './misc';
|
||||
|
||||
Reference in New Issue
Block a user