Commit Graph

8630 Commits

Author SHA1 Message Date
levlam
e07ab8e71a Save chosen reaction order. 2022-09-11 13:35:25 +03:00
levlam
ce9175a00b Always use "must be non-empty". 2022-09-10 22:48:34 +03:00
levlam
345c930aa7 Explicitly disallow removal of an empty reaction. 2022-09-09 19:42:14 +03:00
levlam
52fbb073fe Fix reaction updating. 2022-09-09 19:42:02 +03:00
levlam
79fcd07956 Add internal options "reactions_user_max_*". 2022-09-09 18:24:42 +03:00
levlam
6fb097dfe0 Return only reactions that can be added in getMessageAvailableReactions. 2022-09-09 18:15:03 +03:00
levlam
28d3d1ab37 Add MessageReactis::add_reaction/remove_reaction. 2022-09-09 17:43:21 +03:00
levlam
e0699944b3 Add is_custom_reaction. 2022-09-09 17:05:27 +03:00
levlam
89a1311c91 Add ChatReactions::is_allowed_reaction. 2022-09-09 16:34:14 +03:00
levlam
a223067cd1 Add availableReactions.allow_custom_emoji. 2022-09-09 16:28:51 +03:00
levlam
55ec944266 Pass all chosen reactions to send_message_reaction. 2022-09-09 16:21:00 +03:00
levlam
6b2f6b4204 Split setMessageReaction to addMessageReaction and removeMessageReaction. 2022-09-09 15:56:45 +03:00
levlam
4ae5b9a533 Consistently use is_active_reaction. 2022-09-08 21:04:23 +03:00
levlam
148f1bf794 Update get_message_available_reactions. 2022-09-08 20:04:32 +03:00
levlam
ac5e8e7eda Remove class AvailableReactionType. 2022-09-08 18:25:12 +03:00
levlam
81159edcd9 Move get_active_reactions to ChatReactions. 2022-09-08 17:56:39 +03:00
levlam
c6d5bbb151 Remove class AvailableReaction. 2022-09-08 17:45:19 +03:00
levlam
43109ecc96 Improve getConstructor/toString javadoc. 2022-09-08 16:00:55 +03:00
levlam
bc950bc543 Add explicit default constructors to abstract Java classes. 2022-09-08 15:40:09 +03:00
levlam
4d5625a06f Explicitly load tdjni in Client.java and TdApi.java. 2022-09-08 14:27:07 +03:00
levlam
612afe63fe Update Java example. 2022-09-08 13:47:16 +03:00
levlam
ed8e11774c Update Swift example. 2022-09-08 13:11:35 +03:00
levlam
a81d3768b4 Update Python example. 2022-09-08 13:11:08 +03:00
levlam
ffdef31e0b Update UWP example. 2022-09-08 12:34:33 +03:00
levlam
d14e3274fd Update C# example. 2022-09-08 12:24:56 +03:00
levlam
e8d78263b9 Support new authorization flow in tdclient test. 2022-09-08 08:48:11 +03:00
levlam
8d32a1e143 Update С++ example. 2022-09-08 00:41:35 +03:00
levlam
d4d746f02a Pass database_encryption_key through a local variable. 2022-09-07 22:31:26 +03:00
levlam
f6a2ecdded Inline tdlibParameters in setTdlibParameters. 2022-09-07 22:19:08 +03:00
levlam
ebb6770935 Combine TdDb::check_parameters and TdDb::open. 2022-09-07 21:50:41 +03:00
levlam
c47da24430 Remove unused is_database_encrypted. 2022-09-07 21:32:40 +03:00
levlam
287cceb162 Remove separate authorizationStateWaitEncryptionKey. 2022-09-07 21:27:23 +03:00
levlam
20767a318b Check for new code types in other phone number verifications. 2022-09-07 21:22:21 +03:00
levlam
9bd566702e Add source to MessagesManager::fix_new_dialog. 2022-09-07 20:02:44 +03:00
levlam
ba547561bb Support resending of email authentication code. 2022-09-07 19:42:21 +03:00
levlam
1b7f24459f Add td_api::checkLoginEmailAddressCode. 2022-09-07 15:18:43 +03:00
levlam
cc8ef1a077 Add td_api::resendLoginEmailAddressCode. 2022-09-07 14:39:33 +03:00
levlam
c373d14777 Add td_api::setLoginEmailAddress. 2022-09-07 13:49:48 +03:00
levlam
cac1f4cd14 Add passwordState.login_email_address_pattern. 2022-09-07 12:53:14 +03:00
levlam
14a9fda4ef Rename premiumStatus to emojiStatus. 2022-09-07 10:25:21 +03:00
levlam
b8438b92ae Add td_api::premiumFeatureEmojiStatus. 2022-09-06 23:47:11 +03:00
levlam
886a6125e9 Add class EmailVerification. 2022-09-06 23:29:57 +03:00
levlam
8f16191182 Add authorizationStateWaitEmailCode.next_phone_number_authorization_date. 2022-09-06 18:15:43 +03:00
levlam
cba73d5bba Support login with email verification. 2022-09-06 17:42:19 +03:00
levlam
3a84a9c226 Add td_api::checkAuthenticationEmailCode. 2022-09-06 17:17:39 +03:00
levlam
5e4a8ea664 Add authorizationStateWaitEmailCode. 2022-09-06 16:08:10 +03:00
levlam
3ad9ecc3a8 Use Promise<SentEmailCode>. 2022-09-06 14:53:19 +03:00
levlam
79be03d071 Add class SentEmailCode. 2022-09-06 14:46:11 +03:00
levlam
45484ce53b Add td_api::setAuthenticationEmailAddress. 2022-09-06 14:04:39 +03:00
levlam
9fc136976c Remove ChainBufferWriter::init. 2022-09-06 12:42:00 +03:00