Clone repo and install dependencies:
git clone https://github.com/ForgedForce/cai2tg && cd cai2tg
pip3 install -r requirements.txt
python3 cai2tg.py
P.S. Put your c.ai token, c.ai char, Telegram bot token and your Telegram account ID in config.py