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
2
votes
1 answer

How to forward (filter) Telegram messages from a private group to myself based on sender?

I'm in a private Telegram group that has a continual stream of many messages from a large number of people. I need to somehow pull out just those from a handful of specific people, and forward them to myself somehow - e.g. a new group I'm the only…
2
votes
2 answers

Make Telegram bot to read only /commands as administrator

I am using Telegram bot API with AWS Lambda and Zappa. Everything was working fine. Until I realised that bot's webhook is being called everytime whenever a message is sent by anyone in the group. I want to limit this webhook requests, as Lambda…
Amar
  • 420
  • 3
  • 14
2
votes
3 answers

Why cannot I receive any POST request on my Telegram bot written with Flask (Python)?

I don't want to use getUpdates method to retrieve updates from Telegram, but a webhook instead. Error from getWebhookInfo is: has_custom_certificate: false, pending_update_count: 20, last_error_date: 1591888018, last_error_message: "SSL error…
Donovant
  • 3,091
  • 8
  • 40
  • 68
2
votes
1 answer

What should i do to get "telegram private group ids" new way

I want to create new bot that print users first name in telegram groups. So it could be easily done in public groups but in private groups I need its id so I have to add bot to private groups and then what should I do? I want to do it in Python or…
2
votes
2 answers

How get Telegram.Bot.Types.Update through webhook?

Is any way here to make accept Telegram.Bot.Types.Update update? Currently, I have this code, but I would like to use Telegram objects [HttpPost] public async Task Post([FromBody]TelegramUpdate update) //my model { …
Eugenia A
  • 46
  • 1
  • 6
2
votes
0 answers

Telegram integration with Dialogflow - KeyboardButton Event

I have following Telegram Bot python code to fetch location and contact information of the user. This code send the event back to webhook whem user push Share My Location / Share My Contact button, when i have Telegram alone connected to my backend…
2
votes
1 answer

Telegram bot detect promotion to admin?

I have a TG bot that needs to pin a message. For this it needs admin rights. Is there an event that a TG bot can use to automatically detect when it is promoted so it automatically creates a message and pins it? Ok a related note, can the bot read…
2
votes
2 answers

Telegram login widget return "bot domain invalid" in my mvc app

I use telegram login widget in MVC App , and follow steps as in post telegram-web-login-widget-setdomain-does-not-work Steps As in Post Here is how the dialog goes, and how you need to respond to Botfather: Me: /setdomain Botfather: Choose a bot…
Tarek
  • 85
  • 2
  • 9
2
votes
1 answer

How to use Telegraf (Telegram) in Firebase?

I'm trying use Telegraf library with Firebase Functions but it's not working as I expected. I follow these this article and instructions as appear in webhooks (as appears for express example) and webhookcallback as appear in telegraf docs. const…
molavec
  • 8,848
  • 1
  • 27
  • 22
2
votes
1 answer

How to get the list of all chat IDs in a given bot in Telegram?

I am creating a telegram bot using a CRON job so it will update with every interesting movie/series release, and I want it to send an update once every month. You can view it in this GitHub Library I have also seen other topics here in stackoverflow…
Diego Farras
  • 77
  • 1
  • 7
2
votes
2 answers

How can i create a private message from telegram bot?

I'm connecting to telegram bot with webhook and i wanted to respond in private chat through telegram but if i send UID it doesn't send any message to the user from the bot. this is what i did. I created a Web API Project with .net framework to…
YeaSung Seo
  • 31
  • 1
  • 3
2
votes
1 answer

Telegram Javabot. Setting webhook

I've created telegram bot on Java with rubenlagus api.And now I can't setup webhook. I know these rules for webhook: *Supports IPv4, IPv6 is currently not supported for Webhooks. *Accepts incoming POSTs from 149.154.167.197-233 on port 443,80,88 or…
Vlad Cheremisin
  • 141
  • 1
  • 11
2
votes
1 answer

Upload file on Telegram with bot

I want to send file from URL to user with Telegram Bots, My files extension in .attheme but I can't upload this files from Url. Currently I can upload .zip , .pdf, but i want upload a .attheme file from PHP code. This bot can upload any type of…
2
votes
1 answer

How many people can a Telegram bot serve at the same time

I did not find information on limits on the simultaneous use of telegram bots, I mean how much people can use my telegram bot at the same time? I use webhook btw.
user8794562
2
votes
1 answer

Google App script - Telegram Bot - Inline Keyboard callback_query

This here is my function that hears for anything incoming from Telegram. It does work well with any message and files or whatever but it doesn't work when i press a but of an inline_keyboard, Why? How can i create a function that hears for a…
Paolo177
  • 366
  • 6
  • 18