Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback query message does not contain HTML #1220

Open
ahmad22aot opened this issue Jul 31, 2024 · 0 comments
Open

Callback query message does not contain HTML #1220

ahmad22aot opened this issue Jul 31, 2024 · 0 comments

Comments

@ahmad22aot
Copy link

ahmad22aot commented Jul 31, 2024

When I receive a callback from a Telegram channel, the message text does not contain html code
callbackQuery.message.text
even though the message contains HTML code when i sent it to this channel.
const sendMessageToTelegram = async (bot, data) => { try { bot.sendMessage(config.SEND_ID, ` ID :<code>${String(data.user_id)}</code>`, CHARGE_MARKUP.IDMarkup(data._id)); } catch (error) { console.log(error); } };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant