Telegram CLI Arguments
Lukas Rose edited this page May 26, 2015
·
3 revisions
The Telegram CLI-client offers various arguments to be passed at execution. This is basically a list that can be retrieved by executing telegram-cli -h
.
The following arguments are available:
-u specify username (would not be asked during authorization)
-k specify location of public key (possible multiple entries)
-v increase verbosity (0-ERROR 1-WARNING 2-NOTICE 3+-DEBUG-levels)
-N message num mode
-c config file name
-p use specified profile
-l log level
-f during authorization fetch all messages since registration
-E disable auto accept of encrypted chats
-s lua script file
-W send dialog_list query and wait for answer before reading input
-C disable color output
-R disable readline
-d daemon mode
-L <log-name> log file name
-U <user-name> change uid after start
-G <group-name> change gid after start
-D disable output
-P <port> port to listen for input commands
-S <socket-name> unix socket to create
-e <commands> make commands end exit
-I use user and chat IDs in updates instead of names
-6 use ipv6 (may be unstable)