I am building a bot using the Bot composer that is registered across channels. I want to capture and log the channel information, such as the channel source (Telegram, Line). Is it possible to do that?
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
You can see it in
turn.activity.channelId
To view complete Json payload use
${turn.Activity}
and for the channel source you can use${turn.Activity.channelId}
.