# Node-red-contrib-telegrambot Callback

**URL:** https://discourse.nodered.org/t/node-red-contrib-telegrambot-callback/27162
**Category:** General
**Created:** [23 May 2020 21:49 UTC](https://discourse.nodered.org/t/node-red-contrib-telegrambot-callback/27162 "2020-05-23T21:49:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Hunter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hunter/32/60045_2.png) [@Hunter](https://discourse.nodered.org/u/Hunter)
#### Post date: [23 May 2020 21:49 UTC](https://discourse.nodered.org/t/node-red-contrib-telegrambot-callback/27162/1 "2020-05-23T21:49:23Z")

</div>

Hello,

I'm using the node-red-contrib-telegrambot and configured a command which triggers 4 buttons. When a user clicks one of the buttons a callback should be made to let my BOT perform a command. Can anyone provide an example how to perform this callback?

Kind regards,  
Peter Hunt

---

<div class="post-metadata">

### Author: ![Hunter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hunter/32/60045_2.png) [@Hunter](https://discourse.nodered.org/u/Hunter)
#### Post date: [24 May 2020 21:20 UTC](https://discourse.nodered.org/t/node-red-contrib-telegrambot-callback/27162/2 "2020-05-24T21:20:42Z")

</div>

Never mind, I figured it out. The manual showed a callback\_query node, but couldn't find it on the palette. In the end it seemed that when I drag an event node to the flow, the name changes to callback\_query. Using a debug node to monitor the output it was a piece of cake to get it going.

If you happen to read this, thanks 🙂

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 June 2020 21:20 UTC](https://discourse.nodered.org/t/node-red-contrib-telegrambot-callback/27162/3 "2020-06-07T21:20:45Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
