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

How to get rid of circling clown frog in telegram bot?

I have a python script with python-telegram-bot module hosted on Heroku with Free dyno enabled. My code was running correctly for 2 years on it. Last night I decided to update my code. After I uploaded the code on Heroku, I realized that the dyno…
1
vote
1 answer

Telegram Bot join new user to kick and keep whitelist a member of private group?

I'm trying telegram bot of Webhook ex. new user join check database not my membership to kick user!
1
vote
0 answers

How to use telegram webhook on Google App Engine?

My question is very similar to this one: How to use telegram webhook on google cloud functions? I have the same identical problem but I want to deploy it on Google App Engine. I have set up my bot using the python-telegram-bot library (code below)…
1
vote
1 answer

Telegram webhook integration to express app

So on the Telegraf api they have this example. const Telegraf = require('telegraf') const express = require('express') const bot = new Telegraf(process.env.BOT_TOKEN) bot.on('text', ({ replyWithHTML }) =>…
1
vote
2 answers

How to create webhook for telegram bot with heroku?

I am trying to deploy a simple echo2 bot using webhook. It's working fine with polling. But, I want to use the bot using webhook. I didn't find any easy to understand answer for this question on internet. What changes do I need to make in the below…
1
vote
1 answer

Webhook Telegram sends several updates in a row

I enabled webhook to handle incoming telegram updates. I noticed that when I write 1 message to the telegram bot, it sends several messages to the webhook at the same time. Why is this happening? Please explain how this works. Maybe I need to…
Aggravator
  • 119
  • 4
1
vote
1 answer

I can't figure out, how to set up webhook on pyTelegramBotApi (telebot)

I've done exactly, like in this official example: https://github.com/eternnoir/pyTelegramBotAPI/blob/master/examples/webhook_examples/webhook_aiohttp_echo_bot.py. Nothing seems to work, though. It doesn't crush either. WEBHOOK_URL in format…
1
vote
1 answer

Telegram Bot - Webhook

I deployed my telegram bot via GitHub to Heroku (I use Webhook), the bot is running, but for some reason it does not receive messages through the webhook. Here's the code: import os import telebot from flask import Flask, request #I deleted an…
Erik Van Moon
  • 47
  • 1
  • 1
  • 7
1
vote
0 answers

Telegram Bot API: Is it possible to force collapse the default keyboard on mobile?

Telegram Bot API manual says that when you remove a custom keyboard, the default letter keyboard will be displayed. I was wondering if there was a way to suppress the latter. I don't want it to cover up half the screen and unnecessarily obstruct…
hey
  • 97
  • 8
1
vote
1 answer

Telegram bot deep linking and scrolling to certain message

I've created a telegram bot and have many messages in the chat, I want to programmatically scroll to a certain message inside the chat, for example I want to have a link deep linked to a message in the chat so when I click on the link I would see…
1
vote
1 answer

Transfer control with inline buttons in telegram (bots)

If you have a bot-generated in-line button in a chat, that inline button can be used to take you to a bot. My question is - is the reverse possible? Can the bot have an inline button (when directly communicating with it) and it can transfer control…
1
vote
1 answer

Invite a friend to telegram channel

Is it possible to have an “inline button” on a channel that says “invite a friend” that forwards the private channel URL to friends on the channel. The idea is to make the “invitation process” for users to invite their friends much easier.
1
vote
1 answer

Possible to be anonymous from contacts on TG groups?

TG claims to be very private - my question is - is it possible to be part of a TG group that you have fellow contacts on, but those fellow contacts not to know you are on that group? So is it possible that 2 acquaintances message each other without…
1
vote
1 answer

Is it possible to programmatically approve users only to post to a channel on Telegram?

I want to create a group dynamic with anonymity on Telegram. I get that you can use any username and be anonymous on telegram but if you are on someone’s contact list, they can always message you - even if you change your username. So you cannot be…
1
vote
1 answer

Is it possible to programmatically pre-approve a user to a telegram group or channel

I want to allow only users from a particular school - say Harvard - to access a telegram group. So, I need the person to “register” - say on a bot and share his abc@harvard.edu email address. I then verify the email through a verification code. He…