skip to Main Content

How to connect telegram web app to angular

I don't know how to connect telegram to angular. In the HTML file I do this - <script src="./assets/telegram-web-app.js"></script> But I don’t know what to do in the component to call the function I need. https://core.telegram.org/bots/webapps#initializing-mini-apps I searched for a…

VIEW QUESTION

Inline buttons are not displayed when creating a telegram bot on Telefraf

A message is displayed without an inline keyboard. I didn’t notice any syntax errors, and I couldn’t find anything on the Internet. function addDescription(ctx) { const keyboard = Markup.inlineKeyboard([ [Markup.button.callback('❌ Пропустить', 'noDescription')], ]); ctx.reply("Теперь добавьте описание к фотографии", { reply_markup:…

VIEW QUESTION

What is access_hash in telegram API?

When you contacts.resolveUsername, the result always contains both id and access_hash. It creates confusion for API users, as to why you are only able to resolve a user/chat/channel only by their username or by their (id, access_hash) pair (eg. here…

VIEW QUESTION
Back To Top
Search