Commit Graph

571 Commits

Author SHA1 Message Date
levlam
48a97d5497 Resave changed sticker set to database. 2023-05-15 14:10:35 +03:00
levlam
012424074b Expect that short name of sticker sets can change. 2023-05-15 14:00:37 +03:00
levlam
b88da80fc2 Fix sticker comparison in remove_recent_sticker. 2023-04-19 12:11:22 +03:00
levlam
e1eff4a06a Add MessagesManager::get_chat_id_object for checking chat_id before returning it. 2023-04-13 22:41:22 +03:00
levlam
46a76fa9a8 Add CustomEmojiId::get_custom_emoji_ids. 2023-03-27 00:54:44 +03:00
levlam
e5cb2fa963 Add call_source to register_photo_size. 2023-03-15 00:23:41 +03:00
levlam
d6faa001e2 Add Global::use_sqlite_pmc. 2023-03-14 01:41:04 +03:00
levlam
f1311610e5 Remove unneeded TdParameters.h includes. 2023-03-13 20:10:18 +03:00
levlam
835ee52491 Make TdParameters private in Global. 2023-03-13 19:47:38 +03:00
levlam
1af9e9fed1 Add more fatal error logging. 2023-03-08 13:40:06 +03:00
levlam
d4646d4cd9 Minor improvements. 2023-03-06 16:59:18 +03:00
levlam
00983863e3 Pass specified emoji in documentAttributeSticker. 2023-02-26 22:40:58 +03:00
levlam
670a42885a Fix sticker set deletion. 2023-02-21 21:53:58 +03:00
levlam
4b7a3dc649 Make StickerSetId storer/parser implementation private. 2023-02-21 12:23:39 +03:00
levlam
862abd1e84 Reregister uploaded by URL WEBP stickers. 2023-02-20 20:40:37 +03:00
levlam
f75c6b6762 Fix uploading of WEBP stickers by URL. 2023-02-20 14:00:54 +03:00
levlam
ba2c797350 Return Ok from setStickerSetThumbnail. 2023-02-16 20:38:19 +03:00
levlam
c3d2ad8c59 Return Ok from addStickerToSet. 2023-02-16 19:50:52 +03:00
levlam
359ec5e66c Add td_api::deleteStickerSet. 2023-02-16 16:17:29 +03:00
levlam
1064fb2d6a Move inputSticker checks to StickersManager::prepare_input_file. 2023-02-14 16:15:13 +03:00
levlam
e8d022e52c Simplify StickersManager::upload_sticker_file. 2023-02-14 16:10:27 +03:00
levlam
7be16c8a68 Move sticker_format out of inputSticker. 2023-02-14 14:59:03 +03:00
levlam
ae0a473cb9 Add td_api::setStickerMaskPosition. 2023-02-10 15:52:25 +03:00
levlam
b895900e75 Simplify td_api::emojiCategory usage. 2023-02-09 22:47:44 +03:00
levlam
8e74b99e13 Add td_api::setStickerKeywords. 2023-02-09 21:43:38 +03:00
levlam
c53b05e4e8 Add td_api::setStickerEmojis. 2023-02-09 20:42:09 +03:00
levlam
4d8fae253e Simplify uploadStickerFile. 2023-02-09 16:05:26 +03:00
levlam
b6de7319d4 Support inputSticker keywords. 2023-02-09 15:23:55 +03:00
levlam
8e2cbeebc1 Add td_api::setStickerSetTitle. 2023-02-08 21:43:09 +03:00
levlam
9871aba024 Add td_api::setCustomEmojiStickerSetThumbnail. 2023-02-08 21:29:54 +03:00
levlam
5bbac9d0b4 Support creation of repainted custom emoji sticker sets. 2023-02-08 20:29:53 +03:00
levlam
58775c5852 Allow to create emoji sticker sets. 2023-02-08 20:01:56 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
d1f6ae168b Simplify sticker set source logging. 2023-02-25 23:37:50 +03:00
levlam
6cf6f32418 Add Global::ignore_result_if_closing. 2023-02-16 13:35:27 +03:00
levlam
abbeffe964 Improve thumbnail variable names. 2023-02-14 15:10:27 +03:00
levlam
6ba394fc41 Add class StickerMaskPosition. 2023-02-09 20:15:21 +03:00
levlam
5a39bb4952 Use error code returned by get_input_file_id. 2023-02-09 18:31:02 +03:00
levlam
7b759a06bc Add StickersManager::get_sticker_input_document. 2023-02-09 17:26:50 +03:00
levlam
58c4a12ca6 Fix getPremiumStickers. 2023-02-08 18:36:54 +03:00
levlam
7eee3f469a Update clang-format to 16.0.0. 2023-02-08 15:28:36 +03:00
levlam
3d0140b3ef Fix SQLite key-value usage. 2023-02-06 15:41:22 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
d824cec905 Add get_custom_emoji_stickers_unlimited. 2023-02-01 03:48:06 +03:00
levlam
7596600548 Reload default chat photo custom emoji identifiers. 2023-02-01 02:35:57 +03:00
levlam
4d70d1e920 Minor improvements. 2023-01-31 13:33:30 +03:00
levlam
75dacac872 Add td_api::emojiCategoryTypeChatPhoto. 2023-01-27 15:16:40 +03:00
levlam
f6485e711e Add StickersManager::get_used_language_codes_string. 2023-01-25 20:25:23 +03:00
levlam
30cdbe69b6 Store emoji groups in the database. 2023-01-25 16:23:34 +03:00
levlam
b02f134798 Add td_api::EmojiCategoryType. 2023-01-24 21:38:53 +03:00