Commit Graph

1184 Commits

Author SHA1 Message Date
levlam
3b6874818a Always wait for mailbox. 2023-01-11 01:08:22 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
b0bfdd2b35 Improve setTdlibParameters errors. 2022-12-30 23:13:40 +03:00
levlam
9fb35e8c95 Add td_api::setPinnedForumTopics. 2022-12-29 23:48:19 +03:00
levlam
118c336c01 Add td_api::toggleForumTopicIsPinned. 2022-12-29 23:23:09 +03:00
levlam
90b6403e86 Improve message_auto_delete_time field and class names. 2022-12-28 21:46:16 +03:00
levlam
6aa4558850 Improve return value of searchCallMessages. 2022-12-28 19:17:25 +03:00
levlam
9663dc98b5 Improve return type of searchChatMessages. 2022-12-28 18:42:11 +03:00
levlam
7e1d550870 Fix misprints. 2022-12-28 17:25:51 +03:00
levlam
1ff40ce132 Rename message TTL to auto-delete timer when appropriate. 2022-12-28 17:02:41 +03:00
levlam
a19f55b116 Rename is_aggressive_anti_spam_enabled to has_aggressive_anti_spam_enabled. 2022-12-27 19:14:37 +03:00
levlam
0a0387e8f5 Improve getForumTopicLink. 2022-12-26 15:11:55 +03:00
levlam
8267462041 Improve method name. 2022-12-26 13:49:00 +03:00
levlam
3080f64273 Simplify searchMessages usage. 2022-12-25 22:28:05 +03:00
levlam
63745c9ace Preload UserFull before deletion of profile photos. 2022-12-23 15:11:00 +03:00
levlam
f6de50e19f Fix some spelling. 2022-12-22 17:04:18 +03:00
levlam
6cb9371061 Add toggleSupergroupHasHiddenMembers. 2022-12-20 15:51:37 +03:00
levlam
8a2598869c Rename fallback photo to public photo. 2022-12-19 13:03:38 +03:00
levlam
1ee924aeb2 Add suggestUserPersonalProfilePhoto. 2022-12-15 18:12:30 +03:00
levlam
7b8ce74ec2 Allow to set fallback profile photo. 2022-12-15 17:44:26 +03:00
levlam
743ba7cc28 Add toggleBotIsAddedToAttachmentMenu.allow_write_access. 2022-12-15 14:21:22 +03:00
levlam
b2c838f7bb Add td_api::setUserPersonalProfilePhoto. 2022-12-13 14:16:49 +03:00
levlam
b634948c15 Move static MessageId helpers to MessageId class. 2022-12-10 22:57:41 +03:00
levlam
8ee04b37e6 Minor improvements. 2022-12-09 12:12:49 +03:00
levlam
05ad0474bf Add td_api::getForumTopics. 2022-12-06 18:16:22 +03:00
levlam
d9e16106af Add setForumTopicNotificationSettings. 2022-12-06 14:53:54 +03:00
levlam
ec0dd68a57 Add td_api::getForumTopicLink. 2022-12-05 13:03:38 +03:00
levlam
cdaddd75b2 Add td_api::getForumTopic. 2022-12-02 17:04:24 +03:00
levlam
6977ac94ed Add td_api::searchUserByToken. 2022-12-01 16:54:58 +03:00
levlam
b340e559bb Add td_api::getUserLink. 2022-12-01 15:08:13 +03:00
levlam
38d3ecbd26 Add td_api::toggleGeneralForumTopicIsHidden. 2022-11-30 18:52:31 +03:00
levlam
aef203ed05 Allow to change topic name and icon separately. 2022-11-30 16:53:01 +03:00
levlam
db5a7bb198 Add td_api::getDefaultMessageTtl. 2022-11-29 19:51:33 +03:00
levlam
2e163cfa7b Add td_api::setDefaultMessageTtl. 2022-11-29 18:53:36 +03:00
levlam
2844156dfc Allow to specify message_ttl during creation of basic group and channel chats. 2022-11-29 15:44:12 +03:00
levlam
3d3f73df7a Add td_api::reportSupergroupAntiSpamFalsePositive. 2022-11-25 16:38:00 +03:00
levlam
6827c79570 Add toggleSupergroupIsAggressiveAntiSpamEnabled. 2022-11-25 16:06:04 +03:00
levlam
0b387a61ad Add source to dup_file_id. 2022-11-21 11:40:43 +03:00
levlam
f085e7eea3 Use request promise in setBackground. 2022-11-17 18:48:48 +03:00
levlam
ff0c205fe9 Generate new links for topic messages. 2022-11-04 15:56:16 +03:00
levlam
82ab2da9c0 Pass promise to StickersManager::get_emoji_reaction. 2022-11-03 21:07:07 +03:00
levlam
d1afd1c3b7 Minor improvements. 2022-11-02 19:51:41 +03:00
levlam
5aaa20b4d9 Rename forum topic title to topic name. 2022-11-02 17:31:25 +03:00
levlam
69d53080bf Split API methods for chats and message threads. 2022-10-31 20:03:28 +03:00
levlam
342f446631 Support unpinning of all messages in a message thread. 2022-10-31 19:44:01 +03:00
levlam
1cda8096c5 Allow forum topic methods for bots. 2022-10-31 11:53:37 +03:00
levlam
43deaf4502 Add td_api::deleteForumTopic. 2022-10-30 00:35:37 +03:00
levlam
99e6629c79 Add toggleForumTopicIsClosed. 2022-10-27 17:31:05 +03:00
levlam
be81c6d2b9 Add td_api::editForumTopic. 2022-10-27 16:53:23 +03:00
levlam
da1b385185 Add openWebApp.message_thread_id. 2022-10-27 12:36:17 +03:00
levlam
e33dac507d Add getForumTopicDefaultIcons. 2022-10-27 10:06:13 +03:00
levlam
eadf411679 Support forum topic creation. 2022-10-25 16:10:15 +03:00
levlam
83a2a786ef Add ForumTopicManager. 2022-10-25 15:03:35 +03:00
levlam
9b304557c2 Add toggleSupergroupIsForum. 2022-10-25 11:52:45 +03:00
levlam
75739dd0ea Allow to pass message thread identifier to readAllChatReactions. 2022-10-24 17:04:05 +03:00
levlam
df561b7822 Allow to pass message thread identifier to readAllChatMentions. 2022-10-24 16:57:26 +03:00
levlam
62bcac0198 Support forwarding of messages to message threads. 2022-10-21 18:02:39 +03:00
levlam
ec1310a0e7 Support multiple sponsored messages. 2022-10-21 15:04:56 +03:00
levlam
49c993b674 Make VideoNotesManager an actor. 2022-10-20 18:53:12 +03:00
levlam
c941f488a0 Proxy speech recognition methods through MessagesManager. 2022-10-19 17:56:18 +03:00
levlam
e42e224154 Add disableAllSupergroupUsernames. 2022-10-17 14:58:47 +03:00
levlam
85b0c0060e Add toggleUsernameIsActive/toggleSupergroupUsernameIsActive. 2022-10-17 14:04:22 +03:00
levlam
b3ab397bcd Support reordering of active usernames. 2022-10-14 15:32:54 +03:00
levlam
88ffdb62e7 Split NotificationSettings.h. 2022-10-25 01:22:04 +03:00
levlam
eecec61fa9 Move get_background_url to LinkManager. 2022-10-18 22:52:47 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
188a7b7c3e Pass promise to FileManager::download. 2022-10-10 15:40:39 +03:00
levlam
5a29dcd337 Avoid redundant usages of Status::error(). 2022-10-09 14:15:54 +03:00
levlam
b83c04be60 Don't send fake optionValueEmpty while logging out. 2022-10-06 17:59:19 +03:00
levlam
aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam
f88993e45f Improve getFile response. 2022-10-02 23:19:41 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
da886281f4 Improve logging. 2022-10-01 01:28:54 +03:00
levlam
1f7258f697 Add getChatMessagePosition. 2022-09-30 20:04:21 +03:00
levlam
e39bd45086 Support search by keywords in getStickers. 2022-09-27 20:52:47 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
f85b79d9bc Add td_api::clearRecentReactions. 2022-09-12 19:37:45 +03:00
levlam
de1ed3275f Add td_api::getCustomEmojiReactionAnimations. 2022-09-12 15:44:37 +03:00
levlam
a33eb5233c Add td_api::getEmojiReaction. 2022-09-12 15:03:35 +03:00
levlam
6b2f6b4204 Split setMessageReaction to addMessageReaction and removeMessageReaction. 2022-09-09 15:56:45 +03:00
levlam
148f1bf794 Update get_message_available_reactions. 2022-09-08 20:04:32 +03:00
levlam
c6d5bbb151 Remove class AvailableReaction. 2022-09-08 17:45:19 +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
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
14a9fda4ef Rename premiumStatus to emojiStatus. 2022-09-07 10:25:21 +03:00
levlam
886a6125e9 Add class EmailVerification. 2022-09-06 23:29:57 +03:00
levlam
3a84a9c226 Add td_api::checkAuthenticationEmailCode. 2022-09-06 17:17:39 +03:00
levlam
3ad9ecc3a8 Use Promise<SentEmailCode>. 2022-09-06 14:53:19 +03:00
levlam
45484ce53b Add td_api::setAuthenticationEmailAddress. 2022-09-06 14:04:39 +03:00
levlam
4fdac24cc5 Add setMessageReaction.update_recent_reactions. 2022-09-05 22:04:50 +03:00
levlam
2eba57276a Add td_api::getThemedPremiumStatuses. 2022-09-02 15:02:37 +03:00
levlam
df53830161 Add parameter setPremiumStatus.duration. 2022-09-01 22:04:33 +03:00
levlam
93d870bfc6 Add td_api::clearRecentPremiumStatuses. 2022-08-31 16:41:13 +03:00
levlam
c627f5987d Add getRecentPremiumStatuses. 2022-08-31 15:47:51 +03:00