bot: msg-contact-forward: use parse_mode HTML

This commit is contained in:
vchikalkin 2025-10-08 22:04:15 +03:00
parent 01d8bb20d5
commit 0a43d63c2c

View File

@ -132,7 +132,9 @@ export async function addContact(conversation: Conversation<Context, Context>, c
t('msg-contact-added', { fullname: [name, surname].filter(Boolean).join(' ') }), t('msg-contact-added', { fullname: [name, surname].filter(Boolean).join(' ') }),
), ),
); );
await ctx.reply(await conversation.external(({ t }) => t('msg-contact-forward'))); await ctx.reply(await conversation.external(({ t }) => t('msg-contact-forward')), {
parse_mode: 'HTML',
});
await ctx.reply(await conversation.external(({ t }) => t('msg-share-bot')), KEYBOARD_SHARE_BOT); await ctx.reply(await conversation.external(({ t }) => t('msg-share-bot')), KEYBOARD_SHARE_BOT);
} catch (error) { } catch (error) {
await ctx.reply( await ctx.reply(