mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 15:18:28 +00:00
fix(telegram): clean tsgo/format regressions
This commit is contained in:
committed by
Ayaan Zaidi
parent
1c1d7fa0e5
commit
b430998c2f
@@ -166,7 +166,6 @@ export async function deliverReplies(params: {
|
||||
...(shouldAttachButtonsToMedia ? { reply_markup: replyMarkup } : {}),
|
||||
...buildTelegramSendParams({
|
||||
replyToMessageId,
|
||||
replyQuoteText,
|
||||
thread,
|
||||
}),
|
||||
};
|
||||
|
||||
@@ -229,8 +229,8 @@ export function describeReplyTarget(msg: Message): TelegramReplyTarget | null {
|
||||
const externalReply = (msg as Message & { external_reply?: Message }).external_reply;
|
||||
const quoteText =
|
||||
msg.quote?.text ??
|
||||
(reply as Message & { quote?: { text?: string } } | undefined)?.quote?.text ??
|
||||
(externalReply as Message & { quote?: { text?: string } } | undefined)?.quote?.text;
|
||||
(reply as (Message & { quote?: { text?: string } }) | undefined)?.quote?.text ??
|
||||
(externalReply as (Message & { quote?: { text?: string } }) | undefined)?.quote?.text;
|
||||
let body = "";
|
||||
let kind: TelegramReplyTarget["kind"] = "reply";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user