Commit Graph

79 Commits

Author SHA1 Message Date
levlam
f8b6d7340e Fix thumbnail format copy.
GitOrigin-RevId: 0b2a91ed524ce652c871f5d508f4a38ea36468f5
2020-07-20 01:02:41 +03:00
levlam
aee1132ac5 Ignore inline query games without photo.
GitOrigin-RevId: fbaacdb3054d18b23806ea12cdb3f5a376761299
2020-07-06 21:51:49 +03:00
levlam
9a92f6d571 Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
2020-07-06 18:45:43 +03:00
levlam
01d367ea9b Support new BOT_RESPONSE_TIMEOUT error.
GitOrigin-RevId: 958289f3dab582be0560f7dc11598210448d5139
2020-07-06 17:39:53 +03:00
levlam
4acf82c506 Add Photo.is_empty().
GitOrigin-RevId: 6dd6aeaaaa703f9cd865598d52b97eb64523fea0
2020-06-23 21:04:26 +03:00
levlam
ef04c17a89 Init photo ID to invalid by default.
GitOrigin-RevId: 072cd8bbd87267e086ed9a280ba5238e5e231a84
2020-06-23 20:50:16 +03:00
levlam
c921bcc5ed Improve NetQuery public field names.
GitOrigin-RevId: cfa0dbd98c1b03e4e86d62fc6486fcf90e72ef25
2020-06-10 02:44:54 +03:00
levlam
e665edc4fc Rename thumbnail.thumbnail to thumbnail.file.
GitOrigin-RevId: e50ff07938086c7c4de7953e57206ebfb96b50e4
2020-06-02 13:27:06 +03:00
levlam
113f3a7080 Add thumbnailFormatGif.
GitOrigin-RevId: 4ad35c83a6ae47d92cbb66cb60622d147f11c7b4
2020-06-01 20:34:48 +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
4c80155092 Improve spelling.
GitOrigin-RevId: 73edc0a7a57f40c404b4b5c8d00e9b20127f9abc
2020-05-18 22:54:18 +03:00
levlam
ebf10667b7 Added support for animated thumbnails in inline animations.
GitOrigin-RevId: 5a8830d6e89256900335b8667405b2f81f22f5bd
2020-05-15 19:48:21 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
7ec4c26514 Improve error messages.
GitOrigin-RevId: 336ef2751e51381c4dd7905ef5b050b691b91e08
2020-03-02 12:52:13 +03:00
levlam
d6dca91ff3 Add is_base64_characters functions.
GitOrigin-RevId: 5b3e8642e9d9788788ee1343af4eee9acf7dddc9
2020-01-09 20:18:53 +03:00
levlam
a9de33970b Add switch_pm_parameters checks.
GitOrigin-RevId: 5a948b1deadce1a5f4cc59af53942338bc00ee01
2020-01-05 00:23:44 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
02e7697d02 Reload animated emoji sticker set only after getDifference.
GitOrigin-RevId: b69b2b4c51f934a2aeb04b7805408acdcf393417
2019-12-18 17:46:02 +03:00
levlam
edd3bb94a4 Add td_api::remoteFile.unique_id.
GitOrigin-RevId: b6355e905d7268aefbb4dd2e951b15e12504ee54
2019-10-25 17:04:01 +03:00
levlam
918f6a0cfd Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
2019-10-22 02:12:58 +03:00
levlam
0d72fd638e Add Venue.{cpp,h}.
GitOrigin-RevId: 19dd4da6d4792ecbb84fdba560e49affcfcf5bed
2019-10-13 02:39:44 +03:00
levlam
c1a201fd7f Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
2019-11-17 22:41:28 +03:00
levlam
ad167a48ba Pass Slice to parse_url.
GitOrigin-RevId: e6cd357042b827ca56a11bb377c8b07ccd120230
2019-08-05 12:56:28 +03:00
levlam
8094d415db Add support for animated stickers in inline bot results.
GitOrigin-RevId: a25f45ef24aad2e92d461718a6f3b0ba101cdd76
2019-07-26 03:40:40 +03:00
levlam
5a7f326140 Support animated stickers.
GitOrigin-RevId: f4a02797a47ffb39eaeee5bcc75ad4b5231dfdfd
2019-07-15 03:43:05 +03:00
levlam
cf4433dc52 Use get_photo(telegram_api::Photo) whenever possible.
GitOrigin-RevId: 6ab86f8a10f8a80584cd7a4ada4fbbda19df9d96
2019-06-17 02:41:57 +03:00
levlam
43483e743d Update layer to 92: minithumbnails support.
GitOrigin-RevId: a2e3bba42504cdaf91db1e0113bc98c450ba78c9
2019-03-01 22:51:33 +03:00
levlam
dc79cdc0b1 Add Document class.
GitOrigin-RevId: e1a5a8235f341cf0955ee37086a99a17e7b123de
2019-04-09 18:38:57 +03:00
levlam
693157eeb4 Separate inline queries cache for broadcast channels.
GitOrigin-RevId: 4235355201f50ee22312050a3c528879dde6d759
2019-04-02 01:40:32 +03:00
levlam
e5400074ce Move FileType to FileType.h.
GitOrigin-RevId: 7e35c0f30b7755755b0583704dcfe344cc28d117
2019-01-20 00:54:29 +03:00
levlam
e22e23a5ff Add source to on_get_user and on_get_chat.
GitOrigin-RevId: a3f187dc0d7d981df6ca3f2566f66678b4ad4774
2019-01-12 06:48:39 +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
Arseny Smirnov
3b238f6fba Files streaming
GitOrigin-RevId: 78df1cd44c95380cd4af46f4db809ce28876db1f
2018-11-11 15:38:04 +04:00
levlam
00c10535a2 Add extract_input_caption method.
GitOrigin-RevId: d49433b0d7d9313bf8f4814c90f28717678b8444
2018-12-12 17:05:32 +03:00
levlam
4f7a52fbb1 Move process_input_caption to MessageEntity.h.
GitOrigin-RevId: 6b5b39d2d82fefbfb6c23df977644c39549ead2e
2018-12-12 16:35:59 +03:00
levlam
7466a29da7 Fix dropping inline query results.
GitOrigin-RevId: e886dac54666ce0fc5a506d7db1c15ee62533034
2018-12-02 22:31:18 +03:00
levlam
68f477d71e Add more getDifference logging.
GitOrigin-RevId: 047ed590512ec3f97c90d08d2cd709d7e4948519
2018-11-21 17:14:35 +03:00
levlam
bc54e5e335 Fix full_split behavior on empty string.
GitOrigin-RevId: 74fcaeee970ab26f1bee221babf9b6029237c6cc
2018-11-16 00:11:03 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
091d7143e3 Fix includes.
GitOrigin-RevId: 68b59141c12d6e24ddaf0fa48008bf58935bd818
2018-09-29 04:41:15 +03:00
levlam
4cf6aba717 Move MessageContent and InputMessageText implementations to corresponding files.
GitOrigin-RevId: d308007a3c850f1969b64a08865787ee7b340b34
2018-09-28 23:57:34 +03:00
levlam
09beaef806 Make process_input_message_text static.
GitOrigin-RevId: 3e7989ecb8ba90da7324748022ebc77b3ebc7660
2018-09-28 17:39:07 +03:00
levlam
99862b4834 Make create_inline_message_content static.
GitOrigin-RevId: 59768937beb97c7ecb0571f2a28b950e59fd9992
2018-09-28 13:57:56 +03:00
levlam
9ec9377815 Make more functions static.
GitOrigin-RevId: 70c3e1fee2af9620ef61e4d337ba8126ca41634c
2018-09-28 02:16:49 +03:00
levlam
073541718d Separate method for InlineQueriesManager::create_inline_message_content.
GitOrigin-RevId: 6ea0152a182ef09cc1960f1fd16b081c1654dc1e
2018-09-27 20:23:48 +03:00
levlam
86bc53bb0e Fix usages of full_split.
GitOrigin-RevId: 17a750e4a9a7add83302694ad2e8771bf8ed6199
2018-09-23 02:46:09 +03:00
levlam
9c9ee999c4 Simplify InlineQueriesManager::get_inline_message_content.
GitOrigin-RevId: bf32b2756b899513afa6d935820d5ad37d158267
2018-09-22 03:47:40 +03:00