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

api Telegram webhook : how can delete new_chat_participant message

I created a bot via webhook method of api telegram and It's okay and working. but I want know how can delete any new_chat_participant messages before sending message by members. You know that telegram don't send request to your hook url until have…
Rai Rz
  • 493
  • 9
  • 22
0
votes
2 answers

make a registration by telegram bot api

i'm making a bot and i'm using webhook. User should register on my bot in telegram. user /start the bot. the bot request name (for example) users write their name and send to bot the bot request for next field ... and i continues until last…
user7459213
0
votes
1 answer

Message not receiving automatically for Telegram CHATBOT funciton using PHP

In order to integrate Telegram Chatbot using PHP, I have already followed below steps. Server with SSL certificate Webhook with working condition URL : https://api.telegram.org/bot/setWebhook?url=https://mywebsite.com/path/to/filename.php Created…
0
votes
1 answer

How Can Get CallbackData in current when InlineKeyboardCallbackButton clicked in telegram Bot in C#

How can I get InlineKeyboardCallbackButton clicked in telegram bot? Here is my code : I Edited The Code public async System.Threading.Tasks.Task GetMsgAsync() { var req = Request.InputStream; var responsString = new…
Yaser
  • 83
  • 14
0
votes
0 answers

python telegram bot, "socket.error: [Errno 98] Address already in use"

Im developing a telegram bot with this api and I tried to use its webhook example to set up my own bot with webhook method. I have an Ubuntu server and I have set up nginx on it. now when trying to run my python bot, I get this error: Traceback…
ganjim
  • 1,234
  • 1
  • 16
  • 30
0
votes
0 answers

telegram getwebhookinfo returns "SSL error {SSL routines:tls_process_server_certificate:certificate verify failed}"

I want to set self signed certificate for my telegram bot webhook. I used this openssl command to create public key as discussed in Marvin's Marvellous Guide to All Things Webhook: openssl req -newkey rsa:2048 -sha256 -nodes -keyout YOURPRIVATE.key…
HosSeinM
  • 301
  • 1
  • 6
  • 14
0
votes
2 answers

Join Chats and Channels in MadelineProto Telegram

I'm using the Madeline Project to automate some activities in the telegram communities. Bots are not suitable to do these tasks due to the restrictions they have. So I'm trying to use normal user accounts. Everything works smoothly with some types…
Univers3
  • 935
  • 1
  • 13
  • 34
0
votes
2 answers

encountering "Read timeout expired" error by Webhook after 60 Sec of execution

lately Im facing a problem with telegram bot api which i haven't had before... Im using Webhook method of connection to catch bot requests and respoding with PHP script and sometimes the triggered script takes more than a minute to finish…
Samuel Dagon
  • 28
  • 1
  • 4
0
votes
1 answer

after adding Telegram.Bot From nuget, MVC fails on compile

i'm using vs2012 and created a MVC4 project i'm going to implement a webhook for telegram bot. but after i added Telegram Bot Api from nuget, my projects not compiles fully and throws an exception like below: Attempt by method…
0
votes
1 answer

Telegram bot: Multiple bots with different routes on same domain

I am using Telegram Bot Php-Sdk. As the question is self explanatory, I am trying to run multiple bots on same domain but different routes. I have a live bot with webhook setup at mybot.domain.com/someroute and a staging bot at…
Talha Malik
  • 1,509
  • 3
  • 22
  • 44
0
votes
1 answer

Call variable from cherrypy webhook class

I set webhook to my telegram chatbot with the help of CherryPy. And now I am trying to handle data which I receive through webhook. I found the variable in cherrypy webhook class which contains needed json data. In my code, the variable name is…
0
votes
1 answer

Why node js telegram bot placed on heroku answer with 403

I write telegram bot and use Telegraf library. I placed my bot on Heroku. I set up webhooks this way: app.telegram.setWebhook(`${URL}/bot${BOT_TOKEN}`); app.startWebhook(`/bot${BOT_TOKEN}`, null, PORT); But in Heroku logs I see at=info method=POST…
ada
  • 666
  • 6
  • 11
0
votes
1 answer

Telegram Bot getChat method on channels using integer id returns old details

we have a web application,user add our bot in his/her channel as admin ,and can do some stuff from web app(e.g posting/editing items with markup buttons..etc),our app is heavily based on channel integer chat_id (example: chat_id=-1001006616144)…
Arash
  • 639
  • 2
  • 9
  • 15
0
votes
0 answers

Using API.AI event triggers with Telegram Chat bot

I'm using a node server to trigger an event for an API.AI intent that kicks off a series of questions to a Telegram User. Once the trigger is initiated, the questionnaire doesn't begin until a user directly sends some message from Telegram to the…
0
votes
1 answer

Create webhook with only ruby?

I'm creating a telegram bot in ruby , right now I'm using long polling , but I wanna change to webhooks, but I'm only found information about creating webhooks in rails , so I don't know if is possible to set a webhook in a ruby only project. Anyone…
Matheus Mendes
  • 155
  • 2
  • 14