Commit Graph

53 Commits

Author SHA1 Message Date
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
levlam
f08c0180b4 Const-correct tl::unique_ptr.
GitOrigin-RevId: b72a92a7169973c2d95e410cfbfed668a412e7e7
2018-09-21 20:52:22 +03:00
levlam
a4f98024a0 Add date to user profile photos.
GitOrigin-RevId: 70ed9117d9cfc5a0e0db4746e645f2e704599a1b
2018-09-12 23:59:10 +03:00
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
48740add28 Init some uninitialized Result variables.
GitOrigin-RevId: 48e15168e48d131c53a93a5c2971c7dadeeeb270
2018-06-27 19:24:42 +03:00
levlam
aa13a57a3c Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
levlam
a87d1bf960 Add source to get_message_text.
GitOrigin-RevId: 7be2398a51a95fa8a57b934042e945be0052c34f
2018-04-16 16:52:00 +03:00
levlam
184af85bfc Update layer 78: venue_type, email code length.
GitOrigin-RevId: c10dc49dd0ecd467a78b17081239305035f6e642
2018-04-09 21:06:37 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
7626910c45 Fix inline results attributes.
GitOrigin-RevId: 42597e979cd851cdddb1f62f85453dee61f048ab
2018-04-04 10:21:21 +03:00
levlam
92e9550ebd Add source to get_input_message_entities.
GitOrigin-RevId: 505c9c96286e7e6026902cbf1b92f1cc3142f5ad
2018-04-02 01:10:22 +03:00
levlam
1701045b17 Fix inlineQueryResultArticle.
GitOrigin-RevId: c86d62c96820e10c332a649d0f8a4df8845ef0db
2018-03-19 13:57:46 +03:00
levlam
e0e8e69cde Fix article content type.
GitOrigin-RevId: 0469eb98f3603ea6f7f220d92374572d6b029e87
2018-03-18 03:47:32 +03:00
levlam
62e1f418e2 Fix inline query type detection.
GitOrigin-RevId: 09dda10c23f587efb790237d5e50009c1a10a599
2018-03-13 02:12:51 +03:00
levlam
c35bc1c0fc Remove now unsafe FileId constructors.
GitOrigin-RevId: eb3e37f4056ff6b967e4fd3d9b310fdc0e7602a1
2018-03-07 02:37:39 +03:00
levlam
d64280c890 Update layer #76.
GitOrigin-RevId: d865abc2c8fb9b3b1350fcd689ef086de38aab3e
2018-03-04 00:33:26 +03:00
levlam
1ac97a6ba7 Various fixes.
GitOrigin-RevId: 80fa34e64e6824a0f96c38d2e8b0a32455267ea8
2018-02-28 13:25:07 +03:00
levlam
d23f21abb0 Move fix_text_message implementation to MessageEntity.cpp.
GitOrigin-RevId: 24e1a7d780f5cbef62f6b2df9b4df042ab89feea
2018-02-20 05:41:17 +03:00
levlam
b676810b50 Use get_url_file_name whenever appropriate.
GitOrigin-RevId: 4a1f408424883c56d2017f4239cae01987bd39c0
2018-02-20 02:29:19 +03:00
levlam
2cd12d5049 Add source to get_message_entities.
GitOrigin-RevId: af699950241416adb082a08a8f6c4e106f0fb24d
2018-02-11 19:43:58 +03:00
levlam
6b927449eb Fix some includes.
GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
2018-02-11 18:58:18 +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
79df9bac53 Accept slice in to_double.
GitOrigin-RevId: 3e68b84972a15404ab6ec43b6c157289487b3a5b
2018-02-03 23:01:33 +03:00
levlam
a9ed429205 Add source to get_*_id_object.
GitOrigin-RevId: 4d3016274a22be4a59ee088ad6f3d9c297128a08
2018-02-03 02:05:11 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
levlam
dc274ea3b5 Send update with an empty User for unknown users.
GitOrigin-RevId: 470184a7277bbce3855ecad8acf955369370ff76
2018-01-26 22:53:20 +03:00
levlam
5895f817d8 Support missed device token types, better names for 'token' fields.
GitOrigin-RevId: 2bf86a45e30387a8bf0ee0aa93c1c795f402d138
2018-01-19 18:04:16 +03:00