Answer the question
In order to leave comments, you need to log in
How to send url button with tg:// protocol to telegram bot?
Hello everyone, I am writing a telegram bot in JS and for some reason, when creating a button url with the tg:// protocol, it gives an error:
Error in polling: Error: failed [400] {"ok":false,"error_code":400,"description":"Bad Request: BUTTON_URL_INVALID"}
reply_markup: JSON.stringify({
inline_keyboard: [
[{ text: 'Add & Connect', url: 'tg://resolve?domain=socks&server=185.211.245.136&port=1080&user=106402828&pass=jr5udGLf' }]
]
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question