openclaw-matrix-multiaccounts/src/agents/tools/telegram-schema.ts
2026-01-07 04:24:11 +01:00

13 lines
349 B
TypeScript

import { Type } from "@sinclair/typebox";
import { createReactionSchema } from "./reaction-schema.js";
export const TelegramToolSchema = Type.Union([
createReactionSchema({
ids: {
chatId: Type.Union([Type.String(), Type.Number()]),
messageId: Type.Union([Type.String(), Type.Number()]),
},
includeRemove: true,
}),
]);