Commit Graph

6374 Commits

Author SHA1 Message Date
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
levlam
219d5ecf87 Add sticker.custom_emoji_id. 2022-07-19 14:45:37 +03:00
levlam
eef3fe5932 Support custom emoji in parse_html. 2022-07-19 14:13:37 +03:00
levlam
8e09a83506 Support custom emoji in MarkdownV2. 2022-07-18 23:40:57 +03:00
levlam
585191bb6f Process stickerSetFullCovered. 2022-07-18 21:44:44 +03:00
levlam
903236bf78 Fix wrong value of status.can_be_edited. 2022-07-18 21:14:04 +03:00
levlam
8673d30109 Add gift support in assignGooglePlayTransaction. 2022-07-18 15:17:01 +03:00
levlam
fd6684ab9d Disallow sending, adding to favorite and recent for emoji stickers. 2022-07-18 14:51:37 +03:00
levlam
2064034364 Rename uploadFile/cancelUploadFile for clarity. 2022-07-18 14:07:50 +03:00
levlam
1a2d1adb0c Fix early return in ContactsManager::drop_user_photos. 2022-07-18 01:43:46 +03:00
levlam
4482ee461d Call update_user and update_user_full in on_set_profile_photo just in case. 2022-07-18 01:39:51 +03:00
levlam
fb0689545d Add textEntityTypeCustomEmoji. 2022-07-18 01:03:58 +03:00
levlam
7cd65d06a1 Support emoji stickers in get_max_sticker_file_size. 2022-07-17 23:49:46 +03:00
levlam
4442293acf Support trending emoji sticker sets. 2022-07-17 22:39:22 +03:00
levlam
1f2e8d7c57 Check voice_messages_forbidden for private chats before sending messages. 2022-07-17 17:15:48 +03:00
levlam
45f68d9e06 Ensure that voice_messages_forbidden is false for non-premium users. 2022-07-17 17:15:15 +03:00
levlam
fcfe9c3996 Add userFullInfo.as_restricted_voice_and_video_note_messages. 2022-07-17 16:59:12 +03:00
levlam
15e0786632 Add userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages. 2022-07-16 21:20:18 +03:00
levlam
32c7bd8bcd Support thumbnail_document_id. 2022-07-16 17:22:30 +03:00
levlam
577d48cba5 Add premiumFeatureCustomEmoji. 2022-07-16 14:33:54 +03:00
levlam
cb33c7b852 Delete min channel in add_channel. 2022-07-15 17:39:23 +03:00
levlam
347e1b81cf Avoid warnings for changes of restricted messages. 2022-07-15 17:04:41 +03:00
levlam
ddb572b830 Add more debug for have_full_history. 2022-07-15 17:03:40 +03:00
levlam
d506c4732a Add getPremiumGiftOptionSticker. 2022-07-15 16:15:59 +03:00
levlam
2c7493978b Remove unneeded td_api::getAllAnimatedEmojis. 2022-07-15 15:29:19 +03:00
levlam
d3b9b3b7c4 Support premium gifts special sticker set. 2022-07-15 15:24:08 +03:00
levlam
a114133854 Add purpose to canPurchasePremium. 2022-07-15 14:09:37 +03:00
levlam
3bfb3cdbb1 Add explicit flag sticker.is_premium. 2022-07-15 13:37:46 +03:00
levlam
ea8f81187e Support documentAttributeCustomEmoji. 2022-07-14 17:11:36 +03:00
levlam
5bdc4e207b Add stickerTypeEmoji. 2022-07-14 16:42:27 +03:00
levlam
c34f5d063b Use StickerType instead of is_masks everywhere. 2022-07-14 16:17:19 +03:00
levlam
b447c32fe9 Add class StickerType. 2022-07-14 15:02:55 +03:00
levlam
a896edcd14 Move mask_position out of stickerTypeMask. 2022-07-14 14:38:25 +03:00
levlam
7d5dc9fd16 Split sticker format and sticker type in API. 2022-07-14 13:58:33 +03:00
levlam
6817f3fc44 Allow to specify password in deleteAccount. 2022-07-01 21:25:34 +03:00
levlam
54c052adce Add td_api::StorePaymentPurpose. 2022-07-01 19:27:59 +03:00
levlam
035f24b8e9 Add userFullInfo.premium_gift_options. 2022-07-01 15:57:38 +03:00
levlam
4f7113395b Add td_api::messageGiftedPremium. 2022-07-01 15:28:22 +03:00