Commit Graph

9448 Commits

Author SHA1 Message Date
levlam
833c7c30da Allow mutiple emojis in searchStickers. 2023-01-23 21:40:32 +03:00
levlam
e5441b5ed7 Support sticker_type in searchStickers. 2023-01-23 21:07:42 +03:00
levlam
b6fc03e3bb Add StickersManager::reload_found_stickers helper. 2023-01-23 19:58:34 +03:00
levlam
94819c2218 Fix handling of requestPeerTypeBroadcast. 2023-01-23 19:39:30 +03:00
levlam
0feb0f15ce Improve names of methods and message contents related to sharing user/chat with a bot. 2023-01-23 18:19:35 +03:00
levlam
c4568db488 Add more t.me domains for web clients. 2023-01-23 17:43:15 +03:00
levlam
8f3606fb2c Add more service t.me subdomains. 2023-01-23 17:28:39 +03:00
levlam
a1543b0332 Add td_api::suggestedActionSubscribeToAnnualPremium. 2023-01-23 16:11:26 +03:00
levlam
4a5b702f11 Add suggestedActionUpgradePremium. 2023-01-23 16:03:32 +03:00
levlam
136a50d0ae Add translateMessageText. 2023-01-23 15:46:26 +03:00
levlam
8560ddfe84 Ignore min-channel photo for unavailable channels. 2023-01-23 14:29:16 +03:00
levlam
a7e4c54f63 Support stickers in setChatPhoto. 2023-01-23 13:53:23 +03:00
levlam
7d2442f57f Make StickeerPhotoSize fields private. 2023-01-23 13:02:10 +03:00
levlam
fac51c9819 Check provided custom emoji and sticker identifiers. 2023-01-23 12:50:39 +03:00
levlam
69c6a485ba Add sticker.id. 2023-01-23 12:18:51 +03:00
levlam
0b07533506 Imptove StickerPhotoSize field names. 2023-01-23 12:05:08 +03:00
levlam
61dee568d1 Move get_chat_photo_sticker_object to StickerPhotoSize class. 2023-01-23 11:56:09 +03:00
levlam
0e1537420c Improve video size processing. 2023-01-23 11:51:00 +03:00
levlam
345709f1ff Store StickerPhotoSize in unique_ptr to optimize Photo size. 2023-01-23 00:57:40 +03:00
levlam
201af22ef2 Add unique_value_ptr. 2023-01-22 23:36:30 +03:00
levlam
d6502824b3 Improve get_sticker_photo_size. 2023-01-21 02:07:42 +03:00
levlam
eade454791 Move StickerPhotoSize to separate files. 2023-01-21 01:51:38 +03:00
levlam
425bd0e364 Support sticker chat photos. 2023-01-20 17:31:33 +03:00
levlam
8137572794 Send updateChatIsTranslatable when premium is switched on or off. 2023-01-20 12:57:06 +03:00
levlam
337aef5c02 Support chat.is_translatable, toggleChatIsTranslatable and updateChatIsTranslatable. 2023-01-20 12:38:25 +03:00
levlam
315a526fba Add information for Premium subscription upgrade. 2023-01-20 00:41:18 +03:00
levlam
b339976ddf Add storePaymentPurposePremiumSubscription.is_upgrade. 2023-01-19 16:49:57 +03:00
levlam
65ddaea0f6 Add sendAuthenticationFirebaseSms. 2023-01-19 16:45:47 +03:00
levlam
f596ec7793 Allow to request Firebase Authentication in official apps. 2023-01-19 15:36:23 +03:00
levlam
1d9f2d6de9 Add authenticationCodeTypeFirebaseIos. 2023-01-19 15:12:55 +03:00
levlam
f0e4a4cdc8 Add authenticationCodeTypeFirebaseAndroid. 2023-01-19 14:46:33 +03:00
levlam
a14d749893 Allow to upload custom emoji photos. 2023-01-19 14:06:27 +03:00
levlam
68e939985f Support CustomEmojiSize. 2023-01-18 22:25:25 +03:00
levlam
3f7148407c Keep bot commands and media timestamps in translated text. 2023-01-18 20:45:46 +03:00
levlam
e26aecc87a Support translation of formatted text. 2023-01-18 16:34:49 +03:00
levlam
3121757b32 Add functions for conversion between FormattedText and textWithEntities. 2023-01-18 15:38:36 +03:00
levlam
8c43a7c0bb Add TranslationManager. 2023-01-18 14:47:31 +03:00
levlam
7288e90211 Untie can_send_messages right from other rights. 2023-01-17 18:13:27 +03:00
levlam
696c7ef21d Fix AuthManager::on_sent_code. 2023-01-17 13:39:52 +03:00
levlam
2d7608459e Support standalone SetPassword suggested action. 2023-01-17 13:22:21 +03:00
levlam
91ab399946 Improve repair of unread reaction count. 2023-01-16 20:30:52 +03:00
levlam
24786e05d0 Improve error messages. 2023-01-16 16:55:05 +03:00
levlam
fcb5e068e0 Open main connection before authorization. 2023-01-16 16:43:07 +03:00
levlam
f6168879af Explicitly fail reload attachment menu bot queries. 2023-01-16 15:16:36 +03:00
levlam
14fbdf5928 Forcely load chosen chat from database. 2023-01-13 17:47:08 +03:00
levlam
97cc57a25c Add td_api::sendChosenChat. 2023-01-13 17:16:16 +03:00
levlam
0b54e28467 Add td_api::sendChosenUser. 2023-01-13 17:03:35 +03:00
levlam
4922b0c776 Add messageUserChosen. 2023-01-11 20:03:43 +03:00
levlam
9a2dd58b6f Implement RequestedDialogType. 2023-01-11 19:52:35 +03:00
levlam
1afcc3bcfd Add separate keyboardButtonTypeRequestUser. 2023-01-11 18:31:49 +03:00