Questions tagged [telegram-webhook]

Telegram webhooks allows to let a Telegram Bot be notified of new and changed messages and other events, using the HTTPS webhook callbacks.

What is it?

Telegram webhooks allows to let a Telegram Bot be notified of new and changed messages and other events, using the HTTPS webhook callbacks.

See also

257 questions
0
votes
0 answers

How to get updates from webhook telegram bot with python

Trying to connect Dialogflow to telegram bot to use it with webhook, to avoid using .json file credentials. A part of code from bot.py from aiogram.dispatcher.webhook import SendMessage API_HOST = os.getenv("API_HOST") BOT_TOKEN =…
0
votes
1 answer

How can Telegram Bot reply a specific commandusing Bot API?

I am trying to find a way to make my Telegram bots reply "Hello, please enter your phone number" whenever someone starts the bot using the default "/start" command. Is there a way to do this with Telegram Bot token and Telegram Bot API? Or is there…
0
votes
1 answer

How do I execute the code in express server only once?

I'm developing a telegram chatbot using SendPulse API and Node.js that automatically replies after receiving a specific incoming message. But the issue I'm facing is that after receiving the incoming message through webhook it continuously sends the…
Dummy Cron
  • 143
  • 2
  • 11
0
votes
1 answer

Telegram bot inline keyboard callback not working

I'm using PHP for the telegram bot. Reply callback is working when the callback hit the callback URL but the inline keyboard callback not working. When I click on the inline keyboard button, nothing responds, why it's happening? Please help me to…
0
votes
0 answers

Selenium Webhook equivalent / listen to new data from telegram without bot

I have a web scraping project that requires the scraper to wait for when there is new data. I thought about reverse engineering the websocket but that might take some time. if you know how to work with the telegram websockets to get data without a…
Nyll
  • 49
  • 5
0
votes
1 answer

How can I hide bot from searching in Telegram?

How can I make my bot hidden for search and accessible only via direct link?
0
votes
1 answer

Can multiple telegram accounts have same ID?

I am using this bot to get id by username: @get_any_telegram_id_bot And for many accounts it returns same id. Is it by mistake? It returns this id only for account which I would call "suspicious" - like black market and so on. How can this be…
Don_Quijote
  • 936
  • 3
  • 18
  • 27
0
votes
0 answers

I have deployed my Telegram Bot on Heroku but it is not running on Telegram

I was able to run my telegram bot with Python locally on my machine without problems and have deployed it on heroku with it stating that Build succeeded. However, when I try to use my bot on telegram, it does not respond. What may be the problem?…
0
votes
1 answer

when a photo already sent to telegram is EDITED with new caption text or updated using edit option , the update caption needed in google sheets

when member in telegram group has already sent a photo in to telegram group , now he edits the image and updates caption text with EDIT option in telegram , the new updated caption he made is needed in google sheets. Now already using below for…
0
votes
1 answer

Telegram Bot (Java) public BotApiMethod onWebhookUpdateReceived(Update update)

Can you help me? Please I can`t understand... I want to override a method and according to the video course, I need to create a variable of type long and place it inside the method But Idea scolds me that it should be String and not long chat_id -…
0
votes
1 answer

telegram bot goes into infinite loop when iterating over a big list on the backend

hello so i am trying to add broadcast command to my telegram bot which broadcast a specific message to all my bot subscribers which ids are saved in mysql database but the loop never seem to end and restarts after a random amount of sent…
0
votes
1 answer

I am using telegram bot api using POST method. I am stuck at uploading group media

In the section of telegram InputMediaDocument I am not getting how can I upload file using multipart? At what palce should I place the blob of my file? The parameters go as follows: type:String, media:String, thunb:Input File/String, . . . and so…
0
votes
1 answer

Python Telegram Bot ConversationHandler not working with webhook

I want to make a ConversationHandler in my bot that is using a webhook, the ConversationHandler only runs the function at the entry point, after that neither does it run the state function, nor does it run the fallback function. This CommandHandler…
0
votes
2 answers

Bulk creation of telegram channels via script/automation

I’ve been researching for a few days but can’t find guidance on a way to create multiple telegram channels at once or via automation(Shell script, python, Java etc etc) The intent is to create multiple channels by specifying name, description &…
0
votes
1 answer

PHP - Telegram Bot interactive query

I'm trying to query some data from my database. there is three option for searching data from database User id Phone no. E-mail I've created an inline keyboard by choosing a search option from the above list Screenshot of bot chat I'm looking for…