Project/TelegramBOT
Install Telegram CLI on CentOS 7
sonkadak
2016. 10. 6. 16:07
GIT HUB repository - https://github.com/vysheng/tg
Follow the installation guide.
Tool setup
# yum install libevent-devel openssl-devel readline-devel libconfig-devel lua-devel git
# wget http://www.digip.org/jansson/releases/jansson.tar.gz
# tar xvzfp jansson.tar.gz
# ./configure
# make
# make install
# ln -s /usrs/local/libjansson.so.4 /usr/lib64/
Run Telegram CLI
# bin/telegram-cli -k server.pub
Then enter your phone number to get code and enter the code.
reference link - http://oty580.tistory.com/27