Node RED help - How to put payload variable into Service data (telegram_bot)

I’m using the telegram_bot component to send a telegram message after a callback from an inline keyboard but I don’t know how to insert the chat id from the msg payload back into a service call. Anyone know how to do this?

You can use a json node.
The input is your message, then you chat id will be a proptery of msg.
See http://noderedguide.com/node-red-lecture-3-basic-nodes-and-flows/
Example 3.3 Using a change node to change or manipulate a message payload

How do you then use the msg variables in the data part of the message ?