Javascript Telegram Bot
I think you can get all the references of bot apis of telegram by refering below link
-> https://core.telegram.org/bots/samples
I hope you will get your solution here.
Thank you
Ankur