# 安装
pip3 install -U telegram-upload
apt install ffmpeg
配置需要自己先申请 api:https://my.telegram.org/apps
#第一次使用需要设置api和登录,美国手机号要+1,国内手机号要+86
telegram-upload
#默认上传到收藏夹
telegram-upload 文件
#上传到群组,频道,个人,机器人等等。
telegram-upload --to @用户名 --print-file-id --large-files split 文件