telegram bot with javascript code example
Example: 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