skip to Main Content

Telegram Bot that says "Hi"

I'm trying to make a very simple Telegram Bot in Python that says "Hi" every minute. This is the code so far, but it does not post anything to my telegram. import requests import time bot_token = "insert_token_here" group_chat_id =…

VIEW QUESTION

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
Back To Top
Search