Commit Graph

140 Commits

Author SHA1 Message Date
levlam
34eb79bbb5 Add StickerSet.need_save_to_database.
GitOrigin-RevId: 90a1be59896d9cc5c49af536f6329791de3fe9d1
2020-04-17 15:06:08 +03:00
levlam
3bcf9ad301 Update layer 112.
GitOrigin-RevId: 9d2b213ecf8a60ffa9af17512c026ee0c71730b6
2020-04-16 21:46:58 +03:00
levlam
aefab830b1 Use better type in static_cast.
GitOrigin-RevId: 6babad6d6340d428cf73cbbe914c3e1fd4b30040
2020-03-31 03:02:51 +03:00
levlam
bcc8dbc158 Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
2020-03-31 00:35:58 +03:00
levlam
f153539ea2 Support creation of animated sticker sets by bots.
GitOrigin-RevId: d75133cf70b667cbdf6dc555cc06f2b43f9c8609
2020-03-23 18:03:13 +03:00
levlam
05253ca35e Add td_api::setStickerSetThumbnail.
GitOrigin-RevId: 1083c307cf89744c4dcfa16f89eaec1d2660309f
2020-03-20 16:36:07 +03:00
levlam
d6850e891e Add "animated_dice_sticker_set_name" option.
GitOrigin-RevId: b20ac808e74435c39acdb9f051ba11f77aa236af
2020-03-14 03:47:19 +03:00
levlam
3d07b45a21 Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
2020-03-14 01:56:47 +03:00
levlam
487cb20597 Ignore web remote locations instead of crash.
GitOrigin-RevId: 0ab5d749eeff28bc25befd6610038a7aa43206a5
2020-03-24 01:12:23 +03:00
levlam
c5b7a92e78 Do not warn on animated sticker size changes.
GitOrigin-RevId: 256c201cb91e2ee99f23abd2464cc586a27d66c5
2020-03-24 00:36:22 +03:00
levlam
eea23e4255 Fix formatting.
GitOrigin-RevId: 9d7abcae840a94912b8c0316c37a2553a38fa864
2020-03-16 19:42:10 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +03:00
levlam
9964c011ec Allow report private chats with users sharing their location.
GitOrigin-RevId: f1b546ea71a534436e487d4a644b4001bd274e09
2020-02-12 03:05:54 +03:00
levlam
2f9db6e6e6 Improve error message.
GitOrigin-RevId: c61623277759527102a48d2e6b8992ee87c90beb
2020-01-24 06:33:47 +03:00
levlam
dcb15d0a13 Asynchronously reload emoji keywords languages after restart.
GitOrigin-RevId: 1f24d44c715d96aead91402fdc7f6d7abf04d041
2020-01-08 19:25:36 +03:00
levlam
3659757dc3 Add parameter searchEmojis.input_language_code.
GitOrigin-RevId: c0cc78cb2957c9b9be4c3310a0505d08f6189006
2020-01-08 19:07:40 +03:00
levlam
580530b6d4 Allow to change StickerSet.is_animated.
GitOrigin-RevId: bf712a9e6f90e26b53e710c62a119ee1ec4340bd
2020-01-02 18:41:42 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
ba5ccf48c6 Add source to on_get_sticker_set.
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
2019-12-29 04:59:34 +03:00
levlam
9dde153313 Better integer casts.
GitOrigin-RevId: 3ae8b651f299dfe134ea5380891296cee44d01e9
2019-12-24 16:36:14 +03:00
Arseny Smirnov
e7e1521fd2 Fix example/tdweb build
GitOrigin-RevId: f924d875361fc363af32e5d703e3cac373927405
2019-12-23 21:33:03 +04:00
levlam
02e7697d02 Reload animated emoji sticker set only after getDifference.
GitOrigin-RevId: b69b2b4c51f934a2aeb04b7805408acdcf393417
2019-12-18 17:46:02 +03:00
levlam
c3d470a27c Remove unneeded add_*_inner proxy functions.
GitOrigin-RevId: ef4e8233590c1d4133c65275474c32f7f985d217
2019-11-30 21:22:40 +03:00
levlam
43fc3b3ecb Animated emoji sticker set cache.
GitOrigin-RevId: adb54c26e904cb0661f6880bfad9f86e5a4587d9
2019-11-21 22:18:29 +03:00
levlam
f5db9e48e7 Add animated_emojis_sticker_set_name option.
GitOrigin-RevId: 22b7bd84436ad2a8deb5388dc9434f98afbb880f
2019-11-21 20:22:05 +03:00
levlam
26c5328b89 Do not generate default constructors.
GitOrigin-RevId: 89afa038ad99739ca0465e05a2e123ac60e7fa7a
2019-11-21 17:53:39 +03:00
levlam
9628ec78df Fix CE.
GitOrigin-RevId: b9680ad8f7fbf6322b4bb3896e6d4a931072312e
2019-11-06 15:12:16 +03:00
levlam
2f2c09bf58 Fix CE and warning.
GitOrigin-RevId: 64989213b16f2450678a49e69f3f77d065cb6369
2019-11-02 03:39:14 +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
e84e131efd Use td::remove instead of std::remove.
GitOrigin-RevId: f64e6d2199f1b9049e2bc022de1f65c9efba6647
2019-10-22 01:29:19 +03:00
levlam
56c3a2fbed Use td::remove_if.
GitOrigin-RevId: 5cf21381966dc58689a06cc94cb8843fd8087bb9
2019-10-21 16:25:56 +03:00
levlam
408a456589 Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +03:00
levlam
c1a201fd7f Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
2019-11-17 22:41:28 +03:00
levlam
ee87414bab Fix misprints.
GitOrigin-RevId: e21e784c076005538ee889a61b12b8876567da13
2019-10-19 21:20:16 +03:00
levlam
06039ab496 Comment wrong CHECKs.
GitOrigin-RevId: 2111ac12ea1d7ebe07348457c7a1c962306474ae
2019-09-13 21:35:37 +03:00
levlam
64a77fc9fb Do not prefer animated recent stickers over non-animated.
GitOrigin-RevId: 112145286bd54de5706628bd8ad8d176e5895cf0
2019-09-03 21:41:11 +03:00
levlam
11c0fcc6ec Do not create documents without file_id.
GitOrigin-RevId: c208baf37b108ffb256c3a39dee0459fc081f017
2019-08-01 03:58:49 +03:00
levlam
cfe7b95be5 Do not replace known width and height of animated stickers.
GitOrigin-RevId: 0b74a1ffe07608c9d1ac447e5d471cc706894cbd
2019-07-30 19:41:49 +03:00
levlam
2fd851dfe2 Repair sticker set thumbnail if changed.
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
2019-07-30 18:43:29 +03:00
levlam
3fac3f7860 Prefer animated stickers in getStickers.
GitOrigin-RevId: 1652ae43c36ebcb69752042cebb5dc8407558c06
2019-07-26 02:54:35 +03:00
levlam
98b8929932 Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
2019-07-23 01:50:12 +03:00
levlam
e76c98ad74 Fix animated stickers extension.
GitOrigin-RevId: 69d65bd19e46fe2eb2dc6ebb4afd6dd64164ffc9
2019-07-18 19:47:29 +03:00
levlam
f53f73a34e Update has_webp_thumbnail.
GitOrigin-RevId: 7ec370bddc1f66ea1caae251d43542d5cd33c5d3
2019-07-15 04:26:41 +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
f921abfa86 Fix first call to searchEmojis.
GitOrigin-RevId: 56131407cdc354bb2c14ca1a190e4f825c0362e8
2019-06-27 15:31:29 +03:00
levlam
8add7cda73 Fix registering sticker thumbnails.
GitOrigin-RevId: 24316f587c3e316f0488d5a65dfbef161f621a59
2019-06-27 13:58:04 +03:00
levlam
a74cda9603 Fix warning.
GitOrigin-RevId: f2e991783d1897c23f857a20bf109c138eb96489
2019-06-18 02:05:32 +03:00
levlam
10e2fd28c0 Drop sticker set short_name set after receiving STICKERSET_INVALID.
GitOrigin-RevId: e77c9d60fff36263ca85b05212c77e578df5c902
2019-06-17 20:09:45 +03:00