nestjs-telegram
nestjs-telegram copied to clipboard
this.url undefined
When I try to make a request axios dosen't get the first part of url from:
this.url = https://api.telegram.org/bot${this.options.botKey}/
;
when I move that line to constructor from on moduleInit it works fine.
I moved it to the constructor, but I still get
https://api.telegram.org/botundefined/getMe
I have tested and confirmed that my code is pulling my API key variable from .env everywhere else.