Commit Graph

6790 Commits

Author SHA1 Message Date
levlam
286e8b521b Fix storePaymentPurposeGiftedPremium.amount type. 2022-07-29 19:25:49 +03:00
levlam
04613e8d48 Improve password fields documentation. 2022-07-29 16:37:36 +03:00
levlam
8f81a46ede Allow some new characters in hashtags. 2022-07-29 16:23:05 +03:00
levlam
8072fe673e Switch back to server-side copy for polls. 2022-07-29 14:58:57 +03:00
levlam
ddbca1bb16 Use different resource limit for upload and download connections. 2022-07-28 17:34:29 +03:00
levlam
fac6b73999 Add audio.album_cover. 2022-07-28 17:11:51 +03:00
levlam
90df870adb Support audio thumbnail download. 2022-07-28 16:47:19 +03:00
levlam
3a275827e9 Add FileManager::is_remotely_generated_file and improve some names. 2022-07-28 15:59:57 +03:00
levlam
86acab5250 Support getMessageThread with non-root messages in supergroups. 2022-07-28 15:06:58 +03:00
levlam
c55baf4c61 Ignore empty custom emoji documents. 2022-07-28 12:56:53 +03:00
levlam
a5da79327d Preload and check all custom emoji in secret chats. 2022-07-27 23:47:16 +03:00
levlam
36c6b84ec8 Add remove_premium_custom_emoji_entities. 2022-07-27 23:36:44 +03:00
levlam
e601012e9f Remove known premium emoji from secret chat messages from non-premium users. 2022-07-27 21:52:42 +03:00
levlam
84202b5554 Add limit on the total number of entities in secret chat messages. 2022-07-27 21:28:43 +03:00
levlam
af607bf611 Support spoiler and custom emoji entities in secret chats. 2022-07-27 21:10:18 +03:00
levlam
6383e7f1b1 Improve remove_unallowed_entities. 2022-07-27 20:35:40 +03:00
levlam
e3ae8957bb Support addemoji links. 2022-07-27 19:58:58 +03:00
levlam
99b39069a4 Document limit on the number of identifiers allowed in getCustomEmojiStickers. 2022-07-26 20:05:48 +03:00
levlam
7cdf1a05bb Update custom emoji once a day. 2022-07-26 19:29:37 +03:00
levlam
59a27e3b15 Get from the server only unknown custom emoji. 2022-07-26 18:48:18 +03:00
levlam
e96a1995a2 Load custom emoji from database, 2022-07-25 23:04:53 +03:00
levlam
f20f015caa Save custom emoji to database. 2022-07-25 21:18:43 +03:00
levlam
8331941754 Support multiple saved credentials. 2022-07-25 19:08:50 +03:00
levlam
366fd53a92 Add class td_api::SpeechRecognitionResult. 2022-07-25 13:47:06 +03:00
levlam
d4b59bda87 Add internalLinkTypeRestorePurchases. 2022-07-25 12:06:32 +03:00
levlam
4e9c7ffbf2 Return custom emoji from in-memory cache if possible. 2022-07-24 19:54:15 +03:00
levlam
bcf2580e09 Add discount_percentage. 2022-07-24 16:18:20 +03:00
levlam
8183e062ab Handle installed sticker sets of incorrect type in the database. 2022-07-24 15:03:54 +03:00
levlam
40b5b586e6 Add sticker_type to getStickers. 2022-07-24 14:53:48 +03:00
levlam
99ae4ada88 Access arrays with pre-casted sticker type. 2022-07-24 14:01:58 +03:00
levlam
f26a33b3d3 Implement StickersManager::is_premium_custom_emoji. 2022-07-22 19:06:39 +03:00
levlam
d361d6e8a1 Add StickersManager::get_custom_emoji_id. 2022-07-22 18:27:12 +03:00
levlam
97ab564e07 Prepare for removing premium custom emoji if have no premium. 2022-07-22 18:11:55 +03:00
levlam
680cce2f6d Remove spoiler and custom emoji entities for messages sent to secret chats. 2022-07-22 17:21:58 +03:00
levlam
833dfcc9db Remove spoiler and custom emoji entities from messages forwarded to secret chats. 2022-07-22 16:47:58 +03:00
levlam
03773d01fd Disallow emoji stickers in secret chats. 2022-07-22 16:11:33 +03:00
levlam
813867eb66 Improve special sticker set loading. 2022-07-22 15:40:24 +03:00
levlam
a81740892d Add messageGiftedPremium.sticker. 2022-07-22 15:01:44 +03:00
levlam
61fe5d0df5 Register GiftPremium messages. 2022-07-22 13:30:24 +03:00
levlam
da7d302dec Increase MessageUnsupported version to reload messages with custom emoji. 2022-07-22 12:15:21 +03:00
levlam
06b10526f1 Increase maximum allowed value for mute_for. 2022-07-22 11:35:09 +03:00
levlam
b5468e4cac Move out StickerType from inputSticker. 2022-07-21 17:31:27 +03:00
levlam
342bf8c41f Preload sticker set before adding a sticker to it. 2022-07-21 16:06:58 +03:00
levlam
310c4d1b6a Always try to fetch mask_position. 2022-07-21 15:54:43 +03:00
levlam
52214f37bc Don't warn when server deletes a custom emoji entity. 2022-07-21 14:10:26 +03:00
levlam
d499fa5834 tg_cli: use real custom emoji identifiers. 2022-07-21 13:54:18 +03:00
levlam
1d7af482fe Support additional payment options in payment form. 2022-07-20 20:44:40 +03:00
levlam
7d94cc9aa8 Remove some unneeded logging. 2022-07-20 18:01:26 +03:00
levlam
771b6d3991 Add td_api::getCustomEmojiStickers. 2022-07-19 16:00:04 +03:00
levlam
ba3f24ed8d Rename stickerTypeEmoji to stickerTypeCustomEmoji. 2022-07-19 14:51:29 +03:00