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 |
|
levlam
|
83403d9836
|
Add keyboardButtonTypeRequestChat.
|
2023-01-11 16:54:46 +03:00 |
|
levlam
|
06a432a373
|
Add td_api::messageChatChosen.
|
2023-01-10 16:20:30 +03:00 |
|
levlam
|
6f3d7ac308
|
Add td_api::getDefaultProfilePhotoCustomEmojiStickers.
|
2023-01-10 15:40:52 +03:00 |
|
levlam
|
84077d72dc
|
Add td_api::getDefaultChatPhotoCustomEmojiStickers.
|
2023-01-10 15:23:07 +03:00 |
|
levlam
|
f0d0ac6b78
|
Allow to create forum supergroups.
|
2023-01-09 21:43:51 +03:00 |
|
levlam
|
ad8ecec67c
|
Support separate chat permissions for different media types.
|
2023-01-06 14:16:34 +03:00 |
|
levlam
|
69760f891a
|
Make DialogParticipant flags 64-bit.
|
2023-01-06 13:43:46 +03:00 |
|
levlam
|
f638e83e34
|
Support authentication_token after authorization.
|
2023-01-06 13:00:21 +03:00 |
|
levlam
|
2cdb35d2fb
|
Support auth.sentCodeSuccess.
|
2023-01-06 12:53:24 +03:00 |
|
levlam
|
050a11ece7
|
Update layer to 152.
|
2023-01-06 12:42:16 +03:00 |
|
levlam
|
758ced943e
|
Don't use Time::now_cached in Session.
|
2023-01-19 12:27:23 +03:00 |
|
levlam
|
1588f0d687
|
Return after call to on_error.
|
2023-01-18 17:10:08 +03:00 |
|
levlam
|
d912fd1431
|
Improve can_send_messages documentation.
|
2023-01-17 16:26:20 +03:00 |
|
levlam
|
42af57ee05
|
Support General topic in getMessageThread.
|
2023-01-17 15:34:31 +03:00 |
|
levlam
|
754ff0fc53
|
Improve handling of internal options with updates.
|
2023-01-17 14:24:18 +03:00 |
|
levlam
|
02a4851e12
|
Fix set_option_empty.
|
2023-01-17 13:55:51 +03:00 |
|
levlam
|
4408af6643
|
Improve "id" variable names in FileManager.
|
2023-01-16 13:30:03 +03:00 |
|
levlam
|
ad8f0c4146
|
Improve some spelling.
|
2023-01-16 12:59:43 +03:00 |
|
levlam
|
c508e54a49
|
Improve message_id variable names in Session.
|
2023-01-15 23:27:58 +03:00 |
|
levlam
|
8d8f72a17a
|
Fix some lower-case spelling.
|
2023-01-15 12:00:26 +03:00 |
|
levlam
|
052d5e120b
|
Improve some mixed-case spelling.
|
2023-01-15 11:25:54 +03:00 |
|
levlam
|
45ff12ca49
|
Improve PTS/QTS spelling.
|
2023-01-15 11:05:53 +03:00 |
|
levlam
|
fb935a8de2
|
Reduce ping timeout in primary non-main-DC connections.
|
2023-01-15 00:25:22 +03:00 |
|
levlam
|
973df16c88
|
Improve logging.
|
2023-01-14 23:08:50 +03:00 |
|
levlam
|
1a732db19e
|
Explicitly fail some promises on closing.
|
2023-01-14 22:01:35 +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
|
13e8094aaa
|
Reload contacts if failed to load the from database.
|
2023-01-13 14:38:36 +03:00 |
|
levlam
|
eed410ce0a
|
Merge getUser queries.
|
2023-01-13 14:29:47 +03:00 |
|
levlam
|
b1883d357c
|
Add QueryMerger.
|
2023-01-13 13:09:38 +03:00 |
|
levlam
|
75bdc6292b
|
Remove some getAuthorizationState usages.
|
2023-01-12 22:25:47 +03:00 |
|
levlam
|
3b6874818a
|
Always wait for mailbox.
|
2023-01-11 01:08:22 +03:00 |
|
levlam
|
d7ea7dfea7
|
Remove never used AbridgedTransport.
|
2023-01-10 22:03:17 +03:00 |
|
levlam
|
eac1f0a096
|
Improve config recovery source order.
|
2023-01-10 20:03:05 +03:00 |
|
levlam
|
eeb73d4eb2
|
Optimize parsing of argument value in HTML tags.
|
2023-01-09 17:14:31 +03:00 |
|
levlam
|
137fd3beb9
|
Replace text in-place in parse_html.
|
2023-01-09 15:12:14 +03:00 |
|
levlam
|
ac0de06b5f
|
Ensure that PTS/QTS updates are null after processing.
|
2023-01-09 13:27:28 +03:00 |
|
levlam
|
fd53a81603
|
Replace text in-place in parse_markdown.
|
2023-01-09 13:11:45 +03:00 |
|
levlam
|
34226ac4ad
|
Recheck UTF-8 in parse_html only if needed.
|
2023-01-09 12:59:14 +03:00 |
|
levlam
|
0fb64f97a4
|
Use StringBuilder to create new string in parse_html.
|
2023-01-09 12:43:15 +03:00 |
|
levlam
|
2ba41ac279
|
Explicitly use std::move to return entities.
|
2023-01-09 10:46:49 +03:00 |
|
levlam
|
4dc554bd08
|
Avoid some minor string copying in message entity parsing.
|
2023-01-09 00:48:45 +03:00 |
|
levlam
|
1c037ff0e0
|
Don't send more than 100 user entities to server.
|
2023-01-08 23:07:57 +03:00 |
|
levlam
|
d0500988ac
|
Remove checks that status.is_error in ResultHandler::on_error.
|
2023-01-07 23:36:55 +03:00 |
|
levlam
|
aa8c5ec1c9
|
Improve setAuthenticationPhoneNumber and requestQrCodeAuthentication documentation.
|
2023-01-06 14:19:44 +03:00 |
|
levlam
|
e3951e524c
|
Fix warning.
|
2023-01-04 17:49:53 +03:00 |
|
levlam
|
3573990d52
|
Support symbolic links in walk_path.
|
2023-01-04 17:25:30 +03:00 |
|
levlam
|
4a5b2ac722
|
Skip returned by server messages, not matching the filter.
|
2023-01-04 13:18:38 +03:00 |
|
levlam
|
887ddbd88e
|
Improve warnings about changed MessageForwardInfo.
|
2023-01-04 10:49:53 +03:00 |
|
levlam
|
9834594b16
|
Don't send parallel ping-server requests.
|
2023-01-03 15:32:10 +03:00 |
|
levlam
|
62040c8d8e
|
Fix check for use_pfs.
|
2023-01-03 15:06:12 +03:00 |
|
levlam
|
c06ae49db4
|
Log if instance wasn't launched for more than 24 hours.
|
2023-01-03 13:54:49 +03:00 |
|
levlam
|
ab735519a6
|
Log last used time for auth key.
|
2023-01-03 12:58:19 +03:00 |
|
levlam
|
5711c6c8eb
|
Add some emptiness checks.
|
2023-01-02 20:12:15 +03:00 |
|
levlam
|
29c264df59
|
Log number of unprocessed updateMessageID while closing.
|
2023-01-02 19:07:48 +03:00 |
|
levlam
|
686fcc1933
|
Log source for failed to add awaited messages.
|
2023-01-02 18:05:35 +03:00 |
|
levlam
|
12561229fe
|
Improve logging in on_get_channel_difference.
|
2023-01-02 17:36:38 +03:00 |
|
levlam
|
0f05e72fa3
|
Silently ignore PERSISTENT_TIMESTAMP_INVALID errors for channels.getDifference.
|
2023-01-02 17:06:26 +03:00 |
|
levlam
|
903d994799
|
Improve punctuation.
|
2023-01-02 15:38:04 +03:00 |
|
levlam
|
4258030967
|
Drop cached attachment menu bots when database is deleted.
|
2023-01-02 13:51:04 +03:00 |
|
levlam
|
c8e0c2fedc
|
Improve internalLinkTypePassportDataRequest documentation.
|
2023-01-02 13:10:12 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
5ee9c7365b
|
Remove "forum_member_count_min" option.
|
2022-12-31 00:17:18 +03:00 |
|
levlam
|
b0bfdd2b35
|
Improve setTdlibParameters errors.
|
2022-12-30 23:13:40 +03:00 |
|
levlam
|
691941ea10
|
Revert invalid 439e0863f3 .
|
2022-12-30 22:24:31 +03:00 |
|
levlam
|
93c42f6d7c
|
Update version to 1.8.10.
|
2022-12-30 12:59:58 +03:00 |
|
levlam
|
6a3dac6730
|
Split call to destroy_on_scheduler in two to avoid variable tracking size limit.
|
2022-12-30 11:55:01 +03:00 |
|
levlam
|
9ab6822e19
|
Fix warning.
|
2022-12-30 04:31:01 +03:00 |
|
levlam
|
24a67cb67c
|
Send typings to General topic by default in forums.
|
2022-12-30 04:00:52 +03:00 |
|
levlam
|
e4c8eb376e
|
Fix spoiler in on_upload_message_media_success.
|
2022-12-30 02:39:31 +03:00 |
|
levlam
|
2a0f211dfe
|
Improve field name.
|
2022-12-30 01:36:06 +03:00 |
|
levlam
|
3422ab1082
|
Process updates about pinned forum topics.
|
2022-12-30 01:06:05 +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
|
b203030e5c
|
Add "pinned_forum_topic_count_max" option.
|
2022-12-29 22:26:09 +03:00 |
|
levlam
|
86f0de23f5
|
Improve message-TTL-related log messages.
|
2022-12-28 21:59:41 +03:00 |
|
levlam
|
90b6403e86
|
Improve message_auto_delete_time field and class names.
|
2022-12-28 21:46:16 +03:00 |
|
levlam
|
a77c7d566c
|
Avoid duplicate 't' and 'i' photo sizes.
|
2022-12-28 20:39:24 +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
|
630101358b
|
Add internalLinkTypeEditProfileSettings.
|
2022-12-28 18:08:00 +03:00 |
|
levlam
|
1a3789e88d
|
Add internalLinkTypeDefaultMessageAutoDeleteTimerSettings.
|
2022-12-28 17:58:17 +03:00 |
|
levlam
|
7e1d550870
|
Fix misprints.
|
2022-12-28 17:25:51 +03:00 |
|
levlam
|
36fc74ea7c
|
Rename message.ttl to self_destruct_timer.
|
2022-12-28 17:09:39 +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
|
bb9108ca32
|
Add internalLinkTypeStickerSet.expect_custom_emoji.
|
2022-12-27 18:17:49 +03:00 |
|
levlam
|
14989932b7
|
Improve set_user_profile_photo.
|
2022-12-27 16:00:43 +03:00 |
|
levlam
|
17990719ee
|
Improve documentation.
|
2022-12-27 15:33:49 +03:00 |
|
levlam
|
c05a6d9631
|
Improve class name.
|
2022-12-26 23:33:01 +03:00 |
|
levlam
|
6dcc260f2a
|
Ignore photo returned by DeleteContactProfilePhotoQuery.
|
2022-12-26 22:24:08 +03:00 |
|
levlam
|
206c8275f9
|
Drop UserFull photos, only if they are unknown.
|
2022-12-26 22:11:14 +03:00 |
|
levlam
|
3bb9e06f62
|
Use cached UserFull in ContactsManager::delete_profile_photo.
|
2022-12-26 22:04:06 +03:00 |
|
levlam
|
27fcd805e1
|
Remove unneeded calls to update_user/update_user_full.
|
2022-12-26 21:54:42 +03:00 |
|
levlam
|
d3c070e95e
|
Drop all UserFull photos when profile photo is changed.
|
2022-12-26 21:51:31 +03:00 |
|
levlam
|
74eb5d6ae4
|
Always send updates in ContactsManager::delete_my_profile_photo_from_cache.
|
2022-12-26 21:40:04 +03:00 |
|
levlam
|
604b98696c
|
Fix call to drop_user_photos.
|
2022-12-26 21:19:51 +03:00 |
|
levlam
|
36614ae398
|
Apply empty personal and public photos.
|
2022-12-26 21:15:26 +03:00 |
|
levlam
|
91cbf1b04c
|
Improve suggestUserProfilePhoto documentation.
|
2022-12-26 20:35:14 +03:00 |
|
levlam
|
5c89fe749a
|
Separately create admin log message ogjects.
|
2022-12-26 20:30:44 +03:00 |
|
levlam
|
dcd1e60910
|
Add separate message.auto_delete_in.
|
2022-12-26 17:31:04 +03:00 |
|
levlam
|
0a0387e8f5
|
Improve getForumTopicLink.
|
2022-12-26 15:11:55 +03:00 |
|
levlam
|
a4fc556e5e
|
Minor improvements.
|
2022-12-26 14:58:31 +03:00 |
|
levlam
|
eff7675749
|
Support spoilers for messageAnimation.
|
2022-12-26 14:20:48 +03:00 |
|
levlam
|
92e37fae46
|
Improve documentation.
|
2022-12-26 13:53:51 +03:00 |
|
levlam
|
8267462041
|
Improve method name.
|
2022-12-26 13:49:00 +03:00 |
|
levlam
|
996efb73fe
|
Improve handling of telegram_api::updateUser.
|
2022-12-26 13:23:05 +03:00 |
|
levlam
|
439e0863f3
|
Update user's username from min-user.
|
2022-12-26 13:15:52 +03:00 |
|
levlam
|
e16f442f55
|
Fix setting of public photo.
|
2022-12-26 00:38:16 +03:00 |
|
levlam
|
fa06258486
|
Returm server messages for General topic in getMessageThreadHistory.
|
2022-12-25 23:10:28 +03:00 |
|
levlam
|
f694687e47
|
Improve next_offset in getMessagePublicForwards.
|
2022-12-25 22:59:57 +03:00 |
|
levlam
|
fc2ab0a7ab
|
Use next_rate in searchMessages.
|
2022-12-25 22:43:37 +03:00 |
|
levlam
|
3080f64273
|
Simplify searchMessages usage.
|
2022-12-25 22:28:05 +03:00 |
|
levlam
|
9768637010
|
Add pushMessageContentSuggestProfilePhoto.
|
2022-12-25 21:29:56 +03:00 |
|
levlam
|
ea30ec106c
|
Improve userFullInfo photos documentation.
|
2022-12-24 09:05:49 +03:00 |
|
levlam
|
21e2cff6b4
|
Improve getUserProfilePhotos documentation.
|
2022-12-24 08:59:08 +03:00 |
|
levlam
|
bc730f7d0f
|
Improve photo field order in userFullInfo.
|
2022-12-24 08:54:17 +03:00 |
|
levlam
|
1416cb13b2
|
tg_cli: randomize sendMessageAlbum testing.
|
2022-12-23 19:11:52 +03:00 |
|
levlam
|
b0446523eb
|
Support sending of media with spoiler.
|
2022-12-23 18:27:38 +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
|
38fb9a2413
|
Guarantee that all UserFull photos are known or none.
|
2022-12-23 17:07:53 +03:00 |
|
levlam
|
5e44b04cc2
|
Always reload full user after changing a photo.
|
2022-12-23 16:32:14 +03:00 |
|
levlam
|
9d192f5674
|
Remove unused ContactsManager::on_update_user_photo.
|
2022-12-23 16:09:45 +03:00 |
|
levlam
|
168d921533
|
Keep personal and public photos after setting previous profile photo.
|
2022-12-23 15:36:40 +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
|
c467910ad6
|
Fix photo.id usages.
|
2022-12-23 14:30:30 +03:00 |
|
levlam
|
3f55703211
|
Register suggested profile photos.
|
2022-12-23 13:19:56 +03:00 |
|
levlam
|
f28fe46746
|
Don't update cache when suggesting a profile photo.
|
2022-12-22 22:53:40 +03:00 |
|
levlam
|
5b24e30cf5
|
Check userProfilePhoto.photo_id.
|
2022-12-22 22:41:11 +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
|
044b1ef6af
|
Avoid duplicate updateChatPhoto updates.
|
2022-12-22 21:41:43 +03:00 |
|
levlam
|
f6de50e19f
|
Fix some spelling.
|
2022-12-22 17:04:18 +03:00 |
|
levlam
|
f40a6ff477
|
Add StickerTypeFullInfo.
|
2022-12-21 23:25:31 +03:00 |
|
levlam
|
14dd89e804
|
Disable sending of media with spoilers for now.
|
2022-12-21 19:14:32 +03:00 |
|
levlam
|
d810a73a4f
|
Hide can_get_message_thread for non-root messages.
|
2022-12-21 19:10:36 +03:00 |
|
levlam
|
d4b7ebdd1e
|
tg_cli: fix call to canPurchasePremium.
|
2022-12-21 18:06:08 +03:00 |
|
levlam
|
b8f4df741b
|
Remove PhotoWithSpoiler and VideoWithSpoiler file types.
|
2022-12-21 17:37:16 +03:00 |
|
levlam
|
816c7d312a
|
Combine sticker set reload queries.
|
2022-12-21 17:07:21 +03:00 |
|
levlam
|
0d4c918fea
|
Reload emoji sticker sets once.
|
2022-12-21 15:18:42 +03:00 |
|
levlam
|
6516210321
|
Remove "themed_emoji_statuses_sticker_set_id" option.
|
2022-12-21 12:26:29 +03:00 |
|
levlam
|
94e678dbc8
|
Add has_spoiler flag to messagePhoto and messageVideo.
|
2022-12-20 18:06:21 +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
|
164848cb8f
|
Allow to add emoji stickers to animations, photos and videos.
|
2022-12-20 14:04:22 +03:00 |
|
levlam
|
01c1bcc149
|
Support stickerSetNoCovered.
|
2022-12-20 13:31:59 +03:00 |
|
levlam
|
d611b21f17
|
Increase MessageUnsupported version to load photo and video with spoiler.
|
2022-12-20 13:05:28 +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
|
f4f156a5b1
|
Hide viewers in chats with hidden participants.
|
2022-12-19 21:34:38 +03:00 |
|
levlam
|
89c407c129
|
Use server-side online count for supergroups with hidden members.
|
2022-12-19 21:25:53 +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
|
8a2598869c
|
Rename fallback photo to public photo.
|
2022-12-19 13:03:38 +03:00 |
|
levlam
|
9d4517ab26
|
tg_cli: simplify message TTL testing.
|
2022-12-16 16:36:51 +03:00 |
|
levlam
|
0b8e1747a5
|
tg_cli: simplify has_spoiler testing.
|
2022-12-16 15:58:33 +03:00 |
|
levlam
|
02db4f2fac
|
Support sending of photos and videos with spoiler animation.
|
2022-12-15 22:41:55 +03:00 |
|
levlam
|
ab349e1562
|
Support photo deletion in setUserPersonalProfilePhoto.
|
2022-12-15 18:39:39 +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
|
214c8d5e70
|
Add replyMarkupShowKeyboard.is_persistent.
|
2022-12-15 14:59:12 +03:00 |
|
levlam
|
c30756f450
|
Add AttachmentMenuBot.request_write_access.
|
2022-12-15 14:25:45 +03:00 |
|
levlam
|
743ba7cc28
|
Add toggleBotIsAddedToAttachmentMenu.allow_write_access.
|
2022-12-15 14:21:22 +03:00 |
|
levlam
|
cc52263026
|
Add td_api::messageBotWriteAccessAllowed
|
2022-12-14 21:13:48 +03:00 |
|
levlam
|
5ed064b810
|
Split some long class/field descriptions.
|
2022-12-14 17:35:31 +03:00 |
|
levlam
|
1edde0e808
|
Split multiline documentation by different lines.
|
2022-12-14 16:30:37 +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
|
f941df4ec7
|
Add profilePhoto.is_personal flag.
|
2022-12-09 15:52:21 +03:00 |
|
levlam
|
ebeb524f70
|
Add messageSuggestProfilePhoto.
|
2022-12-09 14:13:37 +03:00 |
|
levlam
|
9cc023111d
|
Add sticker.has_text_color.
|
2022-12-09 13:39:29 +03:00 |
|
levlam
|
8e7d5f5594
|
Update layer to 151.
|
2022-12-08 20:58:37 +03:00 |
|
levlam
|
86d5f12e6e
|
Don't try to load the same chat many times from the database.
|
2022-12-23 14:28:03 +03:00 |
|
levlam
|
1e65d38483
|
Ignore ReadMessageContents updates for bots.
|
2022-12-22 17:19:33 +03:00 |
|
levlam
|
01d7178272
|
Add source to do_reload_sticker_set.
|
2022-12-21 11:18:30 +03:00 |
|
levlam
|
2afe1fc6ce
|
Drop pending updates with too big PTS after getDifference.
|
2022-12-20 12:42:03 +03:00 |
|
levlam
|
4f8844d6d5
|
Unify parameter order.
|
2022-12-20 11:27:38 +03:00 |
|
levlam
|
b714a53084
|
Improve authorization states documentation.
|
2022-12-19 17:12:48 +03:00 |
|
levlam
|
f1eedfaa47
|
Simplify some usages of optional TL fields.
|
2022-12-18 22:15:57 +03:00 |
|
levlam
|
4240026bf7
|
Check that sticker is still in the set before using it.
|
2022-12-17 21:14:39 +03:00 |
|
levlam
|
5b8161c838
|
Simplify optional fields access in *Full.
|
2022-12-16 12:37:49 +03:00 |
|
levlam
|
36c7dc2b63
|
Improve FullLocalFileLocation default constructor.
|
2022-12-15 23:05:51 +03:00 |
|
levlam
|
f97c103e2b
|
Update last read inbox/outbox message identifiers in topics.
|
2022-12-14 14:25:04 +03:00 |
|
levlam
|
848de33676
|
Replace top_thread_message_id in unsupported messages.
|
2022-12-14 13:28:16 +03:00 |
|
levlam
|
e531ae2eb0
|
Never create again deleted forum topics.
|
2022-12-14 02:24:38 +03:00 |
|
levlam
|
d4dc4b6c4e
|
Fix forum topic deletion.
|
2022-12-13 15:22:27 +03:00 |
|
levlam
|
0e33195953
|
Move static get_message_id/get_message_dialog_id to corresponding classes.
|
2022-12-12 21:43:49 +03:00 |
|
levlam
|
d2060a2eb3
|
Improve log messages with time.
|
2022-12-11 01:32:46 +03:00 |
|
levlam
|
1f129ecade
|
Simplify update logging.
|
2022-12-11 01:20:13 +03:00 |
|
levlam
|
b10ad9ffc4
|
Increase MessageUnsupported version.
|
2022-12-10 23:13:59 +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
|
6cbe1825ef
|
Delete left dialogs from filters.
|
2022-12-08 13:14:50 +03:00 |
|
levlam
|
29752073cf
|
Get channel difference if needed in getForumTopics.
|
2022-12-07 20:20:06 +03:00 |
|
levlam
|
b395539414
|
Get channel difference if needed in getForumTopic.
|
2022-12-07 19:58:12 +03:00 |
|
levlam
|
a32bb3e7ef
|
Move get_messages_info to MessagesInfo.cpp.
|
2022-12-07 19:38:42 +03:00 |
|
levlam
|
75453b542f
|
Add separate header for MessagesInfo.
|
2022-12-07 19:28:27 +03:00 |
|
levlam
|
2e139cc895
|
Fix processing of links to messages in General topic.
|
2022-12-07 18:18:39 +03:00 |
|
levlam
|
67a67276a3
|
Support creation of message links for messages in General topic.
|
2022-12-07 17:54:03 +03:00 |
|
levlam
|
1db1532591
|
Add is_forum_channel.
|
2022-12-07 17:21:36 +03:00 |
|
levlam
|
a7952f3836
|
Fix compilation error.
|
2022-12-07 09:45:37 +03:00 |
|
levlam
|
5b5e05c13e
|
Update defeult value for "forum_member_count_min" option.
|
2022-12-07 01:18:53 +03:00 |
|
levlam
|
9e524598a5
|
Update version to 1.8.9.
|
2022-12-06 23:49:39 +03:00 |
|
levlam
|
294c99248e
|
Fix add_local_message.
|
2022-12-06 19:32:02 +03:00 |
|
levlam
|
05ad0474bf
|
Add td_api::getForumTopics.
|
2022-12-06 18:16:22 +03:00 |
|
levlam
|
8917b9c845
|
Support updates about forum topic notification settings.
|
2022-12-06 16:48:32 +03:00 |
|
levlam
|
bc2e23a27f
|
Add need_update_dialog_notification_settings.
|
2022-12-06 16:34:17 +03:00 |
|
levlam
|
58d84a1c7e
|
Improve get_dialog_notification_settings(td_api::object_ptr<td_api::chatNotificationSettings> &¬ification_settings).
|
2022-12-06 16:18:11 +03:00 |
|
levlam
|
3c842f1ecb
|
Improve get_dialog_notification_settings(tl_object_ptr<telegram_api::peerNotifySettings>).
|
2022-12-06 15:23:11 +03:00 |
|
levlam
|
ac9ee00a6b
|
Fix forum topic initial notification settings.
|
2022-12-06 15:00:27 +03:00 |
|
levlam
|
d9e16106af
|
Add setForumTopicNotificationSettings.
|
2022-12-06 14:53:54 +03:00 |
|
levlam
|
c654041d9b
|
Add Topic.need_save_to_database_.
|
2022-12-05 18:46:07 +03:00 |
|
levlam
|
d27181a69d
|
Add ForumTopicManager::set_topic_info.
|
2022-12-05 18:40:08 +03:00 |
|
levlam
|
426c308e23
|
Add ForumTopic cache.
|
2022-12-05 17:37:09 +03:00 |
|
levlam
|
a40acdfcc3
|
Support General forum topic links.
|
2022-12-05 14:13:55 +03:00 |
|
levlam
|
374f3249be
|
Use need_unread_counter.
|
2022-12-05 13:44:50 +03:00 |
|
levlam
|
c9d906dcb7
|
Add ForumTopicManager::can_be_message_thread_id.
|
2022-12-05 13:22:32 +03:00 |
|
levlam
|
ec0dd68a57
|
Add td_api::getForumTopicLink.
|
2022-12-05 13:03:38 +03:00 |
|
levlam
|
6e2c2d9e03
|
Clarify meaning of chatMember.joined_chat_date.
|
2022-12-05 00:04:03 +03:00 |
|
levlam
|
68ebfa3055
|
Don't try to change top_thread_message_id for messages in dialog.
|
2022-12-04 17:58:18 +03:00 |
|
levlam
|
7fdbc4b704
|
Add chatEventIsAggressiveAntiSpamEnabledToggled.
|
2022-12-04 12:04:39 +03:00 |
|
levlam
|
13fc5a334f
|
Improve documentation.
|
2022-12-03 11:27:55 +03:00 |
|
levlam
|
31fb277acf
|
Fix topic message count.
|
2022-12-02 20:39:52 +03:00 |
|
levlam
|
1ad450129f
|
Return last message in forumTopic.
|
2022-12-02 17:58:00 +03:00 |
|
levlam
|
feb267fcb7
|
Add on_get_forum_topic_info.
|
2022-12-02 17:47:08 +03:00 |
|
levlam
|
cdaddd75b2
|
Add td_api::getForumTopic.
|
2022-12-02 17:04:24 +03:00 |
|
levlam
|
c29a48c9ac
|
Update built-in list of countries.
|
2022-12-02 14:58:41 +03:00 |
|
levlam
|
2f8d60669a
|
Update rights check for setChatMessageTtl.
|
2022-12-02 14:52:02 +03:00 |
|
levlam
|
70cfbab277
|
Extract only relevant random_id from updates.
|
2022-12-02 12:36:31 +03:00 |
|
levlam
|
f8a5f42886
|
Improve return value of UpdatesManager::get_new_messages.
|
2022-12-02 12:11:07 +03:00 |
|
levlam
|
fff8e81261
|
Don't return SetMessagesTTL messages in get_new_messages.
|
2022-12-01 23:44:58 +03:00 |
|
levlam
|
02ff843bbb
|
Add internalLinkTypeUserToken.
|
2022-12-01 17:42:57 +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
|
4d82036ac4
|
Improve editForumTopic.
|
2022-11-30 17:18:22 +03:00 |
|
levlam
|
7a93fcdeb4
|
Add forumTopicInfo.is_general.
|
2022-11-30 17:01:18 +03:00 |
|
levlam
|
aef203ed05
|
Allow to change topic name and icon separately.
|
2022-11-30 16:53:01 +03:00 |
|
levlam
|
7c4ec3cffa
|
Add chatEventForumTopicToggleIsHidden.
|
2022-11-30 16:11:37 +03:00 |
|
levlam
|
f6e8e85547
|
Move is_hidden to ForumTopicInfo.
|
2022-11-30 15:47:55 +03:00 |
|
levlam
|
20ba802e48
|
Add messageForumTopicIsHiddenToggled.
|
2022-11-30 15:39:29 +03:00 |
|
levlam
|
8a0429c30f
|
Add forum.is_hidden.
|
2022-11-30 14:44:00 +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
|
1ba66081a5
|
Ignore useless "reactions_in_chat_max" option.
|
2022-11-30 12:56:54 +03:00 |
|
levlam
|
5d0a41c807
|
Send updateUser when Fragment prefixes are changed.
|
2022-11-30 12:50:16 +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
|
91a7399c27
|
Improve message TTL documentation.
|
2022-11-29 21:07:27 +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
|
4f737910ab
|
Ignore message interaction info updates for bots.
|
2022-11-29 17:25:43 +03:00 |
|
levlam
|
0cf9eb0b4b
|
Avoid unneeded calls to channels.getDifference.
|
2022-11-29 17:14:45 +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
|
62e721fa6f
|
Add messageChatSetTtl.from_user_id.
|
2022-11-29 14:02:05 +03:00 |
|
levlam
|
8b11ef9aa3
|
Apply message_ttl from telegram_api::dialog.
|
2022-11-29 13:08:06 +03:00 |
|
levlam
|
650e2367bc
|
Add authenticationCodeTypeFragment.
|
2022-11-25 18:14:20 +03:00 |
|
levlam
|
f7897dc2ba
|
Add "aggressive_anti_spam_supergroup_member_count_min" option.
|
2022-11-25 17:16:37 +03:00 |
|
levlam
|
e6941d231d
|
Add chatEventMessageDeleted.can_report_anti_spam_false_positive.
|
2022-11-25 16:50:16 +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
|
33288a93d9
|
Update layer to 150.
|
2022-11-25 14:57:21 +03:00 |
|
levlam
|
b3fe271782
|
Delete topic from database after it was deleted locally.
|
2022-11-16 17:45:47 +03:00 |
|
levlam
|
0dc327bd3f
|
Delete all topics from database when chat is deleted.
|
2022-11-16 17:35:12 +03:00 |
|
levlam
|
94f999435f
|
Save information about forum topics to database.
|
2022-11-16 17:26:51 +03:00 |
|
levlam
|
65a2f1c025
|
Add ForumTopicManager::get_topic.
|
2022-11-16 16:02:22 +03:00 |
|
levlam
|
ff31fa1b52
|
Unload forum topic information after all messages are unloaded.
|
2022-11-15 17:37:31 +03:00 |
|
levlam
|
ab165bd34d
|
Add ForumTopicManager::can_be_forum.
|
2022-11-15 17:07:05 +03:00 |
|
levlam
|
2ee0eb67f3
|
Support storing additional data about forum topics.
|
2022-11-15 16:59:32 +03:00 |
|
levlam
|
24be58d083
|
Move ForumTopicInfo out of ForumTopic.
|
2022-11-15 16:14:57 +03:00 |
|