This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# Telegram API sending message without rate limit.
## Table of contents
- [Instructions](#instructions)
## Instructions
There are 2 endpoints handled by this microservice:
1 -> GET request to [{BASE_URL}/bot${botToken}/sendMessage]({BASE_URL}/bot${botToken}/sendMessage)
– url that you used for sending a message to chat through telegram bot (as GET request) usually looks like this:
You are expected to do the same thing you did with GET request: replace [https://api.telegram.org/](https://api.telegram.org/) part with {BASE_URL}, eventually looking like this:
[{BASE_URL}/bot<Bot_token>/sendMessage]({BASE_URL}/bot<Bot_token>/sendMessage) with request body:
```{
"chat_id": <chat_id>,
"text": <text>
}```
p.s. Requires redis and preffered configuration for redis is host being at 127.0.0.1 and port being at 6379