Improve Telegram reply prompt in groups
This commit is contained in:
@@ -1289,8 +1289,8 @@ async function handleTelegramCallback(callbackQuery, settings) {
|
|||||||
setTelegramReplyContext(chatId, callbackQuery.from?.id, conversation);
|
setTelegramReplyContext(chatId, callbackQuery.from?.id, conversation);
|
||||||
const sent = await telegramSendMessage(settings, {
|
const sent = await telegramSendMessage(settings, {
|
||||||
chatId,
|
chatId,
|
||||||
text: "Napis odpoved pro zakaznika:",
|
text: "Odpovez na tuto zpravu. Text poslu zakaznikovi:",
|
||||||
replyMarkup: { force_reply: true, selective: true }
|
replyMarkup: { force_reply: true }
|
||||||
});
|
});
|
||||||
const promptMessageId = sent?.result?.message_id;
|
const promptMessageId = sent?.result?.message_id;
|
||||||
if (!promptMessageId) return;
|
if (!promptMessageId) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user