telegram

找到微信聊天记录占空间的真正原因了

故事扮演 提交于 2020-09-30 15:27:58
作者|建国 编辑|曹琨 实习生韩菲 出品|人民数字与品玩联合出品 无论手机储存有多大,终有一天会被 App 们吃干净 你的手机储存只有 64GB,系统占了 20GB,图库占了 20GB,微信一个软件也能占 20GB。 为了装下你喜欢的游戏,拍摄更多照片视频,你不得不频繁清理微信聊天记录——然而一切都是徒劳,用不了多久,你的手机储存空间又会因微信的膨胀而告急。 你为了换手机,转移微信聊天记录时,手机无法使用,如果中途微信崩溃你还得重新扫码续传。整个过程耗时长达 2 小时。 这不是拍电视剧,这是我们老百姓自己的故事。 在不少用户眼里,微信于手机储存,就像一个毒瘤,它日益增大,任凭你怎么清理,也无法阻挡它膨胀的脚步。 有商家曾推出过给 iPhone 扩容的服务,可以把一台 64GB 的 iPhone 扩充至 128GB、256GB 等储存空间。治标不治本,你以为当你的储存空间足够大,微信等各类软件就会放过它们吗? 01 为什么 App 体积越来越大 在讨论为什么微信能占据那么多空间之前,我们先聊聊 App 本身。 在应用商店里,如果你仔细看软件大小那一栏,会发现一般数值都大于 100MB,微信、QQ、微博、快手、抖音等常用 App 无一例外,游戏就更不用说了,它的单位是以 GB 来计算的。回顾 5 年前,一个 App 的体积通常也不过 50MB,有的软件甚至只有 10MB。

How to download full size photo using Telegram Bot API uploaded from user

你说的曾经没有我的故事 提交于 2020-08-27 21:27:03
问题 I'm working on a telegram bot and I need to download photo, audio, video sent by user to the bot. Using the only path returned by the get file method I only get a thumbnail. In fact the only result of the get file method contains a really tiny value for the file size. I can't figure out where the problem is. The photos are normally sent by message as photo (not as file). 回答1: first you should download the photo with this api to your bot https://api.telegram.org/bot<token>/getfile?file_id={the

How to search for groups and channel in telegram using telethon?

会有一股神秘感。 提交于 2020-08-26 13:40:38
问题 I use telethon for sending messages to telegram using python script. I did not find anything in telethon to search for groups and channels I like used to search on telegram app. Please see iamge. How can I get such list using telethon? 回答1: Create file with your secrets: config.ini [Telegram] # no need for quotes # you can get telegram development credentials in telegram API Development Tools api_id = 1234 api_hash = 1234 # use full phone number including + and country code phone =

How to search for groups and channel in telegram using telethon?

↘锁芯ラ 提交于 2020-08-26 13:37:55
问题 I use telethon for sending messages to telegram using python script. I did not find anything in telethon to search for groups and channels I like used to search on telegram app. Please see iamge. How can I get such list using telethon? 回答1: Create file with your secrets: config.ini [Telegram] # no need for quotes # you can get telegram development credentials in telegram API Development Tools api_id = 1234 api_hash = 1234 # use full phone number including + and country code phone =

Sending animated GIFs with sendPhoto (Telegram bot)

*爱你&永不变心* 提交于 2020-08-24 06:51:42
问题 I'm trying to send an animated GIF with sendPhoto (Telegram's Bot API) with this request: https://api.telegram.org/bot<token>/sendPhoto?chat_id=<chat_id>&photo=http://i.giphy.com/13IC4LVeP5NGNi.gif That method works, as in, I get ok:true back, but the image in the chat window is a still snapshot of the moving GIF. How can I get the animated GIF to show? Is there another method I should use? 回答1: You should use the sendAnimation method for sending a GIF or H.264/MPEG-4 AVC video without sound