The telegram bot API requires URLs to be of the form https://api.telegram.org/bot<token>/... but this library constructs them as https://api.telegram.org/<token>/... , so users have to add the "bot" manually to the token. This is surprising as the "bot" prefix isn't part of the token given by telegram.
The telegram bot API requires URLs to be of the form
https://api.telegram.org/bot<token>/...but this library constructs them ashttps://api.telegram.org/<token>/..., so users have to add the "bot" manually to the token. This is surprising as the "bot" prefix isn't part of the token given by telegram.