mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 16:48:26 +00:00
fix: dedupe probe/token base types (#16986) (thanks @iyoda)
This commit is contained in:
@@ -7,6 +7,7 @@ import type {
|
||||
StickerMessage,
|
||||
LocationMessage,
|
||||
} from "@line/bot-sdk";
|
||||
import type { BaseProbeResult } from "../channels/plugins/types.js";
|
||||
|
||||
export type LineTokenSource = "config" | "env" | "file" | "none";
|
||||
|
||||
@@ -86,16 +87,14 @@ export interface LineSendResult {
|
||||
chatId: string;
|
||||
}
|
||||
|
||||
export interface LineProbeResult {
|
||||
ok: boolean;
|
||||
export type LineProbeResult = BaseProbeResult<string> & {
|
||||
bot?: {
|
||||
displayName?: string;
|
||||
userId?: string;
|
||||
basicId?: string;
|
||||
pictureUrl?: string;
|
||||
};
|
||||
error?: string;
|
||||
}
|
||||
};
|
||||
|
||||
export type LineFlexMessagePayload = {
|
||||
altText: string;
|
||||
|
||||
Reference in New Issue
Block a user