mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-05-09 20:14: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"):
|
||||
ctx.replyWithSticker(
|
||||
Resources.soggyCatSticker, {
|
||||
// ...({ reply_to_message_id }) // to-do: fix this
|
||||
});
|
||||
Resources.soggyCatSticker,
|
||||
reply_to_message_id ? { reply_parameters: { message_id: reply_to_message_id } } : undefined
|
||||
);
|
||||
break;
|
||||
|
||||
case (userInput === "4" || userInput === "alt"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user