Capitaliser Bot for telegram Send him a message and he will give you CAPS reply of sam text, so just dont waste time for holding SHIFT all the time
- Register a bot
- Get a token
- Get a domain and host with ssl (mandatory for webhooks)
- In case of self-signed certificate
openssl req -newkey rsa:2048 -sha256 -nodes -keyout YOURPRIVATE.key -x509 -days 365 -out YOURPUBLIC.pem -subj "/C=US/ST=New York/L=Brooklyn/O=Example Brooklyn Company/CN=YOURDOMAIN.EXAMPLE" - Enable webhook:
send post tohttps://api.telegram.org/bot<token>/setWebhookas multipart/form-data
containingurl=https://yourdomain.com/<token>andcertificateas File
- copy
.env.exampleto.envfile - update
BOT_ENVparam with real bot Token - install
npm i - run
npm startornpm prod(usingpm2global)