levlam
|
68336dbefc
|
Add option "ignore_file_names".
|
2023-03-13 19:19:13 +03:00 |
|
levlam
|
cac5c4467a
|
Replace value of "use_storage_optimizer" option with value of the corresponding TDLib parameter.
|
2023-03-13 19:10:26 +03:00 |
|
levlam
|
1bd581a66d
|
Use explicit CHECK instead of vector::at.
|
2023-03-13 18:48:35 +03:00 |
|
levlam
|
32d0433c26
|
Add "disable_network_statistics" option.
|
2023-03-13 17:26:23 +03:00 |
|
levlam
|
2baff56b7a
|
Don't store TdParameters in Td.
|
2023-03-13 16:30:11 +03:00 |
|
levlam
|
7bd211fd82
|
Improve TdParameters.
|
2023-03-13 16:06:43 +03:00 |
|
levlam
|
0f45b3bd6e
|
Don't clean TdParameters on closing.
|
2023-03-13 15:54:05 +03:00 |
|
levlam
|
b373fc6f2b
|
Update scheduled_message_date when message date changes.
|
2023-03-13 15:43:15 +03:00 |
|
levlam
|
8847638d28
|
Autostart bots with non-empty message history.
|
2023-03-11 23:18:24 +03:00 |
|
levlam
|
70bee089d4
|
Fix watchOS building.
|
2023-03-10 13:22:18 +03:00 |
|
levlam
|
6c92eaf59e
|
Fix reload_dialog_administrators.
|
2023-03-10 13:13:57 +03:00 |
|
levlam
|
7d9a443650
|
Fix compilation error.
|
2023-03-09 23:12:32 +03:00 |
|
levlam
|
703ef13a86
|
Fix messageSendOptions processing.
|
2023-03-09 22:21:24 +03:00 |
|
levlam
|
6c53a61162
|
Don't process USER_PRIVACY_RESTRICTED errors for bots.
|
2023-03-09 18:11:12 +03:00 |
|
levlam
|
c2a25b7652
|
Don't try to reload channel scheduled messages if have no access to them.
|
2023-03-09 16:56:48 +03:00 |
|
levlam
|
453aecd9af
|
Ignore USER_NOT_PARTICIPANT error when leaving a channel.
|
2023-03-09 16:51:12 +03:00 |
|
levlam
|
f100399c8e
|
Don't call getDifference explicitly after failed requests.
|
2023-03-09 16:41:31 +03:00 |
|
levlam
|
ee3df1d03c
|
Don't try to load broadcast members without being an administrator.
|
2023-03-09 16:36:33 +03:00 |
|
levlam
|
92837b3bee
|
Reget message to delete it after receiving "MESSAGE_ID_INVALID" from getPollResults.
|
2023-03-09 15:54:31 +03:00 |
|
levlam
|
95177f4aad
|
Drop last_message_id when the last message is unloaded from memory.
|
2023-03-09 14:42:26 +03:00 |
|
levlam
|
0c09070ce5
|
Update version to 1.8.12.
|
2023-03-08 21:14:44 +03:00 |
|
levlam
|
97968f8956
|
Add "gift_premium_from_attachment_menu" and "gift_premium_from_input_field" options.
|
2023-03-08 21:13:29 +03:00 |
|
levlam
|
9260822b6e
|
Add reaction date to addedReaction.
|
2023-03-08 21:12:45 +03:00 |
|
levlam
|
30ad06aa21
|
Update layer to 155.
|
2023-03-08 21:12:09 +03:00 |
|
levlam
|
4b00266a5b
|
Avoid a fatal error in PartManager.
|
2023-03-08 20:34:23 +03:00 |
|
levlam
|
5cd6b2d853
|
Handle invalid data index table size.
|
2023-03-08 19:23:12 +03:00 |
|
levlam
|
e45eaa9939
|
Handle data parsing errors in ContactsManager.
|
2023-03-08 19:15:51 +03:00 |
|
levlam
|
57a3773fd6
|
Call connection_online_update after sending service queries.
|
2023-03-08 18:27:58 +03:00 |
|
levlam
|
aa5093b361
|
Don't call Callback::on_read for 0 size.
|
2023-03-08 18:16:08 +03:00 |
|
levlam
|
f670699c8c
|
Improve logging in SessionConnection.
|
2023-03-08 18:10:07 +03:00 |
|
levlam
|
b13ab1e148
|
Avoid some MultiTimeout usages in NotificationManager while closing.
|
2023-03-08 16:25:58 +03:00 |
|
levlam
|
17540f1c15
|
Fix type of size parameter in set_known_prefix.
|
2023-03-08 16:06:08 +03:00 |
|
levlam
|
1d476d15b8
|
Add more logging on fatal errors.
|
2023-03-08 14:11:35 +03:00 |
|
levlam
|
29f919415a
|
Add function for logging the whole PartsManager state.
|
2023-03-08 14:08:17 +03:00 |
|
levlam
|
3b83d77b2d
|
Return parse error if invalid sticker set identifier is found in the database.
|
2023-03-08 13:45:44 +03:00 |
|
levlam
|
1af9e9fed1
|
Add more fatal error logging.
|
2023-03-08 13:40:06 +03:00 |
|
levlam
|
d2b15d353f
|
Add more logging for invalid pointer alignment.
|
2023-03-08 13:02:17 +03:00 |
|
levlam
|
d157cd3bbb
|
Use safe_promise in FileGenerateManager.
|
2023-03-08 12:56:49 +03:00 |
|
levlam
|
d2c7584cf4
|
Fail message parsing immediately if parsed invalid message identifier.
|
2023-03-08 12:49:22 +03:00 |
|
levlam
|
bce6af3a19
|
Imrove viewMessages for threads with root messages from albums.
|
2023-03-07 19:07:12 +03:00 |
|
levlam
|
4803cf970d
|
Universally initialize max_thread_message_id.
|
2023-03-07 18:22:39 +03:00 |
|
levlam
|
72b6eadd8d
|
tg_cli: disallow '_' as separator.
|
2023-03-06 21:43:27 +03:00 |
|
levlam
|
a49e63985d
|
Send updateAddChatMembersPrivacyForbidden after successful request response.
|
2023-03-06 21:42:06 +03:00 |
|
levlam
|
23341647ba
|
Support null updates in get_update_ids.
|
2023-03-06 21:01:00 +03:00 |
|
levlam
|
e7242b1188
|
Fix includes.
|
2023-03-06 20:36:56 +03:00 |
|
levlam
|
d4646d4cd9
|
Minor improvements.
|
2023-03-06 16:59:18 +03:00 |
|
levlam
|
6692f9c918
|
Allow to view additional root thread messages.
|
2023-03-06 12:35:52 +03:00 |
|
levlam
|
d44351bcd7
|
Improve error message.
|
2023-03-05 15:51:00 +03:00 |
|
levlam
|
31be0a5be8
|
Fix viewMessages.force_read.
|
2023-03-05 15:49:08 +03:00 |
|
levlam
|
c983eb6eab
|
Fix warning.
|
2023-03-05 13:12:30 +03:00 |
|
levlam
|
12d04ec684
|
Rename can_send_messages to can_send_basic_messages.
|
2023-03-04 21:31:51 +03:00 |
|
levlam
|
040f0a954c
|
Rename share_text to short_description.
|
2023-03-04 20:31:21 +03:00 |
|
levlam
|
0381558d54
|
Send td_api::updateAddChatMembersPrivacyForbidden after failed addition of a channel member.
|
2023-03-03 16:09:29 +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
|
b45d56d116
|
Add updateAddChatMembersPrivacyForbidden.
|
2023-03-03 14:42:30 +03:00 |
|
levlam
|
dff135fa6c
|
Allow truncated links in updates and event log.
|
2023-03-03 04:23:46 +03:00 |
|
levlam
|
3dce19ca2b
|
Check that button text isn't empty.
|
2023-03-02 19:57:11 +03:00 |
|
levlam
|
da974f2e5e
|
Improve view_date documentation.
|
2023-03-02 19:01:56 +03:00 |
|
levlam
|
aee858338d
|
Avoid unneeded FileStats copying in main thread.
|
2023-03-02 18:54:09 +03:00 |
|
levlam
|
a2fcf5b8f7
|
Improve documentation for t.me link creation.
|
2023-03-02 18:16:36 +03:00 |
|
levlam
|
1fecd55d03
|
Improve internal link test and fix some link parsing issues.
|
2023-03-02 18:03:24 +03:00 |
|
levlam
|
672ef60828
|
Add td_api::getInternalLink.
|
2023-03-02 16:21:36 +03:00 |
|
levlam
|
235d68e587
|
Add LinkManager::get_proxy_link.
|
2023-03-02 02:41:22 +03:00 |
|
levlam
|
319a3f1c39
|
Add and use LinkManager::get_t_me_url().
|
2023-03-01 23:49:22 +03:00 |
|
levlam
|
b7ad8e8068
|
Return portable tg:// URLs in internalLinkTypeMessage.
|
2023-03-01 22:14:26 +03:00 |
|
levlam
|
9652b075b6
|
Disallow numeric invite link hashes.
|
2023-03-01 21:35:16 +03:00 |
|
levlam
|
86b4213a8c
|
More generic parsing of background fill name.
|
2023-03-01 21:26:49 +03:00 |
|
levlam
|
69c85f0df8
|
Move is_background_name_local to BackgroundType.
|
2023-03-01 16:36:34 +03:00 |
|
levlam
|
3a598036e6
|
Support file reference repair for Web App files.
|
2023-02-28 14:11:49 +03:00 |
|
levlam
|
b427a7b9f6
|
Add send_emoji to get_input_media.
|
2023-02-27 02:12:21 +03:00 |
|
levlam
|
57655958a9
|
Add td_api::getBotInfoShareText.
|
2023-02-27 01:47:55 +03:00 |
|
levlam
|
0c8b9bf555
|
Add td_api::setBotInfoShareText.
|
2023-02-27 01:41:46 +03:00 |
|
levlam
|
d7ba7f693b
|
Add td_api::getBotInfoDescription.
|
2023-02-27 01:33:51 +03:00 |
|
levlam
|
72bebaf3f5
|
Add td_api::setBotInfoDescription.
|
2023-02-27 01:00:17 +03:00 |
|
levlam
|
00983863e3
|
Pass specified emoji in documentAttributeSticker.
|
2023-02-26 22:40:58 +03:00 |
|
levlam
|
0cc5579aaf
|
Add sponsor_info and additional_info to sponsoredMessage.
|
2023-02-24 16:02:45 +03:00 |
|
levlam
|
e7da8e88e0
|
Add td_api::getWebAppLinkUrl.
|
2023-02-24 15:08:16 +03:00 |
|
levlam
|
c8ebe2aabe
|
Improve Web App and game name checks.
|
2023-02-24 14:09:47 +03:00 |
|
levlam
|
129de63bea
|
Add td_api::searchWebApp.
|
2023-02-24 14:07:40 +03:00 |
|
levlam
|
7b07de64e7
|
Improve field name.
|
2023-02-23 19:00:12 +03:00 |
|
levlam
|
d8b062b21f
|
Add td_api::internalLinkTypeWebApp.
|
2023-02-23 18:07:33 +03:00 |
|
levlam
|
1f32ae3dfd
|
Add sending_id to messageSendOptions.
|
2023-02-23 17:05:43 +03:00 |
|
levlam
|
439dd7c2ca
|
Add td_api::messageViewers.
|
2023-02-23 15:15:10 +03:00 |
|
levlam
|
b27eeda8bd
|
Add authorizationStateWaitPassword.has_passport_data.
|
2023-02-22 15:59:36 +03:00 |
|
levlam
|
b4a86fb299
|
Add MessageWebViewWriteAccessAllowed.
|
2023-02-22 12:24:43 +03:00 |
|
levlam
|
2268ae87a4
|
Add td_api::webApp.
|
2023-02-21 22:35:20 +03:00 |
|
levlam
|
670a42885a
|
Fix sticker set deletion.
|
2023-02-21 21:53:58 +03:00 |
|
levlam
|
46fab0cbac
|
Add inlineQueryResultsButtonTypeWebApp.
|
2023-02-21 21:22:36 +03:00 |
|
levlam
|
651bb7a156
|
Add inlineQueryResultsButton.
|
2023-02-21 20:44:03 +03:00 |
|
levlam
|
ba5643f775
|
Add document flags.
|
2023-02-21 14:58:52 +03:00 |
|
levlam
|
466853496b
|
Ignore failed to parse application log events.
|
2023-02-21 13:38:56 +03:00 |
|
levlam
|
947a3031f3
|
Fix AppConfig parsing.
|
2023-02-21 13:34:36 +03:00 |
|
levlam
|
4b7a3dc649
|
Make StickerSetId storer/parser implementation private.
|
2023-02-21 12:23:39 +03:00 |
|
levlam
|
acec58e7ef
|
Add addApplicationChangelog.
|
2023-02-21 12:08:55 +03:00 |
|
levlam
|
862abd1e84
|
Reregister uploaded by URL WEBP stickers.
|
2023-02-20 20:40:37 +03:00 |
|
levlam
|
0b502964b3
|
Remove unneeded include.
|
2023-02-20 15:10:24 +03:00 |
|
levlam
|
f75c6b6762
|
Fix uploading of WEBP stickers by URL.
|
2023-02-20 14:00:54 +03:00 |
|
levlam
|
ba2c797350
|
Return Ok from setStickerSetThumbnail.
|
2023-02-16 20:38:19 +03:00 |
|
levlam
|
c3d2ad8c59
|
Return Ok from addStickerToSet.
|
2023-02-16 19:50:52 +03:00 |
|
levlam
|
359ec5e66c
|
Add td_api::deleteStickerSet.
|
2023-02-16 16:17:29 +03:00 |
|
levlam
|
c8c8b63e2b
|
Add AppConfig cache.
|
2023-02-15 23:33:30 +03:00 |
|
levlam
|
1064fb2d6a
|
Move inputSticker checks to StickersManager::prepare_input_file.
|
2023-02-14 16:15:13 +03:00 |
|
levlam
|
e8d022e52c
|
Simplify StickersManager::upload_sticker_file.
|
2023-02-14 16:10:27 +03:00 |
|
levlam
|
7be16c8a68
|
Move sticker_format out of inputSticker.
|
2023-02-14 14:59:03 +03:00 |
|
levlam
|
ae0a473cb9
|
Add td_api::setStickerMaskPosition.
|
2023-02-10 15:52:25 +03:00 |
|
levlam
|
b895900e75
|
Simplify td_api::emojiCategory usage.
|
2023-02-09 22:47:44 +03:00 |
|
levlam
|
8e74b99e13
|
Add td_api::setStickerKeywords.
|
2023-02-09 21:43:38 +03:00 |
|
levlam
|
c53b05e4e8
|
Add td_api::setStickerEmojis.
|
2023-02-09 20:42:09 +03:00 |
|
levlam
|
4d8fae253e
|
Simplify uploadStickerFile.
|
2023-02-09 16:05:26 +03:00 |
|
levlam
|
b6de7319d4
|
Support inputSticker keywords.
|
2023-02-09 15:23:55 +03:00 |
|
levlam
|
8e2cbeebc1
|
Add td_api::setStickerSetTitle.
|
2023-02-08 21:43:09 +03:00 |
|
levlam
|
9871aba024
|
Add td_api::setCustomEmojiStickerSetThumbnail.
|
2023-02-08 21:29:54 +03:00 |
|
levlam
|
5bbac9d0b4
|
Support creation of repainted custom emoji sticker sets.
|
2023-02-08 20:29:53 +03:00 |
|
levlam
|
58775c5852
|
Allow to create emoji sticker sets.
|
2023-02-08 20:01:56 +03:00 |
|
levlam
|
91a13ea705
|
Allow multiple open/close for the same chat.
|
2023-02-07 21:45:03 +03:00 |
|
levlam
|
fbea859a11
|
Add MessageSource to viewMessages.
|
2023-02-07 21:08:54 +03:00 |
|
levlam
|
f6615189af
|
Update layer to 154.
|
2023-02-07 14:01:45 +03:00 |
|
levlam
|
8b292e4f85
|
Ensure that being added FileSource isn't copied.
|
2023-02-28 14:35:52 +03:00 |
|
levlam
|
3678343a06
|
Simplify language code check.
|
2023-02-27 01:17:22 +03:00 |
|
levlam
|
22fdc0258b
|
Use "receive"/"have"/"loaded" instead of "got" and other log message improvements.
|
2023-02-26 14:22:31 +03:00 |
|
levlam
|
ffcc1719ef
|
Improve log message spelling.
|
2023-02-26 13:41:49 +03:00 |
|
levlam
|
47724bd4d8
|
Improve log message spelling.
|
2023-02-26 13:08:03 +03:00 |
|
levlam
|
9b8ee4df3c
|
Improve FileLoader comment.
|
2023-02-26 01:18:59 +03:00 |
|
levlam
|
d1f6ae168b
|
Simplify sticker set source logging.
|
2023-02-25 23:37:50 +03:00 |
|
levlam
|
3979fc122b
|
Allow to create basic groups without other members.
|
2023-02-24 16:33:14 +03:00 |
|
levlam
|
1543c41f34
|
Fix ContactsManager::reload_channel.
|
2023-02-23 12:52:15 +03:00 |
|
levlam
|
c4b7100ad8
|
Repair unread mention count in channels when a mention is read.
|
2023-02-22 13:09:24 +03:00 |
|
levlam
|
4b538adbdb
|
Remove redundant Slice copy constructor usages.
|
2023-02-21 11:21:07 +03:00 |
|
levlam
|
de1c6a0ecd
|
Store last handshake query in string instead of BufferSlice.
|
2023-02-21 11:02:10 +03:00 |
|
levlam
|
a369025cd3
|
Improve NetQuery debug.
|
2023-02-20 13:11:39 +03:00 |
|
levlam
|
bc8811ea82
|
Simplify MessagesManager::can_unload_message for bots; allow to unload the last message.
|
2023-02-20 12:40:49 +03:00 |
|
levlam
|
6e0ed42544
|
tg_cli: remove as_button_id.
|
2023-02-19 11:21:42 +03:00 |
|
levlam
|
bdbb8613f7
|
Improve PhotoSize type logging.
|
2023-02-18 23:14:59 +03:00 |
|
levlam
|
e3fac31061
|
Log photo date.
|
2023-02-18 23:09:04 +03:00 |
|
levlam
|
6c38e3c018
|
Use G()->close_status() instead of manual error.
|
2023-02-17 16:14:31 +03:00 |
|
levlam
|
3fef62a396
|
Reuse default_result.
|
2023-02-17 16:06:38 +03:00 |
|
levlam
|
6cf6f32418
|
Add Global::ignore_result_if_closing.
|
2023-02-16 13:35:27 +03:00 |
|
levlam
|
337bdc5f5e
|
Use request promise in getWebPagePreview.
|
2023-02-15 15:05:37 +03:00 |
|
levlam
|
d9a4e5572f
|
Don't pass default is_optional value to get_json_object_string_field.
|
2023-02-14 15:21:10 +03:00 |
|
levlam
|
abbeffe964
|
Improve thumbnail variable names.
|
2023-02-14 15:10:27 +03:00 |
|
levlam
|
896de65c3e
|
Improve field name.
|
2023-02-11 22:37:43 +03:00 |
|
levlam
|
6ba394fc41
|
Add class StickerMaskPosition.
|
2023-02-09 20:15:21 +03:00 |
|
levlam
|
5a39bb4952
|
Use error code returned by get_input_file_id.
|
2023-02-09 18:31:02 +03:00 |
|
levlam
|
7b759a06bc
|
Add StickersManager::get_sticker_input_document.
|
2023-02-09 17:26:50 +03:00 |
|
levlam
|
ed9df60e1e
|
Update needs_repainting documentation.
|
2023-02-09 13:29:39 +03:00 |
|
levlam
|
58c4a12ca6
|
Fix getPremiumStickers.
|
2023-02-08 18:36:54 +03:00 |
|
levlam
|
7eee3f469a
|
Update clang-format to 16.0.0.
|
2023-02-08 15:28:36 +03:00 |
|
levlam
|
1e6c3ef93d
|
Don't try to reload data mutiple times without network.
|
2023-02-06 20:31:17 +03:00 |
|
levlam
|
d4833b7844
|
Reload autosave settings periodically.
|
2023-02-06 20:10:27 +03:00 |
|
levlam
|
2260944afe
|
Save autosave settings to database.
|
2023-02-06 19:53:21 +03:00 |
|