xooniverse / televerse

Your gateway to seamless Telegram Bot Development 💙
https://televerse.xooniverse.com
BSD 3-Clause "New" or "Revised" License
64 stars 11 forks source link

Added ctx.bot. #125

Closed im-trisha closed 1 year ago

im-trisha commented 1 year ago

We noticed that sometimes, it would be really useful to know which bot received the update, without everytime doing ctx.api.getMe() or some other workaround. After a discussion we decided to not expose ctx.bot and expose a ctx.me.