levlam
|
515c585a13
|
Make ContactsManager::get_user_has_unread_stories static.
|
2023-09-05 16:38:06 +03:00 |
|
levlam
|
2fdaf5fdbc
|
Detect recursive updates of chat info.
|
2023-08-07 23:19:28 +03:00 |
|
levlam
|
ad8d977a03
|
Reload chat active stories when is_mutual_contact changes.
|
2023-08-07 23:09:35 +03:00 |
|
levlam
|
32f6026278
|
Use send_closure_later to avoid cycles between ContactsManager and StoryManager.
|
2023-08-07 23:04:23 +03:00 |
|
levlam
|
f0e59da1ff
|
Process blocked_my_stories_from flags.
|
2023-07-28 16:19:05 +03:00 |
|
levlam
|
99279ef13a
|
Simplify story identifiers updating for users.
|
2023-08-11 13:12:46 +03:00 |
|
levlam
|
070399c89a
|
Add combine_hashes function.
|
2023-07-27 19:05:15 +03:00 |
|
levlam
|
f33dbfb97f
|
Optimize on_get_user.
|
2023-07-26 15:32:35 +03:00 |
|
levlam
|
5ee046b259
|
Don't update max_active_story_id_next_reload_time if user stories aren't polled.
|
2023-07-21 15:23:28 +03:00 |
|
levlam
|
a3e277f7c0
|
Add source to get_user_force.
|
2023-07-20 20:38:25 +03:00 |
|
levlam
|
b7551dab33
|
Poll maximum active story identifiers of non-contact users.
|
2023-07-18 13:53:22 +03:00 |
|
levlam
|
a023e80fb5
|
Add User.max_active_story_id_next_reload_time.
|
2023-07-17 20:05:35 +03:00 |
|
levlam
|
1b3d14a3f9
|
Add source to reload_user_full and reload_chat_full.
|
2023-07-17 18:22:41 +03:00 |
|
levlam
|
7fb0bd5382
|
Fix resaving of users to database.
|
2023-07-16 13:56:28 +03:00 |
|
levlam
|
c2999d8557
|
Minor improvements.
|
2023-07-13 19:32:54 +03:00 |
|
levlam
|
b5d513dba0
|
Fix has_unread_active_stories for self.
|
2023-07-07 19:46:38 +03:00 |
|
levlam
|
fdcec41c93
|
Add and use ContactsManager::on_update_user_max_read_story_id.
|
2023-07-07 18:35:47 +03:00 |
|
levlam
|
f589137af4
|
Add user.has_unread_active_stories.
|
2023-07-07 18:25:24 +03:00 |
|
levlam
|
d40ea33796
|
Store max_active_story_id in User object.
|
2023-07-07 18:06:14 +03:00 |
|
levlam
|
5130ec7760
|
Add emojiStatus.expiration_date.
|
2023-07-06 20:14:42 +03:00 |
|
levlam
|
6bd9aea325
|
Update story order when user.is_premium changes.
|
2023-06-30 14:41:39 +03:00 |
|
levlam
|
f023646c6d
|
Add class StoryList and activeStories.list.
|
2023-06-28 16:09:44 +03:00 |
|
levlam
|
2702d19dc4
|
Remove is_me from on_get_user.
|
2023-06-23 18:22:58 +03:00 |
|
levlam
|
a87a41f22d
|
Init True fields for some manually created telegram_api objects.
|
2023-06-23 17:53:38 +03:00 |
|
levlam
|
c9cd221d77
|
Delete outdated comments.
|
2023-06-19 17:48:12 +03:00 |
|
levlam
|
7935fb183c
|
Add userFullInfo.has_pinned_stories.
|
2023-06-15 20:53:58 +03:00 |
|
levlam
|
ed4d6df307
|
Add user.has_active_stories.
|
2023-06-12 15:04:49 +03:00 |
|
levlam
|
11c353dc7f
|
Add td_api::toggleUserStoriesAreArchived.
|
2023-06-05 16:07:44 +03:00 |
|
levlam
|
0823f5b169
|
Add user.stories_are_archived flag.
|
2023-06-05 15:20:24 +03:00 |
|
levlam
|
0030ae30f8
|
Locally update close friends after changing them.
|
2023-05-04 18:42:18 +03:00 |
|
levlam
|
161cc91acf
|
Add td_api::setCloseFriends.
|
2023-05-04 18:27:03 +03:00 |
|
levlam
|
fb57555f3d
|
Add td_api::getCloseFriends.
|
2023-05-03 20:42:47 +03:00 |
|
levlam
|
a65af73b90
|
Add User.is_close_friend.
|
2023-05-03 20:22:16 +03:00 |
|
levlam
|
e1eff4a06a
|
Add MessagesManager::get_chat_id_object for checking chat_id before returning it.
|
2023-04-13 22:41:22 +03:00 |
|
levlam
|
90967ba8cf
|
Improve source in get_channel_full_force.
|
2023-04-09 23:47:47 +03:00 |
|
levlam
|
a52b6f025f
|
Add td_api::getChatsForChatFolderInviteLink.
|
2023-04-09 21:54:40 +03:00 |
|
levlam
|
9b089bc194
|
Improve on_set_profile_photo.
|
2023-04-07 00:53:13 +03:00 |
|
levlam
|
e4717bae0e
|
Send updateUserFullInfo when bot edit links are changed.
|
2023-04-03 21:04:22 +03:00 |
|
levlam
|
cc0d148ce2
|
Add and use static is_user_* functions.
|
2023-04-03 20:43:25 +03:00 |
|
levlam
|
e50e3e0b3a
|
Add updateChatMember.via_chat_filter_invite_link.
|
2023-04-02 23:45:27 +03:00 |
|
levlam
|
890084df51
|
Add ContactsManager::leave_dialog.
|
2023-04-02 11:46:38 +03:00 |
|
levlam
|
ea56e6865a
|
Add td_api::reorderActiveBotUsernames.
|
2023-03-30 16:41:03 +03:00 |
|
levlam
|
93c3b5cc07
|
Add toggleBotUsernameIsActive.
|
2023-03-30 15:34:27 +03:00 |
|
levlam
|
9d88c64718
|
Add td_api::setBotProfilePhoto.
|
2023-03-29 21:49:54 +03:00 |
|
levlam
|
aec7d5a26f
|
Add userTypeBot.can_be_edited.
|
2023-03-28 16:26:42 +03:00 |
|
levlam
|
7c3822d932
|
Add and use ContactsManager::get_input_user_force.
|
2023-03-22 18:18:35 +03:00 |
|
levlam
|
5563ad4304
|
Add get_update_user/basic_group/supergroup/secret_chat_object
|
2023-03-17 21:42:34 +03:00 |
|
levlam
|
c44869f873
|
Support input*FromMessage.
|
2023-03-17 18:51:04 +03:00 |
|
levlam
|
56a93292bb
|
Support multiple retries for getUserProfilePhotos.
|
2023-03-15 13:51:35 +03:00 |
|
levlam
|
1153e5464d
|
Support multiple getUserProfilePhotos requests.
|
2023-03-15 13:33:41 +03:00 |
|
levlam
|
e7242b1188
|
Fix includes.
|
2023-03-06 20:36:56 +03:00 |
|
levlam
|
97248f1432
|
Send td_api::updateAddChatMembersPrivacyForbidden after failed adding of a user to a basic group.
|
2023-03-03 15:43:14 +03:00 |
|
levlam
|
0469ac0147
|
Add inputChatPhotoSticker.
|
2023-01-30 00:35:14 +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
|
a14d749893
|
Allow to upload custom emoji photos.
|
2023-01-19 14:06:27 +03:00 |
|
levlam
|
ad8ecec67c
|
Support separate chat permissions for different media types.
|
2023-01-06 14:16:34 +03:00 |
|
levlam
|
ad8f0c4146
|
Improve some spelling.
|
2023-01-16 12:59:43 +03:00 |
|
levlam
|
fb79543d41
|
Combine getChannel queries with the same channel_id.
|
2023-01-13 15:42:15 +03:00 |
|
levlam
|
d3690e1502
|
Merge GetChat queries.
|
2023-01-13 14:45:53 +03:00 |
|
levlam
|
eed410ce0a
|
Merge getUser queries.
|
2023-01-13 14:29:47 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +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
|
74eb5d6ae4
|
Always send updates in ContactsManager::delete_my_profile_photo_from_cache.
|
2022-12-26 21:40:04 +03:00 |
|
levlam
|
3342dcef23
|
Improve delete_my_profile_photo_from_cache.
|
2022-12-23 18:05:41 +03:00 |
|
levlam
|
7a865961c5
|
Add source to drop_user_full_photos.
|
2022-12-23 17:16:02 +03:00 |
|
levlam
|
9d192f5674
|
Remove unused ContactsManager::on_update_user_photo.
|
2022-12-23 16:09:45 +03:00 |
|
levlam
|
63745c9ace
|
Preload UserFull before deletion of profile photos.
|
2022-12-23 15:11:00 +03:00 |
|
levlam
|
f3d4492086
|
Repair personal and public photo with getUserFull.
|
2022-12-23 14:52:12 +03:00 |
|
levlam
|
3f55703211
|
Register suggested profile photos.
|
2022-12-23 13:19:56 +03:00 |
|
levlam
|
a80794ffeb
|
Explicitly call drop_user_full_photos.
|
2022-12-22 22:38:30 +03:00 |
|
levlam
|
252df2ff43
|
Drop only needed full profile photos.
|
2022-12-22 22:23:52 +03:00 |
|
levlam
|
6cb9371061
|
Add toggleSupergroupHasHiddenMembers.
|
2022-12-20 15:51:37 +03:00 |
|
levlam
|
8bfc68b3f8
|
Improve ContactsManager::get_channel_effective_has_hidden_participants.
|
2022-12-20 15:12:36 +03:00 |
|
levlam
|
299dc26be6
|
Add phoneNumberInfo.is_anonymous.
|
2022-12-20 15:01:39 +03:00 |
|
levlam
|
0fe8023cdc
|
Add new flags to basicGroupFullInfo.
|
2022-12-20 11:17:51 +03:00 |
|
levlam
|
983cb965cf
|
Add supergroupFullInfo.can_hide_members.
|
2022-12-20 11:04:00 +03:00 |
|
levlam
|
db761e0852
|
Correctly process received channel participants.
|
2022-12-19 21:20:14 +03:00 |
|
levlam
|
786cbf990c
|
Add supergroupFullInfo.has_hidden_members.
|
2022-12-19 20:29:33 +03:00 |
|
levlam
|
f2d8575828
|
Add supergroupFullInfo.can_toggle_aggressive_anti_spam.
|
2022-12-19 13:59:09 +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
|
8de2bc531d
|
Add userFullInfo.fallback_photo.
|
2022-12-15 17:17:42 +03:00 |
|
levlam
|
121dd73bfb
|
Add ContactsManager::get_user_full_profile_photo_id.
|
2022-12-15 15:27:22 +03:00 |
|
levlam
|
b2c838f7bb
|
Add td_api::setUserPersonalProfilePhoto.
|
2022-12-13 14:16:49 +03:00 |
|
levlam
|
0db6fe533b
|
Support personal photo in UserFull.
|
2022-12-09 18:46:57 +03:00 |
|
levlam
|
4f8844d6d5
|
Unify parameter order.
|
2022-12-20 11:27:38 +03:00 |
|
levlam
|
5b8161c838
|
Simplify optional fields access in *Full.
|
2022-12-16 12:37:49 +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
|
bc332ffa37
|
Make option "anti_spam_bot_user_id" public and allow to load the user without network request.
|
2022-11-30 13:36:44 +03:00 |
|
levlam
|
b0e22e15e2
|
Add user.has_anonymous_phone_number.
|
2022-11-30 12:43:54 +03:00 |
|
levlam
|
7e88119c1f
|
Process fragment_prefixes option.
|
2022-11-29 23:42:29 +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
|
58e0e5b2ae
|
Add supergroupFullInfo.is_aggressive_anti_spam_enabled.
|
2022-11-25 15:16:37 +03:00 |
|
levlam
|
92d44a5282
|
Fix checkChatUsernameResultPublicChatsTooMany spelling.
|
2022-11-15 14:48:50 +03:00 |
|
levlam
|
a20076b620
|
Add checkChatUsernameResultUsernamePurchasable.
|
2022-11-15 14:27:18 +03:00 |
|
levlam
|
af05db3f15
|
Add td::Hash and use it everywhere instead of unusable std::hash.
|
2022-11-23 19:37:32 +03:00 |
|