Commit Graph

78 Commits

Author SHA1 Message Date
levlam
099e767b6b Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
2019-11-26 19:33:18 +03:00
levlam
1e018da7b8 Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
2019-10-22 20:01:15 +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
408a456589 Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +03:00
levlam
15f31cf23a Add storer and parser for unique_ptr.
GitOrigin-RevId: 2b0f5c8a3e9f7a9343cf9557d10cbf95009ba847
2019-09-18 02:42:38 +03:00
levlam
c1a201fd7f Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
2019-11-17 22:41:28 +03:00
levlam
35bf5e2f32 Add more logging.
GitOrigin-RevId: 4e84e89517d3e28911f8d876fe3ccc6ef741c4f5
2019-11-17 01:43:47 +03:00
levlam
c91efe472b Add force to another overload of get_input_media.
GitOrigin-RevId: fc64a9f6ee08e5432c6475f8b1493bcd2524ae4f
2019-10-09 02:59:25 +03:00
levlam
8dbd3bf091 Consider links in captions for Shared URLS.
GitOrigin-RevId: f39f78d64b7d2e64b7b2682f688accbabce2a907
2019-09-08 02:05:55 +03:00
levlam
926dd7f8f4 Keep photo size type.
GitOrigin-RevId: b07bd8da83b8461d8f0a4314276cc74850c62989
2019-09-02 03:51:41 +03:00
levlam
95c0b286a5 Merge always 'i' photo size to repair access_hash and file_reference.
GitOrigin-RevId: 0373f4ab6c13cc03d94a839d1191c50f8163618d
2019-08-28 02:13:47 +03:00
levlam
84695437d3 Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
levlam
c045fce56a Add information about failed to send messages.
GitOrigin-RevId: a4cb3669b5cf478a2e2f5ca1ecf2ea9c5f3ef5cc
2019-08-11 00:14:35 +03:00
levlam
3bca7b1448 Add send_copy to inputMessageForwarded.
GitOrigin-RevId: 7327021564789e8ff436e2f56f243684b7ce8183
2019-08-09 20:28:49 +03:00
levlam
c71dbc28a0 Add send_copy parameter to forwardMessages.
GitOrigin-RevId: 059f992cc8b9c6ae1c6ab3910ffc52b906d12e88
2019-08-09 17:41:26 +03:00
levlam
981d2bd8fe Better UTF-8 validness checks for text before parsing.
GitOrigin-RevId: 9578d9fb69da619cee706d61687bf904b9cdf2ad
2019-07-27 23:07:10 +03:00
levlam
e355cabc56 Increase MessageUnsupported version to reget all animated stickers.
GitOrigin-RevId: defb240fb76cdcb8ba96b949773b3572203db7b7
2019-07-18 19:49:14 +03:00
levlam
5b032ba290 Fix handling of sticker thumbnails.
GitOrigin-RevId: d551c7d00baa5fbc2e2090b15fd26ff41929ae5b
2019-07-15 04:01:26 +03:00
levlam
5a7f326140 Support animated stickers.
GitOrigin-RevId: f4a02797a47ffb39eaeee5bcc75ad4b5231dfdfd
2019-07-15 03:43:05 +03:00
levlam
cfc9cc5f28 Remove support for two file references.
GitOrigin-RevId: 3bf8031e9cc8bcd95e8cb74246c32d9198991aa1
2019-06-17 05:37:57 +03:00
levlam
cf4433dc52 Use get_photo(telegram_api::Photo) whenever possible.
GitOrigin-RevId: 6ab86f8a10f8a80584cd7a4ada4fbbda19df9d96
2019-06-17 02:41:57 +03:00
levlam
e91da22a5b Rename get_photo to get_encrypted_file_photo.
GitOrigin-RevId: 5a9d73b4d3202ed19b646c0bf3fd4ce4d85a9350
2019-06-17 02:05:56 +03:00
levlam
4c781ebb7b Update layer to 98.
GitOrigin-RevId: 7bc09a6ec637f12b2f90bc1fb6d82903feffc376
2019-06-08 12:26:35 +03:00
levlam
5e69f957f3 Add get_cha{t,nnel}_permissions.
GitOrigin-RevId: 7d00023ed7497f89cc3895c9a1d4f267f7332922
2019-03-22 15:23:44 +03:00
levlam
3ecf990ad6 Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
2019-03-15 16:52:55 +03:00
levlam
43483e743d Update layer to 92: minithumbnails support.
GitOrigin-RevId: a2e3bba42504cdaf91db1e0113bc98c450ba78c9
2019-03-01 22:51:33 +03:00
levlam
af39698707 Add reply_markup to stopPoll.
GitOrigin-RevId: 08cf68d42ecc6c25cd8ec7146fb7e3b1856a7207
2019-04-12 02:10:33 +03:00
levlam
082ba9e020 Add document contents to pushMessageContent.
GitOrigin-RevId: 5baa4853f4e47d9f50f23ca74ebbed0369f17558
2019-04-09 23:39:41 +03:00
levlam
dc79cdc0b1 Add Document class.
GitOrigin-RevId: e1a5a8235f341cf0955ee37086a99a17e7b123de
2019-04-09 18:38:57 +03:00
levlam
bbc3bd7441 Do not allow polls with 1 option.
GitOrigin-RevId: d959269ff926ce6e495336f36d1edea1a78abb75
2019-04-09 03:39:05 +03:00
levlam
6cebe30382 Find entities in MESSAGE_ANNOUNCEMENT.
GitOrigin-RevId: 3ca4500dea9ba0f3561470416db21bc1cc42616a
2019-03-26 01:24:23 +03:00
levlam
84878f9750 Add force to get_input_media.
GitOrigin-RevId: 4477e6cb08505aef269b5110e8ef4bbff04d0bd3
2019-03-17 00:07:10 +03:00
levlam
c075f6da9a Fix stopping local polls.
GitOrigin-RevId: b93d62aa04c2ee4fb2d3e1c0f697709552b028b0
2019-03-13 17:53:48 +03:00
levlam
a893653ba6 Pass list of members in speculative_*channel_participant.
GitOrigin-RevId: 765ef5abbb2a2c139810dda32aa1e2c1fe5e4009
2019-03-12 16:20:53 +03:00
levlam
0b689bdc23 Add poll search text.
GitOrigin-RevId: a7da84edd364361186db1cf0807759b94b601f95
2019-03-03 06:36:30 +03:00
levlam
8edd3b3811 Fix adding thumbnails to file_ids list.
GitOrigin-RevId: 880d7b1720050685b502925aa281c6de4945e1fb
2019-02-28 21:40:57 +03:00
levlam
40ae8b9fd5 Disallow forwarding of local polls.
GitOrigin-RevId: a83397233c86ff791eda2c1cd39be77ee8488307
2019-02-25 19:19:01 +03:00
levlam
075874d729 Poll results polling.
GitOrigin-RevId: 3d70603f2f219f069e2784206adc5d7c7c96ff3f
2019-02-22 22:53:02 +03:00
levlam
168add9006 Add td_api::stopPoll.
GitOrigin-RevId: f2d9b5d42e267b9d06591450d69efb323639bb66
2019-02-22 18:09:55 +03:00
levlam
559aca6cec Use the same poll options as in Android client.
GitOrigin-RevId: bb8527d1a67872686028c38c27352e2632eb9711
2019-02-21 22:37:15 +03:00
levlam
b852bd145f Add td_api::setPollAnswer.
GitOrigin-RevId: 40c409ea8b4bba6d1ee0137a5cab8dca889d71dd
2019-02-21 15:23:05 +03:00
levlam
d22dfb2a0c Rename poll answers to options.
GitOrigin-RevId: bcb2b9f6b29b58a3460df18773148eb426935664
2019-02-21 03:52:58 +03:00
levlam
74b37c56a2 Make Location.access_hash mutable.
GitOrigin-RevId: c035dcdc3873d39436bb5fb9f5680f066c8debe1
2019-02-19 18:52:09 +03:00
levlam
839c1856ff Register polls.
GitOrigin-RevId: 812e3e699a578effab96c4d798d5b74ddf635371
2019-02-19 18:42:59 +03:00
levlam
9de3304ec4 Close failed to send polls.
GitOrigin-RevId: 6f9dcde4bbfcbc1fa63ed94641775007e3091706
2019-02-19 17:06:48 +03:00
levlam
5ef99afec7 Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
2019-02-19 16:45:32 +03:00
levlam
8f33e737e1 Ypdate to layer 91.
GitOrigin-RevId: 15675ae2938bbc64dd288fce11cbd9cab1c714e3
2019-02-18 03:27:35 +03:00
levlam
27a0bbd158 Precerve file remote in check_input_file_id.
GitOrigin-RevId: 52a3d32a606b8907f1ab94b7c10c2413346e66ec
2019-02-15 21:49:02 +03:00
levlam
e7fc6f4d58 Update layer to 90.
GitOrigin-RevId: d105e3fe4c4c16764a8062915ad20bb9b8e3f815
2019-02-13 19:05:34 +03:00