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

Telegram sending same updates multiple times to webhook in google appscript

I am using google apps script to host my simple bot. Everything works fine. But out of a suddent in 3-4 days, my bot starts replying to the same message again and again unless i delete the webhook or archive my deployment on apps script. Once i…
0
votes
0 answers

Is there anyway to get a list of all the chat members in Telegram?

Is there anyway to get a full list of the members in a Telegram group? We are selling subscriptions to a Telegram Group/Channel but we have two problems No Join Event on Channels only Groups (So we cannot log people who only join the channel) We…
0
votes
0 answers

Get updates from telegram channel

Is it possible to get updates from channel via Telegram API without adding a bot to this channel? I am building bot which can automatically save posts from subscribed channels (i mean channels to which user subscribes with a command in bot itself)…
kvizyx
  • 1
0
votes
0 answers

Get 403: Request did not include the secret token error in heroku webhook

I ran into a webhook problem. I wrote a telegram bot and connected the webhook heroku, also I specified secret_token, which was generated during creation, but in webhook sectio I get an error 403 and says that 403: Request did not include the secret…
0
votes
0 answers

The Content-Type header cannot be set to a multipart type for this request

When I try to upload a file to the Telegram Bot API through the API bot, it gives me an error that says 'The Content-Type header cannot be set to a multipart type for this request'. Do you have any idea why this might be happening? public static…
ZZZ
  • 1
  • 1
0
votes
0 answers

Telegram sends webhooks with a delay on Google Compute Engine VM

I'm developing a Telegram bot using python-telegram-bot to send messages and FastApi to get webhooks from Telegram. I have successfully setWebhook() with correct url, opened 443 port, obtained the ssl certificate by Let's Encrypt and launched the…
0
votes
0 answers

how to get data from telegram bot with google app script

how to get the data from the telegram bot with google app script. I have this script that extracts the last messages that I send to the bot from my cell phone. These messages are placed on the right of the screen. Now I also send text to the bot…
0
votes
0 answers

"Watch updates" module (Make/Integromat) doesnt work

The "Watch updates" module doesnt work. I am trying only with this module to test it, but it doesnt work. I make a bot with botfather, and use SendPulse and Make to create the flow of a chatbot. I think that the problem something more than only…
0
votes
3 answers

Telegram bot with python-telegram-bot v20 via serverless function

I created a telegram bot using python-telegram-bot v 20.2. I run it on the computer using application.run_polling(), and everything works fine. But when I try to place it on a serverless structure with an entry point (handler(event, context)), I…
0
votes
1 answer

Google Apps Script: Get rows from spreadsheet and post as formatted list

I have a Spreadsheet with only one column and a rows of names: Sheet Using Google Apps Script, I have made a telegram bot with multiple functions - and as one of those functions I want the bot to post the content of this sheet as a list. I can…
0
votes
1 answer

Python flask application webhook for Telegram bot not working

This is my code for a flask application. I am running it on pythonanywhere free tier. from telegram import Update from telegram.ext import (ApplicationBuilder, ContextTypes, CommandHandler,MessageHandler, filters) from flask import Flask, request,…
0
votes
0 answers

How to get messages by using Webhooks such as the Getupdeats method in the Bot Telegram Documentation?

I would like to create a telegram bot with Express JS and Telegraph JS and get messages from the user in the way I created a host using ngrok const { Telegraf } = require('telegraf'); const bot = new…
EhsanKey_
  • 23
  • 6
0
votes
1 answer

Inline keyboard callback_query setup in Google Apps Script Telegram bot

I've managed to figure out how to attach an inline button to message from my Telegram bot. I'm not sure how to make this button actually do something. I have a simple invoice table in my Google Spreadsheet. I manually connected a Form to it, through…
0
votes
0 answers

Integrating Telegram Bot with Google Cloud Functions and Gateway

I'm developing a Telegram bot that should send updated to a registered webhook. The backed is implemented as a Cloud Function, sitting behind an API Gateway (eveyrhting's in Google Cloud Platform). I want to make sure that only genuine requests come…
0
votes
2 answers

How to fetch phone number of a user by user id on telegram?

I have a question that how to fetch the phone_number of a user by giving username or chat id. I know this question has been asked many times and everyone has said that there is no procedure for that but there is a website called Callmebot which has…