B
Size: a a a
B
AR
F
B
AR
G
B
F🍭
F🍭
AR
F
AR
/usr/src/telegram-bot-api/bin # ./telegram-bot-api
./telegram-bot-api: [Error : 0 : You must provide valid api-id and api-hash obtained at https://my.telegram.org]
Usage: telegram-bot-api --api_id=<arg> --api-hash=<arg> [--local] [OPTION]...
Telegram Bot API server. Options:
-h, --help display this help text and exit
--local allow the Bot API server to serve local requests
--api-id=<arg> application identifier for Telegram API access, which can be obtained at https://my.telegram.org (defaults to the value of the TELEGRAM_API_ID environment variable)
--api-hash=<arg> application identifier hash for Telegram API access, which can be obtained at https://my.telegram.org (defaults to the value of the TELEGRAM_API_HASH environment variable)
-p, --http-port=<arg> HTTP listening port (default is 8081)
-s, --http-stat-port=<arg> HTTP statistics port
-d, --dir=<arg> server working directory
-t, --temp-dir=<arg> directory for storing HTTP server temporary files
--filter=<arg> "<remainder>/<modulo>". Allow only bots with 'bot_user_id % modulo == remainder'
--max-webhook-connections=<arg> default value of the maximum webhook connections per bot
-l, --log=<arg> path to the file where the log will be written
-v, --verbosity=<arg> log verbosity level
--log-max-file-size=<arg> maximum size of the log file in bytes before it will be auto-rotated (default is 2000000000)
-u, --username=<arg> effective user name to switch to
-g, --groupname=<arg> effective group name to switch to
-c, --max-connections=<arg> maximum number of open file descriptors
--proxy=<arg> HTTP proxy server for outgoing webhook requests in the format http://host:port
B
B
B
F
/usr/src/telegram-bot-api/bin # ./telegram-bot-api
./telegram-bot-api: [Error : 0 : You must provide valid api-id and api-hash obtained at https://my.telegram.org]
Usage: telegram-bot-api --api_id=<arg> --api-hash=<arg> [--local] [OPTION]...
Telegram Bot API server. Options:
-h, --help display this help text and exit
--local allow the Bot API server to serve local requests
--api-id=<arg> application identifier for Telegram API access, which can be obtained at https://my.telegram.org (defaults to the value of the TELEGRAM_API_ID environment variable)
--api-hash=<arg> application identifier hash for Telegram API access, which can be obtained at https://my.telegram.org (defaults to the value of the TELEGRAM_API_HASH environment variable)
-p, --http-port=<arg> HTTP listening port (default is 8081)
-s, --http-stat-port=<arg> HTTP statistics port
-d, --dir=<arg> server working directory
-t, --temp-dir=<arg> directory for storing HTTP server temporary files
--filter=<arg> "<remainder>/<modulo>". Allow only bots with 'bot_user_id % modulo == remainder'
--max-webhook-connections=<arg> default value of the maximum webhook connections per bot
-l, --log=<arg> path to the file where the log will be written
-v, --verbosity=<arg> log verbosity level
--log-max-file-size=<arg> maximum size of the log file in bytes before it will be auto-rotated (default is 2000000000)
-u, --username=<arg> effective user name to switch to
-g, --groupname=<arg> effective group name to switch to
-c, --max-connections=<arg> maximum number of open file descriptors
--proxy=<arg> HTTP proxy server for outgoing webhook requests in the format http://host:port
-s, --http-stat-port=<arg> HTTP statistics port
покажиB
G
B
F