levlam
|
0cc22ca3da
|
Fix saving of are_media_timestamp_entities_found.
|
2023-05-11 13:20:39 +03:00 |
|
levlam
|
666af51345
|
Add MessagesManager::fix_new_message.
|
2023-05-11 13:12:04 +03:00 |
|
levlam
|
1a4e91a207
|
Don't try to load from database previously failed to load dialogs in add_dialog.
|
2023-05-11 12:14:25 +03:00 |
|
levlam
|
ed127c1b8d
|
Add MessagesManager::add_dialog_for_new_message.
|
2023-05-11 12:12:43 +03:00 |
|
levlam
|
7e82f0f860
|
Move expected logging from ERROR to INFO.
|
2023-05-11 00:31:15 +03:00 |
|
levlam
|
372509e838
|
Always call on_message_deleted_from_database from delete_message_from_database.
|
2023-05-10 23:26:50 +03:00 |
|
levlam
|
151291dc50
|
Remove redundant assignments.
|
2023-05-10 23:05:34 +03:00 |
|
levlam
|
c612ef6764
|
Explicitly create Dialog before adding a message to it.
|
2023-05-10 20:56:33 +03:00 |
|
levlam
|
11210427a4
|
Explicitly pass from_database to add_message_to_dialog.
|
2023-05-10 20:41:02 +03:00 |
|
levlam
|
cc6082c458
|
Check that last and last_new messages aren't changed by bots.
|
2023-05-10 20:00:01 +03:00 |
|
levlam
|
d672fa9faa
|
Check that database message ids aren't set for bots.
|
2023-05-10 19:35:11 +03:00 |
|
levlam
|
04d9879607
|
Add OrderedMessages::empty().
|
2023-05-10 18:57:17 +03:00 |
|
levlam
|
887b69ec0e
|
Remove unused field.
|
2023-05-10 15:41:57 +03:00 |
|
levlam
|
de22159b7f
|
Don't keep exact remote location for bots.
|
2023-05-10 15:29:38 +03:00 |
|
levlam
|
37c46b8b12
|
Increase min_gzipped_size for bots.
|
2023-05-10 02:06:24 +03:00 |
|
levlam
|
59fcab80a1
|
Don't send updateMessageContent for yet unsent messages to bots.
|
2023-05-10 02:00:20 +03:00 |
|
levlam
|
6c5c26db7f
|
Immediately ignore user photo if it's identifier is still the same.
|
2023-05-10 01:50:06 +03:00 |
|
levlam
|
b41bb654e4
|
Drop via_bot when recending failed to send message.
|
2023-05-10 01:13:32 +03:00 |
|
levlam
|
e00c66123a
|
Reopen sessions after receiving MTPROTO_CLUSTER_INVALID.
|
2023-05-09 01:10:14 +03:00 |
|
levlam
|
c41fb7f6df
|
Drop reopen_sessions_after_get_config_ after successful session reopen.
|
2023-05-09 01:08:45 +03:00 |
|
levlam
|
ce76e164a9
|
Update basic group position when it is joined or left.
|
2023-05-08 17:29:50 +03:00 |
|
levlam
|
ac8c4718d3
|
Reload information about empty joined chats once to check whether they are still joined.
|
2023-05-08 17:17:35 +03:00 |
|
levlam
|
cda4c97b2d
|
Document that changePhoneNumber can be used only by the official mobile apps now.
|
2023-05-08 13:01:54 +03:00 |
|
levlam
|
a2439e9f55
|
Sort directly received IP addresses.
|
2023-05-07 01:43:00 +03:00 |
|
levlam
|
a05c86d6ec
|
Improve replies for bots.
|
2023-05-06 21:47:10 +03:00 |
|
levlam
|
7eb512a0b2
|
Disable ordered messages for bots.
|
2023-05-06 02:39:17 +03:00 |
|
levlam
|
22a82c117d
|
Find unloadable messages using LRU.
|
2023-05-06 02:37:53 +03:00 |
|
levlam
|
b482ffbbeb
|
Check that bots doesn't use suffix load.
|
2023-05-06 01:56:29 +03:00 |
|
levlam
|
ad20309a1d
|
Don't use last_new_message_id by bots.
|
2023-05-06 01:46:11 +03:00 |
|
levlam
|
47b225c11f
|
Move limit increase to OrderedMessages::get_history.
|
2023-05-05 16:31:33 +03:00 |
|
levlam
|
aef0cfe4bc
|
Add OrderedMessages::get_history.
|
2023-05-05 16:03:03 +03:00 |
|
levlam
|
96979d91b6
|
Check parameters first in MessagesManager::get_dialog_history.
|
2023-05-05 15:37:50 +03:00 |
|
levlam
|
dbcf3e5eec
|
Use more empty names for unused parameters.
|
2023-05-05 14:18:46 +03:00 |
|
levlam
|
c0911577f7
|
Use empty name for unused move constructor/assignment parameter.
|
2023-05-05 13:51:19 +03:00 |
|
levlam
|
c2795ca904
|
Remove OrderedMessages::Iterator copy constructor.
|
2023-05-05 13:02:54 +03:00 |
|
levlam
|
a7c963dabb
|
Add OrderedMessage::Iterator::clear.
|
2023-05-05 12:51:48 +03:00 |
|
levlam
|
fc136f46df
|
Randomize temporary auth key validity time.
|
2023-05-04 16:00:14 +03:00 |
|
levlam
|
d3ade3d64d
|
Persist temporary keys for main sessions if multiple sessions enabled.
|
2023-05-04 15:54:21 +03:00 |
|
levlam
|
796a1f83c3
|
Support saving and loading of temporary auth keys.
|
2023-05-04 15:44:39 +03:00 |
|
levlam
|
648c6cd3ef
|
Improve error message.
|
2023-05-04 15:13:31 +03:00 |
|
levlam
|
b5b0dbe331
|
Reuse get_auth_key_state.
|
2023-05-04 14:59:09 +03:00 |
|
levlam
|
14c570f334
|
Move AuthKeyState to a separate header.
|
2023-05-04 14:53:07 +03:00 |
|
levlam
|
53cd6c1a79
|
Improve includes.
|
2023-05-03 16:38:49 +03:00 |
|
levlam
|
c47dde6ea9
|
Don't warn about yet unsent messages with small identifiers for bots.
|
2023-05-03 16:28:40 +03:00 |
|
levlam
|
f2d11e12f6
|
Use small identifiers for yet unsent and local messages for bots.
|
2023-05-03 14:34:06 +03:00 |
|
levlam
|
7507d8e20c
|
Don't restart on message_id overflow.
|
2023-05-03 14:23:18 +03:00 |
|
levlam
|
d64d3fe258
|
Ignore last_/first_database_message_id for bots.
|
2023-05-03 14:08:20 +03:00 |
|
levlam
|
d71d6afe17
|
Don't use last_message_id for bots.
|
2023-05-03 13:29:04 +03:00 |
|
levlam
|
71b7487f51
|
Don't attach messages for bots.
|
2023-05-03 13:18:05 +03:00 |
|
levlam
|
bba924f6a9
|
Make remaining OrderedMessage fields private.
|
2023-05-03 12:59:10 +03:00 |
|
levlam
|
4b048c4bbf
|
Avoid preliminary have_previous_ checks.
|
2023-05-03 12:54:55 +03:00 |
|
levlam
|
1eb98e9ce5
|
Improve OrderedMessages::insert.
|
2023-05-03 12:29:41 +03:00 |
|
levlam
|
4444204874
|
Minor condition improvements.
|
2023-05-03 12:22:47 +03:00 |
|
levlam
|
503a1e0e7e
|
Make OrderedMessages::iterator private.
|
2023-05-03 11:51:09 +03:00 |
|
levlam
|
85aedaa8c0
|
Add more logic to OrderedMessages::insert.
|
2023-05-03 11:48:06 +03:00 |
|
levlam
|
b8cd0bb597
|
Improve OrderedMessages::erase.
|
2023-05-03 01:34:58 +03:00 |
|
levlam
|
28b742e7d3
|
Improve OrderedMessages::insert.
|
2023-05-03 00:25:21 +03:00 |
|
levlam
|
e39757b6ec
|
Make OrderedMessage.message_id_ private.
|
2023-05-02 23:49:59 +03:00 |
|
levlam
|
aa7627108b
|
Improve OrderedMessage field names.
|
2023-05-02 23:27:37 +03:00 |
|
levlam
|
b00dfaf493
|
Make some OrderedMessage fields private.
|
2023-05-02 23:18:28 +03:00 |
|
levlam
|
128aec1d59
|
Make OrderedMessages fields private.
|
2023-05-02 23:14:35 +03:00 |
|
levlam
|
5ecc3a0968
|
Use traverse_messages to find minimum message identifier.
|
2023-05-02 23:11:04 +03:00 |
|
levlam
|
0d1cdc3e60
|
Add OrderedMessages::auto_attach_message.
|
2023-05-02 23:00:11 +03:00 |
|
levlam
|
6e4ebc56d1
|
Move attach_message_to_previous/attach_message_to_next to OrderedMessages.
|
2023-05-02 22:39:50 +03:00 |
|
levlam
|
4fe8137244
|
Use ConstIterator to find the last message.
|
2023-05-02 22:21:37 +03:00 |
|
levlam
|
494a25c19a
|
Fix find_unloadable_messages.
|
2023-05-02 22:06:08 +03:00 |
|
levlam
|
e9ee762f60
|
Implement find_unloadable_messages with traverse_messages.
|
2023-05-02 21:54:11 +03:00 |
|
levlam
|
d6ccdfeac6
|
Add generic OrderedMessages::find_messages.
|
2023-05-02 21:27:16 +03:00 |
|
levlam
|
233984f1e3
|
Move iterators to class OrderedMessages.
|
2023-05-02 19:07:02 +03:00 |
|
levlam
|
0a3ecfd03c
|
Add OrderedMessages::find_message_by_date.
|
2023-05-02 18:47:20 +03:00 |
|
levlam
|
f92d108319
|
Add OrderedMessages::find_messages_by_date.
|
2023-05-02 18:40:22 +03:00 |
|
levlam
|
961c9802af
|
Add OrderedMessages::find_newer_messages.
|
2023-05-02 18:17:06 +03:00 |
|
levlam
|
2e0cba4eea
|
Add OrderedMessages::find_older_messages.
|
2023-05-02 18:11:37 +03:00 |
|
levlam
|
2ff3233115
|
Add class OrderedMessages.
|
2023-05-02 18:04:54 +03:00 |
|
levlam
|
5ef84c5c65
|
Move class OrderedMessage out of MessagesManager.
|
2023-05-02 17:38:55 +03:00 |
|
levlam
|
df626f266e
|
Inline create_ordered_message.
|
2023-05-02 17:30:12 +03:00 |
|
levlam
|
316ba04a47
|
Inline treap_find_message.
|
2023-05-02 17:25:15 +03:00 |
|
levlam
|
453a53c953
|
Remove return value from treap_delete_message.
|
2023-05-02 17:18:05 +03:00 |
|
levlam
|
16873cad78
|
Ignore message order in find_messages.
|
2023-05-02 16:54:52 +03:00 |
|
levlam
|
0af40e53ac
|
Inline delete_all_dialog_messages_from_database.
|
2023-05-02 16:46:37 +03:00 |
|
levlam
|
fe20d43694
|
Remove MessagesManager::set_message_id.
|
2023-05-02 16:18:48 +03:00 |
|
levlam
|
7832c5d78c
|
Store message order separately from messages themselves.
|
2023-05-02 16:07:01 +03:00 |
|
levlam
|
36fede32c6
|
Reuse message iterator in MessagesManager::do_delete_message.
|
2023-05-02 14:59:20 +03:00 |
|
levlam
|
b9210f852c
|
Simplify attach_message_to_next/attach_message_to_previous usage.
|
2023-05-02 14:35:42 +03:00 |
|
levlam
|
0191b7bdb7
|
Initialize message->have_previous/have_next only after message is added to treap.
|
2023-05-02 14:21:03 +03:00 |
|
levlam
|
2bf7509603
|
Attach message to next/previous even it is outdated.
|
2023-05-02 13:35:10 +03:00 |
|
levlam
|
aace2a6465
|
Explicitly pass have_previous and have_next to add_message_to_dialog.
|
2023-05-02 13:22:13 +03:00 |
|
levlam
|
8a72bb7602
|
Don't use have_previous/have_next in update_message.
|
2023-05-02 13:12:29 +03:00 |
|
levlam
|
e2b0c750c1
|
Remove MessagesIteratorBase template parameter.
|
2023-05-02 00:57:37 +03:00 |
|
levlam
|
aa6e85404a
|
Store scheduled messages in a HashTable.
|
2023-05-02 00:52:23 +03:00 |
|
levlam
|
713b1f086e
|
Add MessagesManager::have_dialog_scheduled_messages_in_memory helper.
|
2023-05-01 23:15:54 +03:00 |
|
levlam
|
5397fe43e0
|
Ignore stored Message::have_previous/have_next flags.
|
2023-05-01 22:43:08 +03:00 |
|
levlam
|
77dbb2bf68
|
Don't use MessageSearchFilter::Pinned for bots.
|
2023-05-01 16:55:12 +03:00 |
|
levlam
|
8757f540ac
|
Force postponed updateChatReadInbox before returning the chat.
|
2023-05-01 16:41:04 +03:00 |
|
levlam
|
0e02512f47
|
Ensure that bots doesn't access message index counts.
|
2023-05-01 16:33:32 +03:00 |
|
levlam
|
b40865f81c
|
Do nothing in on_message_deleted_from_database for bots.
|
2023-05-01 16:03:23 +03:00 |
|
levlam
|
a544fc205f
|
Call on_message_deleted_from_database for failed to add from database messages.
|
2023-05-01 15:58:01 +03:00 |
|
levlam
|
730dac8dfe
|
Add MessagesManager::on_message_deleted_from_database.
|
2023-05-01 15:48:35 +03:00 |
|
levlam
|
3c2e08633b
|
Delay updateChatReadInbox updates in opened chats.
|
2023-05-01 15:33:51 +03:00 |
|
levlam
|
03e4013c9d
|
Don't resave chat when sending postponed updateChatReadInbox.
|
2023-05-01 15:17:08 +03:00 |
|
levlam
|
f8853fb938
|
Skip new entities for some bots.
|
2023-05-01 13:44:41 +03:00 |
|
levlam
|
5aff4aa27b
|
Hide global draft for forum chats.
|
2023-04-29 21:58:39 +03:00 |
|
levlam
|
ba4a851017
|
tg_cli: fix variable type.
|
2023-04-28 16:46:28 +03:00 |
|
levlam
|
bde874c1e7
|
Fix init_jni_vars for abstract classes.
|
2023-04-28 16:43:13 +03:00 |
|
levlam
|
b9d431ccac
|
tg_cli: ignore Terminal input sequences.
|
2023-04-27 14:13:32 +03:00 |
|
levlam
|
288895d984
|
Fix warning.
|
2023-04-26 23:10:14 +03:00 |
|
levlam
|
a05453a2c3
|
Remove unused variable.
|
2023-04-26 22:36:06 +03:00 |
|
levlam
|
36a45607f2
|
Use lazy initialization for Java class identifiers to avoid global reference table overflow on some Android 4 devices.
|
2023-04-26 17:15:53 +03:00 |
|
levlam
|
c62de5138c
|
Simplify fetch for empty td_api objects.
|
2023-04-26 16:51:41 +03:00 |
|
levlam
|
06a3ec7d7a
|
Improve javadoc.
|
2023-04-26 16:26:20 +03:00 |
|
levlam
|
5ad95e78bf
|
Improve variable names.
|
2023-04-25 16:51:08 +03:00 |
|
levlam
|
e79741dca0
|
Improve Poll field names.
|
2023-04-25 15:29:24 +03:00 |
|
levlam
|
cfe3e19231
|
Improve PollOption field names.
|
2023-04-25 15:16:29 +03:00 |
|
levlam
|
42c585b7ed
|
Simplify voter list handling.
|
2023-04-25 14:13:34 +03:00 |
|
levlam
|
65d4a7110c
|
Improve documentation.
|
2023-04-24 22:25:29 +03:00 |
|
levlam
|
868d894779
|
Don't autostart blocked bots.
|
2023-04-24 16:03:08 +03:00 |
|
levlam
|
f755ed8e97
|
Fix forward declaration usage.
|
2023-04-24 15:09:37 +03:00 |
|
levlam
|
bed72ccf14
|
Improve variable names.
|
2023-04-22 23:46:43 +03:00 |
|
levlam
|
328b8649d8
|
Fix SetBotInfoQuery.
|
2023-04-21 15:57:32 +03:00 |
|
levlam
|
8517026415
|
Update version to 1.8.14.
|
2023-04-21 13:15:29 +03:00 |
|
levlam
|
78c41b9fef
|
Use local variable for wakeup_at.
|
2023-04-20 17:24:30 +03:00 |
|
levlam
|
0c638d3531
|
Avoid duplicate session wake up time logging.
|
2023-04-20 17:19:38 +03:00 |
|
levlam
|
15e9a2bc1f
|
Remove old comment.
|
2023-04-19 18:19:12 +03:00 |
|
levlam
|
4271b9ab45
|
Minor improvements.
|
2023-04-19 15:30:31 +03:00 |
|
levlam
|
b88da80fc2
|
Fix sticker comparison in remove_recent_sticker.
|
2023-04-19 12:11:22 +03:00 |
|
levlam
|
58301570c6
|
Minor improvements.
|
2023-04-19 10:38:55 +03:00 |
|
levlam
|
27c3064c56
|
Remove DialogFilterManager::hide_dialog_filter_new_chats.
|
2023-04-19 10:18:40 +03:00 |
|
levlam
|
1d5d505789
|
Shuffle built-in datacenter IP addresses.
|
2023-04-19 10:07:57 +03:00 |
|
levlam
|
4b7c1aee03
|
Add and use Random::shuffle.
|
2023-04-19 10:02:34 +03:00 |
|
levlam
|
cd20d62c9c
|
Rename Op::string to Op::str to avoid ambiguity.
|
2023-04-19 00:57:46 +03:00 |
|
levlam
|
342c042ed7
|
Improve initialization order.
|
2023-04-19 00:50:13 +03:00 |
|
levlam
|
7ba56726e0
|
Log received language info.
|
2023-04-18 18:58:51 +03:00 |
|
levlam
|
afefdbcca0
|
Update another TLS ClientHello.
|
2023-04-18 18:24:57 +03:00 |
|
levlam
|
35327de43d
|
Update TlsInit.
|
2023-04-18 13:32:48 +03:00 |
|
levlam
|
0243f9d5e0
|
Improve log messages.
|
2023-04-17 18:12:44 +03:00 |
|
levlam
|
8028a810ec
|
Combine setBotInfo queries.
|
2023-04-17 13:28:26 +03:00 |
|
levlam
|
ca842596ab
|
Fix read_dialog_inbox.
|
2023-04-17 12:28:51 +03:00 |
|
levlam
|
6ec89d0dad
|
Combine GetBotInfo queries.
|
2023-04-17 12:23:21 +03:00 |
|
levlam
|
9263db3146
|
Move bot-related methods to BotInfoManager.
|
2023-04-16 23:25:52 +03:00 |
|
levlam
|
4f916a4d8e
|
Add BotInfoManager.
|
2023-04-16 23:12:28 +03:00 |
|
levlam
|
b171040808
|
Fix secret chat creation.
|
2023-04-15 11:39:22 +03:00 |
|
levlam
|
cfe57dbd60
|
Add td_api::readChatList.
|
2023-04-14 15:17:25 +03:00 |
|
levlam
|
d302dbd241
|
Add MessagesManager::read_dialog_inbox.
|
2023-04-14 14:55:59 +03:00 |
|
levlam
|
598ba5422f
|
Add MessagesManager::get_chat_ids_object.
|
2023-04-14 13:38:25 +03:00 |
|
levlam
|
cfc46b1893
|
Load chat with its info if appropriate.
|
2023-04-13 23:13:38 +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
|
50effcbaf4
|
Immediately delete chat background on removing it.
|
2023-04-13 20:10:44 +03:00 |
|
levlam
|
d597764a50
|
Improve switching between user and channel in voice chat.
|
2023-04-13 17:06:02 +03:00 |
|
levlam
|
a21b49ddfd
|
Avoid rare PTS getDifference after logging in.
|
2023-04-12 12:06:28 +03:00 |
|
levlam
|
e85a83ffb7
|
Don't add muted by admin users to recent speakers.
|
2023-04-12 11:24:06 +03:00 |
|
levlam
|
19502cbe15
|
Remove separate td_api::hideChatFolderNewChats.
|
2023-04-12 01:52:36 +03:00 |
|
levlam
|
9ebadf508c
|
Fix handling of min users.
|
2023-04-12 01:45:29 +03:00 |
|
levlam
|
e0bee7757b
|
Improve get_message_user_ids and get_message_channel_ids.
|
2023-04-12 01:33:48 +03:00 |
|
levlam
|
b4d6b68195
|
Replace dark_theme_brightness with dark_theme_dimming.
|
2023-04-12 00:59:53 +03:00 |
|
levlam
|
5df2f3c141
|
Add inputBackgroundPrevious.
|
2023-04-12 00:02:42 +03:00 |
|
levlam
|
b130306ce7
|
Add td_api::setChatBackground.
|
2023-04-11 17:46:55 +03:00 |
|
levlam
|
0ce6dc6834
|
Allow nullptr in BackgroundType::get_background_type.
|
2023-04-10 20:53:45 +03:00 |
|
levlam
|
45dd4eed9a
|
tg_cli: add class BackgroundType.
|
2023-04-10 20:22:10 +03:00 |
|
levlam
|
456129935e
|
tg_cli: add as_wallpaper_background.
|
2023-04-10 19:45:15 +03:00 |
|
levlam
|
23e7d8fad1
|
tg_cli: add class InputBackground.
|
2023-04-10 19:41:54 +03:00 |
|
levlam
|
00ed2f85b8
|
Support dark_theme_brightness for chat backgrounds.
|
2023-04-10 18:45:26 +03:00 |
|
levlam
|
13d0536db1
|
Add chat.background.
|
2023-04-10 17:23:21 +03:00 |
|
levlam
|
64b2cb4e12
|
Add class BackgroundInfo.
|
2023-04-10 16:32:59 +03:00 |
|
levlam
|
10562f5bac
|
Add pushMessageContentChatSetBackground.
|
2023-04-10 15:14:03 +03:00 |
|
levlam
|
0823c902bd
|
Add td_api::messageChatSetBackground.
|
2023-04-10 14:12:35 +03:00 |
|
levlam
|
4c27e92006
|
Add "chat_folder_invite_link_count_max" and "added_shareable_chat_folder_count_max" options.
|
2023-04-10 12:46:16 +03:00 |
|
levlam
|
90967ba8cf
|
Improve source in get_channel_full_force.
|
2023-04-09 23:47:47 +03:00 |
|
levlam
|
bef7184566
|
Improve have_input_peer for bots.
|
2023-04-09 23:00:44 +03:00 |
|
levlam
|
a52b6f025f
|
Add td_api::getChatsForChatFolderInviteLink.
|
2023-04-09 21:54:40 +03:00 |
|
levlam
|
33ac156bc0
|
Increase appConfig version.
|
2023-04-09 01:50:02 +03:00 |
|
levlam
|
d6b53d61fc
|
Use request promise in td_api::getChatFolder.
|
2023-04-09 01:35:42 +03:00 |
|
levlam
|
5872f0951a
|
Use bigger delay for secret chat accepting on desktops.
|
2023-04-08 23:49:47 +03:00 |
|
levlam
|
d986f0237c
|
Return error if no chat types are allowed.
|
2023-04-07 16:11:19 +03:00 |
|
levlam
|
b4676dc57a
|
Various fixes.
|
2023-04-07 16:02:31 +03:00 |
|
levlam
|
2a70fec0b0
|
Add inlineKeyboardButtonTypeSwitchInline.target_chat.
|
2023-04-07 14:00:10 +03:00 |
|
levlam
|
6fde8184af
|
Improve SetBotInfoQuery.
|
2023-04-07 01:15:16 +03:00 |
|
levlam
|
9b089bc194
|
Improve on_set_profile_photo.
|
2023-04-07 00:53:13 +03:00 |
|
levlam
|
aebf904513
|
Various chat folder fixes.
|
2023-04-06 23:15:22 +03:00 |
|
levlam
|
a6b0835b84
|
Add "chat_folder_new_chats_update_period" option.
|
2023-04-06 14:58:46 +03:00 |
|
levlam
|
6cef99b3eb
|
Add two new premiumLimitTypes.
|
2023-04-06 14:24:14 +03:00 |
|
levlam
|
82382ce416
|
Improve documentation.
|
2023-04-05 21:30:14 +03:00 |
|
levlam
|
cc062c6b11
|
Update folder invite links format.
|
2023-04-05 19:56:05 +03:00 |
|
levlam
|
f431c8ba5a
|
Add td_api::hideChatFolderNewChats.
|
2023-04-05 19:43:58 +03:00 |
|
levlam
|
758926bbed
|
Add td_api::addChatFolderNewChats.
|
2023-04-04 16:35:31 +03:00 |
|
levlam
|
e6cc743c33
|
Add td_api::getChatFolderNewChats.
|
2023-04-04 16:21:31 +03:00 |
|
levlam
|
19e15f283c
|
Improve checkChatUsernameResultUsernamePurchasable detection.
|
2023-04-03 21:33:04 +03:00 |
|
levlam
|
2e5bab9c48
|
Add messageGiftedPremium.gifter_user_id.
|
2023-04-03 21:20:41 +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
|
c44a2d07b5
|
Add edit links to userFull.
|
2023-04-03 20:26:31 +03:00 |
|
levlam
|
e2d3f2694f
|
Improve future salts logging.
|
2023-04-03 19:55:12 +03:00 |
|
levlam
|
d62f9281a7
|
Improve name of internalLinkTypeChatFolderSettings.
|
2023-04-03 18:17:25 +03:00 |
|
levlam
|
c62bbfb583
|
Remove expected error logging.
|
2023-04-03 18:00:44 +03:00 |
|
levlam
|
241021ae83
|
Rename chat filters to chat folders.
|
2023-04-03 17:28:51 +03:00 |
|
levlam
|
b34d1d2c25
|
Update has_my_invite_links when receive the list of all links.
|
2023-04-03 15:16:11 +03:00 |
|
levlam
|
613ab34f09
|
Add chatFilterInfo.has_my_invite_links.
|
2023-04-03 15:06:37 +03:00 |
|
levlam
|
45a6d9864c
|
Add chatInviteLinkMember.via_chat_filter_invite_link.
|
2023-04-03 13:36:47 +03:00 |
|
levlam
|
b374eeb6e0
|
Add chatEventMemberJoinedByInviteLink.via_chat_filter_invite_link.
|
2023-04-03 13:11:14 +03:00 |
|
levlam
|
e50e3e0b3a
|
Add updateChatMember.via_chat_filter_invite_link.
|
2023-04-02 23:45:27 +03:00 |
|
levlam
|
6198a6a842
|
Add td_api::getChatFilterChatsToLeave.
|
2023-04-02 12:40:57 +03:00 |
|
levlam
|
4bf49b246f
|
Add deleteChatFilter.leave_chat_ids.
|
2023-04-02 12:05:04 +03:00 |
|
levlam
|
7085bc4d8f
|
Pass promise to on_update_dialog_filters.
|
2023-04-02 11:53:25 +03:00 |
|
levlam
|
890084df51
|
Add ContactsManager::leave_dialog.
|
2023-04-02 11:46:38 +03:00 |
|
levlam
|
0ca51e8b79
|
Use DialogId::get_chat_ids.
|
2023-04-02 11:24:48 +03:00 |
|
levlam
|
ea27f659e6
|
Use chatlists.leaveChatlist to delete shareable folders.
|
2023-04-01 23:24:57 +03:00 |
|
levlam
|
cb2ce5d1de
|
Add td_api::addChatFilterByInviteLink.
|
2023-03-31 16:48:32 +03:00 |
|
levlam
|
d47bd927fe
|
Add td_api::checkChatFilterInviteLink.
|
2023-03-31 15:50:49 +03:00 |
|
levlam
|
8b97f76255
|
Add DialogFilter::get_icon_name_by_emoji.
|
2023-03-31 15:48:57 +03:00 |
|
levlam
|
715f681651
|
Add class chatFilterIcon.
|
2023-03-31 13:34:47 +03:00 |
|
levlam
|
725c7ba5d1
|
Add DialogFilterInviteLink::is_valid_invite_link.
|
2023-03-31 12:57:58 +03:00 |
|
levlam
|
6e139200eb
|
Use get_dialog_invite_link/get_dialog_filter_invite_link to generate the links.
|
2023-03-30 21:25:25 +03:00 |
|
levlam
|
5e14afc9dd
|
Remove superflous checks before calls to get_url_query_hash/slug.
|
2023-03-30 21:16:03 +03:00 |
|
levlam
|
ced48b910f
|
Remove superflous emptiness checks in get_url_query_hash/slug.
|
2023-03-30 21:12:54 +03:00 |
|
levlam
|
02a2e23cac
|
Add td_api::internalLinkTypeChatFilterInvite.
|
2023-03-30 21:11:15 +03:00 |
|
levlam
|
49b9ea2ec1
|
Add td_api::deleteChatFilterInviteLink.
|
2023-03-30 19:52:55 +03:00 |
|
levlam
|
a9f862c3c3
|
Add td_api::editChatFilterInviteLink.
|
2023-03-30 19:37:01 +03:00 |
|
levlam
|
3fa7e6f2f7
|
tg_cli: allow to edit shareable filters.
|
2023-03-30 18:39:51 +03:00 |
|
levlam
|
761bc9c992
|
Add chatFilter.is_shareable.
|
2023-03-30 18:23:26 +03:00 |
|
levlam
|
d1c9cacf85
|
Add td_api::getChatFilterInviteLinks.
|
2023-03-30 17:15:04 +03:00 |
|
levlam
|
0ec458ebb1
|
Allow basic groups in createChatFilterInviteLink.
|
2023-03-30 16:58:24 +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
|
3f9b43227c
|
tg_cli: add td_api::setBotProfilePhoto.
|
2023-03-29 22:45:13 +03:00 |
|
levlam
|
9d88c64718
|
Add td_api::setBotProfilePhoto.
|
2023-03-29 21:49:54 +03:00 |
|
levlam
|
62818418ea
|
Add setBotName/getBotName.
|
2023-03-28 18:42:54 +03:00 |
|
levlam
|
dceeb363d5
|
Invalidate UserFull for the edited bot.
|
2023-03-28 18:26:12 +03:00 |
|
levlam
|
92f1d26f08
|
Allow to edit description of owned bots.
|
2023-03-28 17:49:48 +03:00 |
|
levlam
|
aec7d5a26f
|
Add userTypeBot.can_be_edited.
|
2023-03-28 16:26:42 +03:00 |
|
levlam
|
a487c08eca
|
Move logging to DialogFilter::merge_dialog_filter_changes.
|
2023-03-27 21:40:07 +03:00 |
|
levlam
|
f844179528
|
Add td_api::createChatFilterInviteLink.
|
2023-03-27 21:36:44 +03:00 |
|
levlam
|
03819d0322
|
Move all chatFilter checks to DialogFilter::create_dialog_filter.
|
2023-03-27 19:08:25 +03:00 |
|
levlam
|
19ac20adc9
|
Move checks from DialogFilterManager::create_dialog_filter to DialogFilter.
|
2023-03-27 18:46:01 +03:00 |
|
levlam
|
f12fedd4d6
|
Add class DialogFilterDialogInfo.
|
2023-03-27 18:34:25 +03:00 |
|
levlam
|
f4daa4b61a
|
Move dialog filter list to DialogFilterManager.
|
2023-03-27 17:44:13 +03:00 |
|
levlam
|
9259728d16
|
Use do_edit_dialog_filter.
|
2023-03-27 14:16:02 +03:00 |
|
levlam
|
2ef970307b
|
Move get_chat_filter_object and load_dialog_filter to DialogFilterManager.
|
2023-03-27 14:09:55 +03:00 |
|
levlam
|
0ff733edad
|
Move recommended filters to DialogFilterManager.
|
2023-03-27 11:50:40 +03:00 |
|
levlam
|
800258fa57
|
Add DialogFilterManager.
|
2023-03-27 11:27:17 +03:00 |
|
levlam
|
9a85e4df1c
|
Add td_api::chatFilterInviteLink.
|
2023-03-24 17:06:09 +03:00 |
|
levlam
|
debf8f5f68
|
Support shareable filters.
|
2023-03-24 15:32:47 +03:00 |
|
levlam
|
910c5ee09c
|
Add cryptocurrency price to messageGiftedPremium.
|
2023-03-21 14:54:36 +03:00 |
|
levlam
|
a45d2de881
|
Update layer to 158.
|
2023-03-21 14:11:43 +03:00 |
|
levlam
|
bb28f308ef
|
Always return simple InputPeer.
|
2023-04-05 20:59:48 +03:00 |
|
levlam
|
55223c394f
|
Fix misprint.
|
2023-04-03 12:15:44 +03:00 |
|
levlam
|
fb4d0daa2f
|
Improve names of some variables.
|
2023-04-03 01:24:43 +03:00 |
|
levlam
|
375a024585
|
Remove redundant lambda creation.
|
2023-04-02 23:52:36 +03:00 |
|
levlam
|
6bc7c38e5f
|
Add DialogId::get_chat_ids.
|
2023-04-01 23:37:36 +03:00 |
|
levlam
|
4ee61aae2b
|
Improve error messages and documentation.
|
2023-03-31 15:01:38 +03:00 |
|
levlam
|
3be730b44a
|
tg_cli: add ChatFilterId class.
|
2023-03-30 17:23:26 +03:00 |
|
levlam
|
2cac802e07
|
tg_cli: add InputChatPhoto.
|
2023-03-29 22:42:19 +03:00 |
|
levlam
|
c95598e5e1
|
Don't register users and channels for bots.
|
2023-03-27 12:05:32 +03:00 |
|
levlam
|
007e3d8d11
|
Fix get_input_peer for bots.
|
2023-03-27 12:02:39 +03:00 |
|
levlam
|
46a76fa9a8
|
Add CustomEmojiId::get_custom_emoji_ids.
|
2023-03-27 00:54:44 +03:00 |
|
levlam
|
881e74accb
|
Add DialogId::get_dialog_ids.
|
2023-03-27 00:39:38 +03:00 |
|
AYMEN Mohammed
|
17e120d7ec
|
Fix typos. (#2365)
* Fix typos.
* Fix another typo. (by t.me/Mammad900)
|
2023-03-26 22:38:14 +03:00 |
|
levlam
|
eb664b4e9f
|
Update version to 1.8.13.
|
2023-03-25 09:24:10 +03:00 |
|
AYMENJD
|
7d70dcc9a4
|
Improve authenticationCodeTypeSms documentation.
|
2023-03-25 09:02:55 +03:00 |
|
John Preston
|
f742a9710d
|
Fix a type on viewMessages method documentation.
|
2023-03-25 09:01:45 +03:00 |
|
levlam
|
1ce9f9d27c
|
Minor improvements.
|
2023-03-24 14:14:37 +03:00 |
|
levlam
|
1eb83f09d3
|
Improve documentation.
|
2023-03-23 18:52:34 +03:00 |
|
levlam
|
a511f1c56f
|
Improve field names in DialogFilter.
|
2023-03-23 17:26:24 +03:00 |
|
levlam
|
b718933607
|
Don't drop is_outgoing message flag.
|
2023-03-23 16:54:18 +03:00 |
|
levlam
|
23c8ef2f63
|
Return error 404 from addApplicationChangelog if nothing was added.
|
2023-03-23 16:53:11 +03:00 |
|
levlam
|
cb27d4bd07
|
Make DialogFilter fields private.
|
2023-03-22 23:19:32 +03:00 |
|
levlam
|
f10fb4b6b5
|
Add and use DialogFilter::get_pinned_dialog_ids().
|
2023-03-22 23:09:57 +03:00 |
|
levlam
|
7871a4192a
|
Add DialogFilter::is_dialog_pinned.
|
2023-03-22 23:05:13 +03:00 |
|
levlam
|
d0593a02c1
|
Add DialogFilter::can_have_archived_dialogs.
|
2023-03-22 22:35:37 +03:00 |
|
levlam
|
dc18ce7b0e
|
Add and use DialogFilter::is_dialog_included.
|
2023-03-22 22:30:00 +03:00 |
|
levlam
|
314dca6757
|
Fix misprint.
|
2023-03-22 21:50:07 +03:00 |
|
levlam
|
de8b68a492
|
Send updateLanguagePackStrings when language pack is loaded for the first time.
|
2023-03-22 21:40:05 +03:00 |
|
levlam
|
a9ba8f5a6c
|
Reload promo data sequentially.
|
2023-03-22 19:52:06 +03:00 |
|
levlam
|
511689877c
|
Improve some log messages.
|
2023-03-22 19:29:33 +03:00 |
|
levlam
|
2bdb2dc371
|
Load channels from messages.
|
2023-03-22 19:22:10 +03:00 |
|
levlam
|
66da2bc97e
|
Add more input_channel checks.
|
2023-03-22 19:17:00 +03:00 |
|
levlam
|
f733e01d76
|
Add more checks for get_input_channel responses.
|
2023-03-22 18:35:28 +03:00 |
|
levlam
|
7c3822d932
|
Add and use ContactsManager::get_input_user_force.
|
2023-03-22 18:18:35 +03:00 |
|
levlam
|
25047c28cf
|
Use TRY_RESULT_PROMISE for get_input_user.
|
2023-03-22 17:39:56 +03:00 |
|
levlam
|
d1146a46f2
|
Add more secret chat checks.
|
2023-03-22 16:44:52 +03:00 |
|
levlam
|
e4942d9cf7
|
Add GroupCallManager::can_join_group_calls.
|
2023-03-22 15:36:45 +03:00 |
|
levlam
|
4a0f5011cb
|
Add some secret chat checks.
|
2023-03-22 15:05:05 +03:00 |
|
levlam
|
dbf66634cf
|
Add DialogFilter::can_include_dialog.
|
2023-03-22 14:26:05 +03:00 |
|
levlam
|
4c5651027e
|
Add DialogFilter::set_pinned_dialog_ids.
|
2023-03-22 14:14:21 +03:00 |
|
levlam
|
d3ef57e961
|
Add td_api::getSupportName.
|
2023-03-22 13:54:04 +03:00 |
|
levlam
|
b5df19ae34
|
Improve DialogFilter variable names.
|
2023-03-22 13:36:28 +03:00 |
|
levlam
|
ecc57d7b93
|
Move set_dialog_filters_order to DialogFilter.
|
2023-03-22 01:24:14 +03:00 |
|
levlam
|
f792137692
|
Add DialogFilter::need_dialog.
|
2023-03-22 01:17:07 +03:00 |
|
levlam
|
06940b2817
|
Add DialogFilter::get_chat_filter_object.
|
2023-03-22 01:00:54 +03:00 |
|
levlam
|
0c22f267c2
|
Improve log message.
|
2023-03-22 00:49:51 +03:00 |
|
levlam
|
54a9f1a554
|
Completely delete DialogFilter if all chats there are inaccessible.
|
2023-03-22 00:28:18 +03:00 |
|
levlam
|
18b7ee5e62
|
Add DialogFilter::set_dialog_is_pinned/include_dialog.
|
2023-03-21 23:21:19 +03:00 |
|
levlam
|
739bc08a31
|
Add DialogFilter::remove_dialog_id.
|
2023-03-21 23:20:33 +03:00 |
|
levlam
|
c5c06a8523
|
Move get_dialog_filter_ids to DialogFilter.
|
2023-03-21 22:35:00 +03:00 |
|
levlam
|
bfc0361b02
|
Move get_dialog_filter_folder_ids to DialogFilter.
|
2023-03-21 17:02:09 +03:00 |
|
levlam
|
d8a7114a2b
|
Move create_dialog_filter to DialogFilter.
|
2023-03-21 16:55:07 +03:00 |
|
levlam
|
9acf785389
|
Move sort_input_dialog_ids to class DialogFilter.
|
2023-03-21 16:26:06 +03:00 |
|
levlam
|
51c4c1368b
|
Add DialogFilter::for_each_dialog.
|
2023-03-21 16:12:47 +03:00 |
|
levlam
|
0168d47a8a
|
Add a.t.me Telegram domain.
|
2023-03-20 16:29:45 +03:00 |
|
levlam
|
1af942de49
|
Add td_api::resetAuthenticationEmailAddress.
|
2023-03-20 15:17:51 +03:00 |
|
levlam
|
e47adeab37
|
Improve email address reset API.
|
2023-03-20 14:45:11 +03:00 |
|
levlam
|
61a4259bfe
|
Add email address reset infomation to authorizationStateWaitEmailCode.
|
2023-03-20 01:40:05 +03:00 |
|
levlam
|
f3225b7106
|
Allow to call resendAuthenticationCode for Firenase SMS.
|
2023-03-19 00:29:10 +03:00 |
|
levlam
|
200b334f49
|
Update layer to 156.
|
2023-03-18 23:30:58 +03:00 |
|
levlam
|
b7d6383de7
|
Print a warning if a field is marked as nullable erroneously.
|
2023-03-17 22:43:37 +03:00 |
|
levlam
|
670bff9a01
|
Send updateUser when user.have_access is changed.
|
2023-03-17 21:59:22 +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
|
5ee4ba2759
|
Fix warning.
|
2023-03-17 02:06:45 +03:00 |
|
levlam
|
b6a6c07de5
|
Add optional source to MultiTimeout::cancel_timeout.
|
2023-03-17 01:02:30 +03:00 |
|
levlam
|
897319a275
|
Add more is_bot checks.
|
2023-03-16 23:38:03 +03:00 |
|
levlam
|
f282e2b6ac
|
Pass NotificationInfo to get_next_notification_id.
|
2023-03-16 23:11:08 +03:00 |
|
levlam
|
ad08cc1775
|
PAss NotificationInfo to *notification_id_to_message_id_correspondence.
|
2023-03-16 23:07:12 +03:00 |
|
levlam
|
7406361444
|
Improve NotificationInfo field names.
|
2023-03-16 22:57:14 +03:00 |
|
levlam
|
ea2567f5d0
|
Move max_notification_message_id to NotificationInfo.
|
2023-03-16 22:54:03 +03:00 |
|
levlam
|
b01ee666e9
|
Add struct NotificationInfo.
|
2023-03-16 22:38:29 +03:00 |
|
levlam
|
96981eed53
|
Add get_notification_group_info helper.
|
2023-03-16 20:39:00 +03:00 |
|
levlam
|
b19a1f5ba4
|
Move scheduled message info into a class.
|
2023-03-16 20:10:54 +03:00 |
|
levlam
|
c9a1d5bee6
|
Move read_history_log_event_ids out of Dialog.
|
2023-03-16 18:21:51 +03:00 |
|
levlam
|
a9e70dcafc
|
Move updated_read_history_message_ids out of Dialog.
|
2023-03-16 18:05:36 +03:00 |
|
levlam
|
3a1aaa1148
|
Move suffix load out of Dialog.
|
2023-03-16 17:54:33 +03:00 |
|
levlam
|
97fa882a8f
|
Move pending_viewed_live_locations out of Dialog.
|
2023-03-16 16:15:54 +03:00 |
|
levlam
|
0ffd1718be
|
Fix partial location check.
|
2023-03-16 14:11:41 +03:00 |
|
levlam
|
d26b0f42e8
|
Fix condition.
|
2023-03-15 23:51:15 +03:00 |
|
levlam
|
365c639c22
|
Move pending message views out of Dialog.
|
2023-03-15 23:45:30 +03:00 |
|
levlam
|
1b23cf0478
|
Don't use yet_unsent_thread_message_ids_ for bots.
|
2023-03-15 17:01:38 +03:00 |
|
levlam
|
7d99fc50ed
|
Move yet_unsent_thread_message_ids out of Dialog.
|
2023-03-15 16:59:23 +03:00 |
|
levlam
|
78d5146188
|
Move yet_unsent_message_id_to_persistent_message_id out of each Dialog.
|
2023-03-15 16:50:56 +03:00 |
|
levlam
|
5ee1c751f9
|
Remove debug_message_op.
|
2023-03-15 16:26:22 +03:00 |
|
levlam
|
969e239e56
|
Fix warning.
|
2023-03-15 15:32:00 +03:00 |
|
levlam
|
add71b25c9
|
Drop requests after few retries if failed to return profile photos.
|
2023-03-15 14:00:34 +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
|
e5cb2fa963
|
Add call_source to register_photo_size.
|
2023-03-15 00:23:41 +03:00 |
|
levlam
|
0dc9aac724
|
Add source to PhotoSizeSource::get_unique.
|
2023-03-15 00:18:34 +03:00 |
|
levlam
|
a4c7d25c69
|
Ignore invalid partial locations.
|
2023-03-14 23:56:23 +03:00 |
|
levlam
|
b1f16cffb2
|
Improve error message.
|
2023-03-14 23:39:59 +03:00 |
|
levlam
|
387e84004b
|
Ignore invalid polls stored in database.
|
2023-03-14 23:24:19 +03:00 |
|
levlam
|
4c390b4988
|
Don't use poll multi-timeouts while closing.
|
2023-03-14 23:20:05 +03:00 |
|
levlam
|
487ecfc87e
|
Always restart upload when known file prefix decreases.
|
2023-03-14 22:35:08 +03:00 |
|
levlam
|
4938e6dda7
|
Fix auth.sentCodeSuccess handling.
|
2023-03-14 21:45:23 +03:00 |
|
levlam
|
1673d2366b
|
Log real pong/read time.
|
2023-03-14 15:45:01 +03:00 |
|
levlam
|
28e788995a
|
Fix log message.
|
2023-03-14 15:30:43 +03:00 |
|
levlam
|
0293189b62
|
Allow to ignore background updates when file database is used.
|
2023-03-14 01:50:33 +03:00 |
|
levlam
|
d132c3e50d
|
Add Global::keep_media_order.
|
2023-03-14 01:48:32 +03:00 |
|
levlam
|
d6faa001e2
|
Add Global::use_sqlite_pmc.
|
2023-03-14 01:41:04 +03:00 |
|
levlam
|
47bd6b4ded
|
Don't cancel NotificationManager timeouts while closing. Callbacks will do nothing anyway.
|
2023-03-13 23:33:31 +03:00 |
|
levlam
|
1ce19c89ed
|
Inline TdDb::binlog_path/sqlite_path.
|
2023-03-13 22:41:59 +03:00 |
|
levlam
|
201ac65a73
|
Don't store sqlite_path_ explicitly.
|
2023-03-13 22:34:23 +03:00 |
|
levlam
|
47c4d50907
|
Add TdDb::Parameters.
|
2023-03-13 22:29:56 +03:00 |
|
levlam
|
03e7c4ce7c
|
Improve files_directory checking.
|
2023-03-13 21:33:35 +03:00 |
|
levlam
|
5b4f29e781
|
fix database parameters in the database thread,
|
2023-03-13 21:32:12 +03:00 |
|
levlam
|
367d3eaa2b
|
Move ignore_background_updates() to Td.
|
2023-03-13 21:13:59 +03:00 |
|
levlam
|
af838647df
|
Explicitly pass use_secret_chats to SecretChatsManager.
|
2023-03-13 20:35:19 +03:00 |
|
levlam
|
f1311610e5
|
Remove unneeded TdParameters.h includes.
|
2023-03-13 20:10:18 +03:00 |
|
levlam
|
835ee52491
|
Make TdParameters private in Global.
|
2023-03-13 19:47:38 +03:00 |
|
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 |
|
levlam
|
3d0140b3ef
|
Fix SQLite key-value usage.
|
2023-02-06 15:41:22 +03:00 |
|
levlam
|
5ed1d22d08
|
Fix watchOS compilation error.
|
2023-02-06 15:20:09 +03:00 |
|
levlam
|
43e5f2aded
|
Support updateAutosaveSettings in getCurrentState.
|
2023-02-05 10:04:19 +03:00 |
|
levlam
|
f6616f6ba3
|
Fix creator in ForumTopicInfo.
|
2023-02-04 17:59:17 +03:00 |
|
levlam
|
e9aa2fd64b
|
Don't try to check password without checkAuthenticationPassword/recoverAuthenticationPassword query.
|
2023-02-04 13:36:01 +03:00 |
|
levlam
|
9bf492dbc0
|
Fix warnings.
|
2023-02-04 09:55:11 +03:00 |
|
levlam
|
2f46132aa2
|
Send updateAutosaveSettings.
|
2023-02-04 03:32:16 +03:00 |
|
levlam
|
6dc48f30da
|
Add td_api::updateAutosaveSettings.
|
2023-02-03 20:59:32 +03:00 |
|
levlam
|
810b58d55a
|
Check and fix max_video_file_size.
|
2023-02-03 16:49:17 +03:00 |
|
levlam
|
7556ef4b18
|
Support telegram_api::updateAutoSaveSettings.
|
2023-02-03 16:08:44 +03:00 |
|
levlam
|
39f4091ac5
|
Add td_api::setAutosaveSettings.
|
2023-02-03 15:58:15 +03:00 |
|
levlam
|
498f507646
|
Improve class names.
|
2023-02-03 13:45:51 +03:00 |
|
levlam
|
255d887bce
|
Add td_api::clearAutosaveSettingsExceptions.
|
2023-02-03 13:07:43 +03:00 |
|
levlam
|
c5c9707837
|
Add td_api::getAutosaveSettings.
|
2023-02-03 12:39:23 +03:00 |
|
levlam
|
216b6e1acf
|
Add AutosaveManager.
|
2023-02-03 10:41:31 +03:00 |
|
levlam
|
ddab8d5dbc
|
Improve translateText documentation.
|
2023-02-03 00:01:03 +03:00 |
|
levlam
|
3179d35694
|
Update version to 1.8.11.
|
2023-02-02 19:19:34 +03:00 |
|
levlam
|
0adcac246a
|
Use explicit as_mutable_slice to get MutableSlice.
|
2023-02-02 17:40:47 +03:00 |
|
levlam
|
38b2fbe176
|
Fix query merge while closing.
|
2023-02-02 03:15:10 +03:00 |
|
levlam
|
882de6e8e8
|
Replace unsafe to maintain data_ field with get_data() method.
|
2023-02-02 03:08:26 +03:00 |
|
levlam
|
3ead2030f6
|
Improve chat photo animation documentation.
|
2023-02-01 21:13:41 +03:00 |
|
levlam
|
6be6871b5b
|
Fix error handling in QueryMerger.
|
2023-02-01 18:56:28 +03:00 |
|
levlam
|
d824cec905
|
Add get_custom_emoji_stickers_unlimited.
|
2023-02-01 03:48:06 +03:00 |
|
levlam
|
7596600548
|
Reload default chat photo custom emoji identifiers.
|
2023-02-01 02:35:57 +03:00 |
|
levlam
|
783a73b0e6
|
Fix formatting.
|
2023-02-01 02:18:02 +03:00 |
|
levlam
|
b067159d78
|
Improve chat type check.
|
2023-02-01 02:10:03 +03:00 |
|
levlam
|
b1ea693f1b
|
Don't try to repair empty draft message.
|
2023-02-01 01:51:41 +03:00 |
|
levlam
|
ec7c72e942
|
Check chat activness.
|
2023-02-01 01:48:05 +03:00 |
|
levlam
|
da7c518686
|
Improve needs_repainting documentation.
|
2023-02-01 00:57:06 +03:00 |
|
levlam
|
101afa286e
|
Don't check bot_is_member and bot_administrator_rights.
|
2023-02-01 00:40:39 +03:00 |
|
levlam
|
a347eb4da3
|
Add ability to check shared with bot user/chat.
|
2023-01-31 16:52:05 +03:00 |
|
levlam
|
ade5a089e9
|
Implement ReplyMarkup::check_shared_dialog.
|
2023-01-31 16:40:51 +03:00 |
|
levlam
|
9d5299820c
|
Add updateNewChatJoinRequest.user_chat_id.
|
2023-01-31 13:50:40 +03:00 |
|
levlam
|
4d70d1e920
|
Minor improvements.
|
2023-01-31 13:33:30 +03:00 |
|
levlam
|
ed32026958
|
Increase MessageUnsupported version.
|
2023-01-30 21:47:54 +03:00 |
|
levlam
|
68d7353350
|
Add listener nullability checks.
|
2023-01-30 18:21:57 +03:00 |
|
levlam
|
784b46a298
|
Add td_api::deviceTokenHuaweiPush.
|
2023-01-30 15:42:15 +03:00 |
|
levlam
|
47fd88b33f
|
Add and use "since_last_open" internal option.
|
2023-01-30 01:29:33 +03:00 |
|
levlam
|
0469ac0147
|
Add inputChatPhotoSticker.
|
2023-01-30 00:35:14 +03:00 |
|
levlam
|
5666925e5b
|
Don't postpone updates during initial getDifference.
|
2023-01-29 12:49:25 +03:00 |
|
levlam
|
23b345f87c
|
Improve LinkManager::get_external_link_info.
|
2023-01-28 03:41:17 +03:00 |
|
levlam
|
75dacac872
|
Add td_api::emojiCategoryTypeChatPhoto.
|
2023-01-27 15:16:40 +03:00 |
|
levlam
|
25cdd0e6ec
|
Ignore message_thread_id for channel posts.
|
2023-01-26 01:12:23 +03:00 |
|
levlam
|
a4f61ce47d
|
Add td_api::premiumFeatureRealTimeChatTranslation.
|
2023-01-25 21:26:09 +03:00 |
|
levlam
|
17f16ce839
|
Avoid duplicate updateUserStatus updates for self.
|
2023-01-25 21:00:41 +03:00 |
|
levlam
|
f6485e711e
|
Add StickersManager::get_used_language_codes_string.
|
2023-01-25 20:25:23 +03:00 |
|
levlam
|
f9b81efe4b
|
Replace result with "Request Aborted" error only if it is successful.
|
2023-01-25 19:58:23 +03:00 |
|
levlam
|
5cd523408d
|
Asynchronously check local location of all viewed and opened files.
|
2023-01-25 19:25:04 +03:00 |
|
levlam
|
5a6fb91bd9
|
Remove unneeded logging.
|
2023-01-25 17:50:42 +03:00 |
|
levlam
|
2325c5041b
|
Collect statistics about received updates.
|
2023-01-25 17:48:04 +03:00 |
|
levlam
|
30cdbe69b6
|
Store emoji groups in the database.
|
2023-01-25 16:23:34 +03:00 |
|
levlam
|
57548741c4
|
Send updateNewMessage after file upload has started.
|
2023-01-25 13:03:57 +03:00 |
|
levlam
|
b02f134798
|
Add td_api::EmojiCategoryType.
|
2023-01-24 21:38:53 +03:00 |
|
levlam
|
ae3a96e52d
|
Fix language pack information repair.
|
2023-01-24 18:34:49 +03:00 |
|
levlam
|
8730fd6f34
|
Add td_api::getEmojiCategories.
|
2023-01-24 18:11:02 +03:00 |
|
levlam
|
f51bea81e1
|
Support search by multiple emojis in getStickers.
|
2023-01-24 15:15:37 +03:00 |
|
levlam
|
e5b557f55c
|
Improve function name.
|
2023-01-23 23:46:51 +03:00 |
|
levlam
|
587a882270
|
Don't remove emoji selectors in search_stickers.
|
2023-01-23 22:10:23 +03:00 |
|
levlam
|
833c7c30da
|
Allow mutiple emojis in searchStickers.
|
2023-01-23 21:40:32 +03:00 |
|
levlam
|
e5441b5ed7
|
Support sticker_type in searchStickers.
|
2023-01-23 21:07:42 +03:00 |
|
levlam
|
b6fc03e3bb
|
Add StickersManager::reload_found_stickers helper.
|
2023-01-23 19:58:34 +03:00 |
|
levlam
|
94819c2218
|
Fix handling of requestPeerTypeBroadcast.
|
2023-01-23 19:39:30 +03:00 |
|
levlam
|
0feb0f15ce
|
Improve names of methods and message contents related to sharing user/chat with a bot.
|
2023-01-23 18:19:35 +03:00 |
|
levlam
|
c4568db488
|
Add more t.me domains for web clients.
|
2023-01-23 17:43:15 +03:00 |
|
levlam
|
8f3606fb2c
|
Add more service t.me subdomains.
|
2023-01-23 17:28:39 +03:00 |
|
levlam
|
a1543b0332
|
Add td_api::suggestedActionSubscribeToAnnualPremium.
|
2023-01-23 16:11:26 +03:00 |
|
levlam
|
4a5b702f11
|
Add suggestedActionUpgradePremium.
|
2023-01-23 16:03:32 +03:00 |
|
levlam
|
136a50d0ae
|
Add translateMessageText.
|
2023-01-23 15:46:26 +03:00 |
|
levlam
|
8560ddfe84
|
Ignore min-channel photo for unavailable channels.
|
2023-01-23 14:29:16 +03:00 |
|
levlam
|
a7e4c54f63
|
Support stickers in setChatPhoto.
|
2023-01-23 13:53:23 +03:00 |
|
levlam
|
7d2442f57f
|
Make StickeerPhotoSize fields private.
|
2023-01-23 13:02:10 +03:00 |
|
levlam
|
fac51c9819
|
Check provided custom emoji and sticker identifiers.
|
2023-01-23 12:50:39 +03:00 |
|
levlam
|
69c6a485ba
|
Add sticker.id.
|
2023-01-23 12:18:51 +03:00 |
|
levlam
|
0b07533506
|
Imptove StickerPhotoSize field names.
|
2023-01-23 12:05:08 +03:00 |
|
levlam
|
61dee568d1
|
Move get_chat_photo_sticker_object to StickerPhotoSize class.
|
2023-01-23 11:56:09 +03:00 |
|
levlam
|
0e1537420c
|
Improve video size processing.
|
2023-01-23 11:51:00 +03:00 |
|
levlam
|
345709f1ff
|
Store StickerPhotoSize in unique_ptr to optimize Photo size.
|
2023-01-23 00:57:40 +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
|
8137572794
|
Send updateChatIsTranslatable when premium is switched on or off.
|
2023-01-20 12:57:06 +03:00 |
|
levlam
|
337aef5c02
|
Support chat.is_translatable, toggleChatIsTranslatable and updateChatIsTranslatable.
|
2023-01-20 12:38:25 +03:00 |
|
levlam
|
315a526fba
|
Add information for Premium subscription upgrade.
|
2023-01-20 00:41:18 +03:00 |
|
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 |
|