https://github.com/guidone/node-red-contrib-chatbot/raw/master/docs/images/example-message.png

The first node listen the incoming messages sending the message content through the output pin.

The second node My message simply creates a textual message using the templating Hi {{username}}!, it just prepares the payload for the message, the node Telegram Sender actually sends out the message.

The node Telegram Receiver sets up some variables in the chat context flow: firstName, lastName, chatId , username, transport, messageId.

Note: username is only available in Telegram if it’s specified in the chat settings.