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

Error in respond webhook to user in telegram bot

I have a telegram bot that respond to me perfectly but it doesn't respond to other users and as I see in getWebhookinfo it return an error Wrong response from the webhook: 500 Internal Server Error. I double check everything in the code that's ok…
Masoud Tavakkoli
  • 950
  • 13
  • 34
0
votes
2 answers

Create chat id in telegram from api or dynamic for send message to bot

I have prepared one api in php for send message to bot. Every time, I need to pass chat_id in api call. Anyone know how can i create unique chat id for send message to bot. Thanks in advance.
0
votes
1 answer

How can i trigger a Telegram Bot via an API user

i've set up a working telegram bot that get's triggered on a /mission command. I want to use the bot within groups to enable a fast response feedback system for my organization. the flow is like follows: 1) a API client (no bot, just pure api)…
dtdi
  • 60
  • 6
-1
votes
1 answer

bad webhook: An HTTPS URL must be provided for webhook pyTelegramBotAPI pythonanywhere

import telebot from telebot import types, TeleBot from flask import Flask, request class Exception_Handler: def handle(self, e: Exception): # Here you can write anything you want for every type of exceptions if isinstance(e,…
-1
votes
1 answer

Edit posts in a Telegram channel after 1 hour using API (PHP)

Is there a way to automatically edit posts in a channel using a bot after 1 hour? For example, I want this message: This is my Ad call me: 2000 Changed to this message after 1 hour: This is my Ad Expired
Moreza7
  • 23
  • 6
-1
votes
3 answers

Can chat IDs of telegram bots be changed?

Can we change the chat ID of a telegram bot from Telegram to ID CHAT ? I want to save more chat IDs in my database. To extrapolate it, I use this method: https://api.telegram.org/botXXXXXXXXX:YYYYYYY-YYYYYYYYYYYYYYYYY_YY/getUpdates Besides this, is…
Borja
  • 3,359
  • 7
  • 33
  • 66
-1
votes
2 answers

How can I get the membercount of the group without the telegram bot api?

How can I get the membercount of the group without the telegram bot api?And is there any way to get the membercount of group which I am not admin?plz help me Thanks.
-1
votes
1 answer

telegram bot stopped responding with no errors in apache log file

I was testing my bot (which is written in python and served via Apache on a vps by digital ocean) and it suddenly stopped responding. I checked Apache's error logs file but there were nothing relevant. so there were no errors. Then I reassigned…
-1
votes
1 answer

I there any way to write any code to get member for telegram channel?

I was reading any answer for this question but no one knows if there any code for any language for get telegram member for channel.if any one knows how it work please answer this question.
-1
votes
1 answer

Cannot set the webhook of my Telegram Bot

I set the webhook of my Telegram Bot and it seems to work fine, but the bot doesn't reply when I try to write him. The code of the file I indicated as webhook is correct (I checked it with getupdates method) and the server where it's hosted has the…
-2
votes
1 answer

telegram bot stops working a few minutes after launch

My bot is working correctly locally. When I deployed it with a webhook on hosting Cyclik, it works correctly for 5-20 minutes, and then it stops answering my commands. I found the error that occurs when this problem happens: Request failed with…
beched
  • 1
-2
votes
1 answer

Can I use one application for multiple telegram bot

I want to make 2 telegram bots. Can I use these bots in one project? Is there a problem with the webhook?
-2
votes
1 answer

Telegram bot api: how to stop getting messages in webhook after user answered a poll?

I have send poll by my bot in private chat with a bot. Poll appeared fine. But when I answer it - telegram server repeat sending message to web…
LeonidMew
  • 420
  • 5
  • 24
-2
votes
1 answer

Python Telegram Bot: button data invalid

I am trying to make a super simple telegram bot using PTB. The bot has a button, when I click the button bot should make an http request to the web (without opening browser). And show the response data. Here is the piece of code I am using: def…
-2
votes
1 answer

how to create and control a java telegram bot in spring web mvc

I need to create a java telegram bot and control it by a web application that i want to use spring web mvc. I test some os codes not web one that work properly but i could not find any help for web one. please help me. thanks
sam1364tt
  • 153
  • 1
  • 2
  • 13
1 2 3
17
18