Commit Graph

48 Commits

Author SHA1 Message Date
levlam
a13afd0a93 Use std::move to update document fields. 2022-10-20 01:16:24 +03:00
levlam
6917d9c36f Improve secret chat schema constructor naming. 2022-09-28 12:17:04 +03:00
levlam
8f433070df Minor fixes. 2022-08-14 15:04:08 +03:00
levlam
29460cacc8 Use WaitFreeHashMap for document storages. 2022-08-04 10:50:34 +03:00
levlam
8ec29b019a Use get_document if possible. 2022-08-03 23:23:32 +03:00
levlam
ad72974e70 Simplify implementation of merge_* for documents. 2022-08-03 21:58:07 +03:00
levlam
33623f9818 Remove unused can_delete_old parameter. 2022-08-03 21:38:03 +03:00
levlam
0f87447ffc Asynchronously destroy some big data storages. 2022-07-20 13:40:14 +03:00
levlam
1e417ea212 Minor fixes. 2022-06-02 16:19:16 +03:00
levlam
880a582959 Add layer 143 to secret chats. 2022-05-11 07:46:06 +03:00
levlam
f9f309d334 Simplify SecretInputMedia creation. 2022-05-11 01:53:18 +03:00
levlam
05c0833525 Add PhotoFormat.h. 2022-04-09 23:21:07 +03:00
levlam
2b1314295d Check and fix half of FlatHashMap usages. 2022-02-10 00:59:52 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
aaff89a6c3 Make get_document_object methods const. 2021-08-28 14:16:29 +03:00
levlam
cf7c14fb59 Remove unneeded document.is_changed. 2021-08-26 18:50:28 +03:00
levlam
d7c739dc70 Ignore document and chat photo minithumbnails by bots. 2021-05-27 21:15:30 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
34cc9092c9 Update layer 122. 2020-12-18 17:43:23 +03:00
levlam
3fefdb6462 Add td_api::animatedChatPhoto.
GitOrigin-RevId: 430f3b6bcb0bcfaffdcc6f26a4ee017518a64162
2020-07-07 11:41:01 +03:00
levlam
d5b4c57993 Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
2020-06-22 02:02:21 +03:00
levlam
8d0fa5ce77 Add td_api::thumbnail.
GitOrigin-RevId: b74fa62e415816ce63d3bd4415bd2bb8d6aa3f8b
2020-05-31 22:22:15 +03:00
levlam
4a1e2ee34c Add animated thumbnail support for animations and videos
GitOrigin-RevId: a9026a32be9a9ddf2597c6244e112fd853d81b1f
2020-05-30 01:48:56 +03:00
levlam
e8cb1dfeb5 Support stickers attached to animation.
GitOrigin-RevId: 3e2464146410fbc68b51721b10327f1ac92cbb66
2020-05-29 11:51:51 +03:00
levlam
4293e4bec1 Fix some includes.
GitOrigin-RevId: 760f9d7e09881bfc061a78118008cf7fdf4660f4
2020-01-27 04:54:01 +03:00
levlam
7bc9e93581 Always send video by bots using inputMessageVideo.
GitOrigin-RevId: eccc660e7c91139386a144db52c8f44719401bd2
2020-01-23 00:21:23 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
c1a201fd7f Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
2019-11-17 22:41:28 +03:00
levlam
11c0fcc6ec Do not create documents without file_id.
GitOrigin-RevId: c208baf37b108ffb256c3a39dee0459fc081f017
2019-08-01 03:58:49 +03:00
levlam
43483e743d Update layer to 92: minithumbnails support.
GitOrigin-RevId: a2e3bba42504cdaf91db1e0113bc98c450ba78c9
2019-03-01 22:51:33 +03:00
levlam
ed25f88c19 Prefer InputFile over remote location in get_input_media.
GitOrigin-RevId: 01db2a0669b966ddac59b7f18b62f154cb54a427
2019-02-12 04:50:30 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
c1f4e9d292 Make get_*_duration const.
GitOrigin-RevId: 85b5eb4cb221c2144318989d4d93b45784adcdf4
2018-09-27 21:14:32 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
deecdb66bc Fix some td/actor/ includes.
GitOrigin-RevId: f9cf960b96018c4eb6169d2ec6cb5d3fbc16c0ec
2018-07-03 22:29:04 +03:00
levlam
54e1a4f100 Fix sending secure files to secret chats.
GitOrigin-RevId: e5cafeb4d3e48c3b5c925c81dd3406d8b0ce44da
2018-06-08 22:23:49 +03:00
levlam
6669bd8c7b Support for recent_stickers_limit.
GitOrigin-RevId: f49119eb0703bb03e7c564a4f90a1f91f9c6074b
2018-03-08 16:49:45 +03:00
levlam
032aed823a Fix file list hash calculation.
GitOrigin-RevId: e39474ebdc128079f65a4e2d97ecc4b0a8419c22
2018-03-07 02:02:49 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
3abe871746 Set nosound flag for InputMessageVideo.
GitOrigin-RevId: b5706f621abe629360b5cacd3106c5764f3744a8
2018-02-09 19:35:30 +03:00
levlam
154022ebfe Update layer 75:
- Add connected websites support.
- Add flag supports_streaming to video and inputMessageVideo.
- Add new methods for message loading: getRepliedMessage and
  getChatPinnedMessage.

GitOrigin-RevId: 1dc5d367e27722fe9c8d2765f62ed80176eea2ce
2018-02-07 02:31:38 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
levlam
2bd0b62f9a Disable deletion of old document info.
GitOrigin-RevId: 23a398aede9e1cae62d4e679474f9b82f55cefa4
2018-01-06 23:55:14 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00