mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-05-10 04:24:59 +00:00
fix: fix params
This commit is contained in:
parent
87c987c16d
commit
404a801c61
@ -105,9 +105,9 @@ export default (bot: Telegraf<Context>) => {
|
|||||||
|
|
||||||
case (userInput === "3" || userInput === "sticker"):
|
case (userInput === "3" || userInput === "sticker"):
|
||||||
ctx.replyWithSticker(
|
ctx.replyWithSticker(
|
||||||
Resources.soggyCatSticker, {
|
Resources.soggyCatSticker,
|
||||||
// ...({ reply_to_message_id }) // to-do: fix this
|
reply_to_message_id ? { reply_parameters: { message_id: reply_to_message_id } } : undefined
|
||||||
});
|
);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case (userInput === "4" || userInput === "alt"):
|
case (userInput === "4" || userInput === "alt"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user