All Questions
10 questions
0
votes
1
answer
500
views
pythonanywhere.com telebot webhook not working
I have tried to install a webhook on pythonanywhere.com.
It was working fine. After running telebot unit tests which use the Telegram API, the webhook stopped working.
I have tried using a new bot API ...
1
vote
0
answers
352
views
Telegram webhook polls old ip after webhook change
Working with core-telegram and python.
Recently changed my vps from 5.252.118.129 to another ip addr (79.137.194.182).
After this, telegram still trying to access old IP (/getWebhookInfo)
Error code
I ...
0
votes
1
answer
167
views
Pythonanywhere server does not receiving any updates from Telegram via webhook
All was working until I updated repository. Nothing was change in this piece of code. But it happed not working now. The get_message function not even calls.
URL = 'name.pythonanywhere.com'
app = ...
1
vote
0
answers
115
views
Can't enable telegram bot with webhook in virtual machine
I use a bot in the ubuntu virtual machine and where Host I don’t know what address to write down. I used ngrok and entered something like this:
WEBHOOK_HOST = 'https://9339-31-41-61-134.eu.ngrok.io'
...
0
votes
1
answer
165
views
How can i listen to telegram webhooks using python on the hosted server?
I've got a hosting, and a domain name, i want to listen to telegram webhooks.
First thing first i decided to make a simple flask application to understand flask and requests. But when i tried to start ...
1
vote
0
answers
258
views
Send JSON data from Python to Telegram using webhook
i have a python application that send data to request.log using webhook.php
webhook.php working code :
<?php
$request = file_get_contents('php://input');
$req_dump = print_r( $request, true );
$fp ...
1
vote
1
answer
745
views
How to forward a photo from Telegram group chat to Slack (using Webhooks and Telegram Bot)?
I'm trying to build a Telegram bot which forwards messages from a Telegram group chat to a Slack channel using Webhooks.
at the moment, I was able to forward all text messages and photo captions (...
1
vote
1
answer
6k
views
Telegram bot on webhook with flask
I try to create Telegram bot, i'am using:
Ubuntu 18
python 3.6
pyTelegramBotAPI
flask
Here is my code:
API_TOKEN = 'My_Token'
WEBHOOK_HOST = 'My_ip'
WEBHOOK_PORT = 8443 # 443, 80, 88 or 8443 (port ...
1
vote
1
answer
3k
views
Webhook not working on python telegram bot
Please, someone help me with this, I'am really struggling for hours by now. Don't know what to do anymore, searched every page everywhere, still no solution.
I have a telegram BOT which I'am ...
3
votes
2
answers
1k
views
Telegram webhooks POST requests have empty payload
I'm trying to register webhooks for my Telegram bot using the API call setWebhook.
I got a public HTTPS url from ngrok for my local server which I passed to setWebhook.
Whenever a new message is ...