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
4
votes
3 answers

How verify request of webhook are from Telegram?

I have a Telegram bot that is set to work with Telegram webhook mechanism but how trust requests and know if they are from Telegram? base on Telegram docs I find out there is two way: limit them to telegam ip (this is dirty, if for some reason…
4
votes
0 answers

Problem with Telegram webhook on production server

I'm developing Telegram bot based on pyTelegramBotAPI and Django. There is initial code: import json import time from django.http import JsonResponse from django.views.decorators.csrf import csrf_exempt import telebot from django.conf import…
4
votes
1 answer

Deeplinking into a telegram bot

I have a simple use case. When a user clicks the link below, T.me/MycompanynameBot?start=Microsoft I want to show him 3 inline buttons corresponding to 3 Telegram channels within Microsoft. Is this possible? The key is the bot must be able to…
4
votes
1 answer

Background continuous access to a users live location

I want my TG bot to have continuous access to a user’s live location. Is this possible? I understand that TG can be given continuous access - but it seems to me that this privilege is not relayed to bots running on TG. Is this correct? For the…
Carlos F
  • 893
  • 2
  • 12
  • 30
4
votes
1 answer

Can Telegram bot detect a new member joining a channel event?

I have a Telegram bot and I set this bot as admin of a channel. Now, when a new user ordinarily joins a channel (not a group) there is no message on the channel and no message we could get with getUpdates method. Is it technically possible to post a…
4
votes
1 answer

How to get Telegram webhook with ngrok working?

I'm developing a Telegram bot and want to use ngrok to receive messages from the webhook. Setting a webhook works. When I set my publicly reachable domain as URL, I actually get the expected messages. Now, when I know, that the code is working, I…
automatix
  • 14,018
  • 26
  • 105
  • 230
4
votes
2 answers

Sending voice command to telegram bot

Is there any way to send a voice command to Telegram bot? I want to send voices to my bot and use google API to convert them to text and then translate and send back. In order to do this, I need to get the voice first. Is there any way to send the…
Arman Fatahi
  • 2,635
  • 3
  • 24
  • 37
4
votes
3 answers

How Miniaturize telegram bot button

$media[]=['⬅️','']; It's my telegram bot buttons. it's very large i don't like this. How Can I Miniaturize telegram button? I think i need this : resize_keyboard But i don't know how use this for Miniaturize buttons. its my function…
user8729088
3
votes
1 answer

Hot to get callback data from telegram bot message

I'm developing a Telegram Bot via PHP and I want users to answer bot question. For Example: Bot: What is your name? User: (Reply) But I don't know how to process user reply for specific question from bot. If I receive user reply via webhook, it…
3
votes
1 answer

Telegram bot in asp.net core 3.1 is giving no data in Update object

I am developing telegram notifications in my existing asp.net core 3.1 project. I have written below code in controller. #region Telegram TelegramBotClient _botService; private const string token =…
Jitendra Pancholi
  • 7,897
  • 12
  • 51
  • 84
3
votes
1 answer

Need to prevent GAS web app instances from colliding

I'm using Google Apps Script to create a web app for my Telegram bot. The web app is invoked by the bot via web hook. My bot has an inline keyboard that you can see in action in GIF 1 below. Tapping the keyboard buttons you enter a code that appears…
3
votes
2 answers

Telegram Bot can`t receive preCheckoutQuery update

After sending sendInvoice to user(user get this pay form correctly) my bot is not receive preCheckoutQuery for payment confirmation. Im trying to receiving Updates (specifically preCheckoutQuery) from Telegram Bot via webhook, but here…
3
votes
1 answer

How to send a large message to api.telegram.org

I'm having trouble sending large messages via bot telegrams. During the search for the problem, I threw off all the extra binding and tested it with curl. In the case of sending a message with text up to about 1500, everything works, I sent it like…
Aleksandr
  • 41
  • 1
  • 3
3
votes
1 answer

Number of monthly active users on a telegram channel?

telegram offers a measure of views of messages on a channel. I’m curious if there is a way to measure monthly active users or total unique views on a monthly basis on a particular group.
3
votes
0 answers

How to get a Telegram Bot to search documents posted in a channel?

I was getting started with telegram bots and I was wondering if there's a way to get a BOT to search through the files posted in a channel (and possibly download them, if the user asks for it). For instance, if a BOT has a command "/search" and the…
1
2
3
17 18