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
1
vote
0 answers

How to send an input request to user and store the answer in telegram bot

I'm writing a telegram bot in golang using github.com/Syfaro/telegram-bot-api. And I need following: A user sends a command Bot asks the user a question The user answers Then bot does some calculations and sends an answer I can't find how to send…
1
vote
2 answers

Act on non-text telegram messages in Google Dialogflow. Fallback intent should forward everything

I'm building a chatbot with Telegram and Google Dialogflow. When I integrate Dialogflow into Telegram via the Dialogflow "Integrations" tab, Dialogflow registers as a Webbhook service to intercept all received Telegram messages. Unfortunately, I…
Nantero
  • 11
  • 2
1
vote
2 answers

how to i can to find webhook address in my telegram bot?

I create a bot in telegram and set webhook in my domain address. Now i want to change my domain bot i forget page of webhook in my website. Is there a way I can find my robot's webhook address? my website create by asp.net mvc!
jafar
  • 27
  • 2
  • 10
1
vote
1 answer

Can I store bot state data on the involved telegram chat itself?

I'm trying to store a bit of data regarding the bot's conversation within a group (i.e. the bot manages kind of a text-based chat scape room and I want to save which "world" and "stage" the group is in at the time), and so I was wondering whether…
1
vote
1 answer

What's the structure of Telegram's updates to webhook Flask app?

I'm trying to program a Telegram bot using webhook in a Flask app with telepot, in PythonAnywhere. And so, I want to know what's the structure of the updates comming from Telegram, so as to know what's there and how is it called, and use it in the…
1
vote
1 answer

How to create inline_keyboard using json with multiple InlineKeyboardButton on same row?

Looking for json payload to create inline_keyboard with multiple InlineKeyboardButton on the same row. The following code is working but creates 1 button per row. { "telegram": { "text": "Pick a color", "reply_markup": { …
vltech
  • 13
  • 1
  • 3
1
vote
1 answer

How know chat id of group on Telegram without use /getUpdates?

I created a bot and i want to send with it messages in a group where this bot wad added like an admin. The problem is that i don't kno chat ID of grop and around the web i read only one method to extrapolate it: …
Borja
  • 3,359
  • 7
  • 33
  • 66
1
vote
1 answer

How to make webhooks working with nginx+gunicorn+django+pytelegrambotapi

I'm trying to deploy telegram bot(usign pyTelegramBotApi) on django, using nginx+gunicorn. I already have fomain and Let's Encrypt cert for it, https is working and django rendered pages are accessible. But I have no idea, why bot isn't receiving…
1
vote
0 answers

Read json file via PHP: single tree file vs multiple nodes

I am writing a telegram bot (using webhooks) that sequentially reads smalls nodes (stored as json files) and now I'm in front of a crossroad: monolitic vs modular approach The case: The basic structure is a tree, made of several nodes: each node has…
1
vote
1 answer

Bot Framework c# without Azure Connection to Telegram

I am Testing the deployment of MS Bot framework application without azure on my own host the concept is: the bot is a mvc webapp and can be deployed anywhere our host has an SSL certificate and a vaild endpoint(https://example.com/api/messages) My…
MH Mazen
  • 91
  • 1
  • 12
1
vote
1 answer

Telegram Webhook error:14095044:SSL routines:ssl3_read_n:internal error

This error seems to be a rare one since google doesn't cough up anything. (There do exist questions and answers for different Telegram Webhook error messages.) So this is…
Xmunx
  • 11
  • 4
1
vote
1 answer

telegram.ext CommandHandler works in personal chat but doesn't work in group chat

I have a telegram bot and I'm trying to add little "features" to it that I find useful by adding more CommandHandler. The new features work fine in personal chat but don't work in group chats. I am perplexed by this. My code is something as…
1
vote
1 answer

Can't setup a webhook for a telegram bot

I'm trying make a simple telegram bot in Google App Engine. When I open the console in GAE, and enter the following, the webhook gets set up just fine curl -F "url=https://example.appspot.com:8443/" -F "certificate=@certificate.pem" …
1
vote
1 answer

Can a telegram bot running on node.js be hacked

Lets say we have a telegram bot running on node.js using node library: node-telegram-bot-api Do we need to worry about any security problems, like can someone hack my server and access the source code or data through the API connection?
Mr. Blockchain
  • 313
  • 1
  • 14
1
vote
1 answer

API call limitation on my telegram bot

My telegram bot needs to send a message to all the users at the same time. However, Telegram claims a max of 30 calls/sec so it gets really slow. I am sure that there is a telegram bot which sends over 30 calls/sec. Is there a paid plan for this?