levlam
4cb8af0584
Support revoking permanent chat invite links.
2021-02-05 18:56:44 +03:00
levlam
313a58b952
Replace td_api::sendChatSetTtlMessage with td_api::setChatMessageTtl.
2021-02-05 14:21:16 +03:00
levlam
342b4e45ca
Support deletion of all revoked invite links created by other administrator.
2021-02-05 02:17:12 +03:00
levlam
4d8fad1e81
Use httpUrl as return type of getProxyLink.
2021-02-05 01:46:55 +03:00
levlam
2193928cf6
Add getExternalLink method.
2021-02-04 14:36:11 +03:00
levlam
f2f68aa3b3
Add td_api::getChatInviteLinkCounts.
2021-02-02 19:23:45 +03:00
levlam
0cdb0388ee
Improve TTL spelling.
2021-02-02 02:33:48 +03:00
levlam
642a9a9efb
Update layer to 124.
2021-02-02 02:00:28 +03:00
levlam
025cb9b6a4
Don't create request promise early.
2021-02-13 21:49:24 +03:00
levlam
155d83c58f
Support top-level comments in SplitSource.php.
2021-02-12 17:27:07 +03:00
levlam
65a7715248
Pass promise to MessagesManager::on_dialog_deleted.
2021-02-04 16:01:04 +03:00
levlam
cd3abdbeb2
Move dialog participant methods from MessagesManager to ContactsManager.
2021-01-27 02:16:17 +03:00
levlam
6878b41dc7
Update layer 123.
2021-01-26 13:07:03 +03:00
Andrea Cavalli
9a01a9da1d
Merge commit 'e72c129f9ce3b7463c7a42406aab0d3ebffdc6be'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-23 22:47:58 +01:00
levlam
e584eccc65
Add createNewSupergroupChat.for_import.
2021-01-22 19:23:44 +03:00
levlam
1159323ecc
Add getMessageFileType method.
2021-01-22 19:14:35 +03:00
levlam
516f9cb9ce
Add importMessages method.
2021-01-21 22:00:08 +03:00
levlam
da4d2b7636
Add separate banChatMember method.
2021-01-20 21:12:48 +03:00
levlam
7a45faff24
Add offset_date support in getChatInviteLinks.
2021-01-20 17:30:26 +03:00
levlam
dbf1253075
Replace deleteSupergroup with universal deleteChat method.
2021-01-20 14:49:18 +03:00
levlam
4fa29ab1b8
Add deleteAllCallMessages method.
2021-01-19 13:21:50 +03:00
levlam
3ff68546ab
Add separate td_api::replacePermanentChatInviteLink method.
2021-01-18 23:04:56 +03:00
levlam
936dbbb254
Add separate method for revoking chat invite links.
2021-01-18 22:35:28 +03:00
levlam
3f91df5a47
Add td_api::deleteRevokedChatInviteLink.
2021-01-18 19:59:21 +03:00
levlam
93645ca29d
Add td_api::deleteRevokedChatInviteLink.
2021-01-18 19:51:46 +03:00
levlam
d52c676912
Add getChatInviteLinks.is_revoked.
2021-01-18 19:32:53 +03:00
levlam
cc8c0cbe64
Support delete_history flag in messages.discardEncryption.
2021-01-18 15:04:31 +03:00
levlam
65bf9ad604
Improve field names and documentation.
2021-01-17 23:07:17 +03:00
levlam
2348e175d9
Add source to get_chat_full_force.
2021-01-16 12:30:48 +03:00
Andrea Cavalli
919711d003
Use glibc malloc
2021-01-15 18:25:14 +01:00
levlam
d5c0028e1e
Add getChatInviteLinkUsers.
2021-01-14 23:21:23 +03:00
levlam
efc12342c2
Add getChatInviteLinks method.
2021-01-14 19:39:51 +03:00
levlam
1816a6c7a5
Support permanent invite links.
2021-01-13 18:16:33 +03:00
levlam
87a2423f5a
Add editChatInviteLink method.
2021-01-12 19:21:12 +03:00
levlam
daef481ac0
Add group video calls support.
2021-01-12 17:05:25 +03:00
levlam
0b7ce1c647
Update layer 123. Support new generateChatInviteLink.
2021-01-12 17:05:25 +03:00
levlam
0acc29b1d2
Treat bots as always online.
2021-01-11 22:22:18 +03:00
Andrea Cavalli
e0bcdab68f
Add experiment_old_postponed_pts_updates_behavior option
2021-01-07 13:08:07 +01:00
Andrea Cavalli
2f28ed3bba
Add experiment_enable_chat_access_hash_cleanup
2021-01-06 21:21:11 +01:00
Andrea Cavalli
8b7c89db03
postponed_pts_update log tag
2021-01-05 14:40:44 +01:00
Andrea Cavalli
af4693eac7
Add "messages" log tag
2021-01-05 12:27:29 +01:00
Andrea Cavalli
1430d6ec7b
Add missing options
2021-01-04 18:44:50 +01:00
levlam
6bba5a568a
Add setGroupCallParticipantVolumeLevel.
2021-01-02 22:59:48 +03:00
Andrea Cavalli
85fb357a19
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-02 12:57:08 +01:00
levlam
82f0386e73
Move some functions from misc.h to algorithm.h.
2021-01-01 16:01:03 +03:00
levlam
52c1da0a70
Update copyright year.
2021-01-01 15:57:46 +03:00
levlam
d25edad06d
Rewrite searchChatMembers and getSupergroupMembers implementation.
2021-01-25 17:34:45 +03:00
levlam
60673fea78
Add get_chat_members_object method.
2021-01-25 02:07:38 +03:00
levlam
ef160aa2c0
Add struct DialogParticipants.
2021-01-25 02:00:57 +03:00
levlam
ae59f017e7
Fix expires_in == 0 in schedule_get_promo_data.
2021-01-23 21:39:41 +03:00
Andrea Cavalli
17e7e44f6e
Merge commit '8139e0d560b25cd2827fb0473e5726319998c10f'
...
Conflicts:
td/generate/scheme/td_api.tlo
td/telegram/GroupCallManager.cpp
td/telegram/MessagesManager.cpp
2020-12-28 19:09:04 +01:00
Andrea Cavalli
7ef40eea0c
Group call patches
...
Add disable_group_calls boolean option
Add memory_cleanup and memory_stats to FileReferenceManager
Add memory_cleanup and memory_stats to GroupCallManager
2020-12-28 16:10:05 +01:00
levlam
1f9d173afb
Automatically check whether group call is still joined.
2020-12-28 00:30:27 +03:00
Andrea Cavalli
3817c4f634
Merge remote-tracking branch 'td/master'
2020-12-25 20:29:10 +01:00
Andrea Cavalli
f610ff028c
Merge
2020-12-25 20:24:09 +01:00
Andrea Cavalli
d0611518f6
Merge
2020-12-25 20:09:39 +01:00
Andrea Cavalli
8e99c3c873
Merge
2020-12-25 19:55:29 +01:00
Andrea Cavalli
b8d25b319e
Merge
2020-12-25 19:36:46 +01:00
Andrea Cavalli
c032df3b76
Merge
2020-12-25 19:09:41 +01:00
levlam
3589676550
Minor fixes.
2020-12-22 15:51:57 +03:00
levlam
7d73126506
Add success promise to on_get_updates.
2020-12-21 22:06:52 +03:00
levlam
f11877f6ed
Remove null messages from search-like request responses.
2020-12-20 14:08:11 +03:00
levlam
415a64ff24
Allow loading channel participants without bot info.
2020-12-16 17:43:34 +03:00
levlam
c73fc71744
Simplify promo data expires_in handling.
2020-12-15 13:28:41 +03:00
levlam
00eed8928c
Move voice chat creation to GroupCallManager.
2020-12-13 15:18:33 +03:00
levlam
4a0c42729b
Add td_api::loadGroupCallParticipants.
2020-12-11 19:47:34 +03:00
levlam
6e3e129b13
Improve group call method and field names.
2020-12-08 18:01:06 +03:00
levlam
23f1927c07
Improve sending speaking in voice chat typings.
2020-12-04 17:06:37 +03:00
levlam
49f7a56f11
Save joined group call synchronization source.
2020-12-04 01:56:27 +03:00
levlam
34e05375c1
Add GroupCallId class.
2020-12-03 19:52:50 +03:00
levlam
2da4316a06
Add td_api::getGroupCall.
2020-12-03 02:00:46 +03:00
levlam
eeee625803
Rename createVoiceChat method.
2020-12-03 01:08:20 +03:00
levlam
7f9681313a
Update layer 122.
2020-11-29 15:41:03 +03:00
levlam
3e95f8d9cc
Add toggleGroupCallMemberIsMuted method.
2020-11-27 17:40:29 +03:00
levlam
1aa5822bf8
Add checkGroupCall method.
2020-11-27 17:07:12 +03:00
levlam
f10db772f5
Add inviteGroupCallMember method.
2020-11-27 15:22:19 +03:00
levlam
1eca39c4ee
Add toggleGroupCallMuteNewMembers method.
2020-11-27 01:58:36 +03:00
levlam
162c06d00a
Add joinGroupCall method.
2020-11-26 14:32:29 +03:00
levlam
5cfda1df72
Add leaveGroupCall method.
2020-11-26 11:37:54 +03:00
levlam
e5bf347ceb
Add discardGroupCall.
2020-11-26 11:21:26 +03:00
levlam
e1271c7fa5
Add createChatGroupCall.
2020-11-26 10:56:13 +03:00
levlam
cc47f9b63f
Support updateGroupCall.
2020-11-25 17:04:32 +03:00
levlam
bd75c4b062
Add GroupCallManager.
2020-11-24 18:22:00 +03:00
Andrea Cavalli
cba9f74cba
Merge remote-tracking branch 'td/master'
2020-11-22 01:11:21 +01:00
levlam
09b10c0ed1
Improve names of statistical classes.
2020-11-19 17:57:15 +03:00
Andrea Cavalli
16f41643ed
Merge commit '821398fa211b6a3c53733ccf271ee7a783d9bc75'
...
Conflicts:
.gitignore
td/generate/scheme/td_api.tlo
td/telegram/ContactsManager.h
2020-11-04 20:05:50 +01:00
Andrea Cavalli
2e31ced59b
Update to tdlib 1.6.10
2020-11-04 20:03:14 +01:00
levlam
3a8931cff0
Ping server only if authorized.
...
GitOrigin-RevId: 02e272e5dd2892fde8df74b968091d14fb96ed54
2020-11-01 21:36:42 +03:00
levlam
5719636fa2
Add temporary reuse_uploaded_photos_by_hash option.
...
GitOrigin-RevId: 99fc8dae067322c51ad489f50d60979f62fa4213
2020-10-30 16:01:43 +03:00
levlam
6f4c4adcc8
Improve field names.
...
GitOrigin-RevId: ded67301be27af1f3b7c8f7e11b2172bb92934c7
2020-10-30 15:51:20 +03:00
levlam
86c80e652e
Improve field names.
...
GitOrigin-RevId: 3c30190dc75bd5dc812078f33bbf9dcaaeba1a1a
2020-10-29 22:25:58 +03:00
levlam
ef1b2921ae
Add td_api::getCallbackQueryMessage.
...
GitOrigin-RevId: a5ca7eab673e00942b4e2fe7a9c6e17dfb3784f8
2020-10-29 01:06:07 +03:00
Andrea Cavalli
973b9170de
Add option ignore_server_deletes_and_reads
2020-10-26 01:41:50 +01:00
Andrea Cavalli
017073e0a2
Add memory optimize and memory stats methods
2020-10-25 03:20:24 +02:00
levlam
38fe050dba
Update layer 120. New live location approaching API.
...
GitOrigin-RevId: 98e984a3c84deee3552eb01b53963a6a998c7eda
2020-10-25 00:49:41 +03:00
levlam
65246318bb
Allow to pin chat messages only for self in private chats.
...
GitOrigin-RevId: 57f71b2728a47469ff8f2a53478300dd3c96f658
2020-10-23 02:12:32 +03:00
levlam
793e8409de
Add td_api::unpinAllChatMessages.
...
GitOrigin-RevId: ad5aa1cf7ea0f1ee770900f5f58409436029b9a7
2020-10-23 01:56:06 +03:00
Andrea Cavalli
76dbe45ad8
Memory cleanup for caching
...
Remove cached deleted messages from dialogs
Comment out unused variables
2020-10-20 23:16:24 +02:00
levlam
14f5df397d
Support unpinning chat messages.
...
GitOrigin-RevId: 5cc4f2f5642114fd31c8a2ae71c8fda501dc73f7
2020-10-20 15:48:13 +03:00
levlam
9a3653a017
Add {en,dis}ableLiveLocationApproachingNotification methods.
...
GitOrigin-RevId: d1b92e683a4d663c33a09e8eb42a3aa62d134ef0
2020-10-19 18:44:55 +03:00
levlam
27f63e9e2e
Replace getBlockedChats with getBlockedMessageSenders.
...
GitOrigin-RevId: 044f70ab823b8302dddc8b7a128f19514306272a
2020-10-18 02:10:58 +03:00
levlam
0834d6164b
Replace toggleChatIsBlocked with toggleMessageSenderIsBlocked.
...
GitOrigin-RevId: cec3ba4ba139593e8cbf9422711e79b4a736b6f3
2020-10-18 01:54:32 +03:00
levlam
62fbb88969
Rename blockChatFromReplies to blockMessageSenderFromReplies.
...
GitOrigin-RevId: 820cbd60145c339c6cf5a7d319ff540ce03861e2
2020-10-18 01:26:36 +03:00
levlam
6e3eda2aa1
Add live location heading support.
...
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
2020-10-16 23:08:28 +03:00
levlam
b1ed582737
Allow to specify a chat as a local message sender.
...
GitOrigin-RevId: f1f5251b617a6f17188c7db49450a2eb433ef14c
2020-10-14 21:47:20 +03:00
levlam
b07d9634d6
Allow to pass chat as MessageSender in searchChatMessages.
...
GitOrigin-RevId: 7b39f616b1677c03dab2bbe48311ba188ec9344b
2020-10-14 14:41:04 +03:00
Andrea Cavalli
0da9b62eda
Merge commit '7207d76a809598d019e17fb04b2edc46789c6e22'
...
Conflicts:
td/telegram/Client.cpp
2020-10-12 16:12:59 +02:00
Andrea Cavalli
76a9e1974a
Merge commit 'f61bd5b89a428c9158c401cb54b46579cdb58381'
2020-10-12 16:00:57 +02:00
Andrea Cavalli
2b69eef4a5
Merge commit 'd87558177241862f7db1b934f8a211b94180f28b'
...
Conflicts:
td/telegram/Client.cpp
2020-10-12 15:59:54 +02:00
levlam
cebc6c1fb4
Remove empty requests logging.
...
GitOrigin-RevId: fdc488bfee7e974f5aca3322d7d028ed797b312f
2020-10-09 18:00:38 +03:00
levlam
d0a495d437
Send errors synchronously during Td close to prevent answer losing after Td stop.
...
GitOrigin-RevId: c9a8253d064ba997a7a7b2e7cbe581be9f86d0c7
2020-10-08 00:51:49 +03:00
levlam
29f3c91596
Fix request errors during closing.
...
GitOrigin-RevId: 6587b35bcb7aef082686a93e75ae8b891113da0b
2020-10-06 02:12:50 +03:00
levlam
d2d0cb5cc0
Move log tags definitions out of logging.cpp.
...
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
2020-10-05 18:07:23 +03:00
Andrea Cavalli
011d5c123a
Rename chat_unload_delay and fix its implementation
2020-10-02 17:32:24 +02:00
levlam
86e7186bae
Rename "chat_unload_delay" option and fix its implementation.
...
GitOrigin-RevId: a81de53455816c959986cd3924674600d0086adc
2020-10-02 12:42:16 +03:00
Andrea Cavalli
e0b335bc3e
Option "chat_unload_delay" for bots ( #1219 )
...
* Option "chat_unload_delay"
This option allows to override the default chat unload delay. The allowed range is from 60 to 86400 seconds (1 day)
2020-10-02 12:19:43 +03:00
Andrea Cavalli
96cf4f15a4
Merge commit '711b0cfd4f2aa163858b94e97db25d6be4adcfcb'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-01 23:45:02 +02:00
levlam
711b0cfd4f
Introduce DialogAction class.
...
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
2020-10-01 19:28:10 +03:00
Andrea Cavalli
41e5ce21ac
Merge commit '3d2067475e0764d4765b41aa372e5c3c10a5af5d'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-01 14:53:43 +02:00
Andrea Cavalli
c83fc13a60
Merge commit '1d9989cbd700492ffe636385d5578946f62139d9'
...
Conflicts:
td/telegram/ContactsManager.cpp
td/telegram/ContactsManager.h
td/telegram/MessagesDb.cpp
td/telegram/MessagesManager.cpp
2020-10-01 13:22:37 +02:00
Andrea Cavalli
d5fc32937f
Option "dialog_unload_delay"
...
This option allows to override the default dialog unload delay. The allowed range is from 0 to 86400 seconds (1 day). Set to -1 to restore the default behavior
2020-10-01 12:38:42 +02:00
Andrea Cavalli
8255ff5ded
Merge commit 'a6463970b1b6c88d81cd0360446248abb348f1b0'
2020-10-01 11:59:47 +02:00
Andrea Cavalli
b922e14de5
Merge commit '6d23ea4aa90d6a9815138efb832d45ee91cb984d'
...
Conflicts:
td/telegram/files/FileManager.cpp
2020-10-01 11:52:14 +02:00
Andrea Cavalli
503488a801
Merge commit '4d47247fc135d63ec13b7521c74460bfda03e557'
2020-10-01 11:46:07 +02:00
Andrea Cavalli
24ee424c91
Merge commit '3aee3527511ce43ae670081f3f65a71e7c92ee2c'
...
Conflicts:
td/telegram/MessagesDb.cpp
2020-10-01 11:42:54 +02:00
levlam
3d3ddf655b
Explicitly convert int64 to double.
...
GitOrigin-RevId: afdf35ee316ebb7e317921d4e4734582203783e3
2020-09-30 22:21:32 +03:00
levlam
b751acc3ae
Add td_api::getMessageThreadHistory.
...
GitOrigin-RevId: c5aaa396b1fcdd6704302296e407989ff19be0a0
2020-09-30 04:26:39 +03:00
levlam
605a968e51
Change is_anonymous field position.
...
GitOrigin-RevId: 7676dd1916881f24eba79f5692986b2d213b9a73
2020-09-28 01:15:56 +03:00
levlam
cfa202a589
Set my_id synchronously.
...
GitOrigin-RevId: 09c597b0c8cb4fc6bcb56582837c5b85700b6973
2020-09-25 13:15:23 +03:00
levlam
1fe397e43d
Make optionValueInteger value int64.
...
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
2020-09-25 00:46:16 +03:00
levlam
e0adaebb91
Unify logging of request responses.
...
GitOrigin-RevId: ae4c0a3881a89aa235baa08c07ec97a914437d8c
2020-09-24 16:08:04 +03:00
levlam
089fda8d13
Add blockChatFromReplies method.
...
GitOrigin-RevId: 45591f36bd5482d567c758b42572b953babe2537
2020-09-24 15:29:34 +03:00
levlam
25676d7ff0
Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
...
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
2020-09-23 01:52:16 +03:00
levlam
a83a356e44
Support local draft messages in message threads.
...
GitOrigin-RevId: f75e36f803b0aea5c6aff83831c31e0a312898db
2020-09-22 19:45:27 +03:00
levlam
3522d8dae0
Repalce getDiscussionMessage with getMessageThread.
...
GitOrigin-RevId: 8f5a828b3d1decf9c9c9061eaa706362b2b0272b
2020-09-22 17:27:35 +03:00
levlam
cb3f390a92
Unify "log event" spelling.
...
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam
08ff725767
Support viewing messages in message threads.
...
GitOrigin-RevId: 5bde413f4192993e12b8e89ff5cb569421b90d78
2020-09-22 01:13:06 +03:00
levlam
e283ad8ac6
Use send_closure_later to load *Full to exclude possibility of loading them from the database synchronously and invoke some side effects such as message loading synchronously.
...
GitOrigin-RevId: 4c97db4ce3fd517274380eb9eea8e586c6f04399
2020-09-21 16:09:17 +03:00
levlam
2afbf38c33
Make universal offline getMessageLink method.
...
GitOrigin-RevId: 523db9044cfb2d41076ac98974d4a00f0740e2a6
2020-09-20 22:07:27 +03:00
levlam
8f4e9b2ed4
Add td_api::getMessageEmbeddingCode.
...
GitOrigin-RevId: cd26212418c3de5fc5046da456fad84f0f633d0d
2020-09-20 18:17:47 +03:00
levlam
446ba8d406
Replace getBlockedUsers with getBlockedChats.
...
GitOrigin-RevId: 431e0639095b9e01d1b897a52bca4430855560e4
2020-09-20 03:29:00 +03:00
levlam
54308a86fe
Replace blockUser and unblockUser with toggleChatIsBlocked.
...
GitOrigin-RevId: 454542b32a7b8efc487afed54c59ae3864ea138e
2020-09-20 03:00:01 +03:00
levlam
b593d2a367
Add total_count to getChats, searchChats and getGroupsInCommon method responses.
...
GitOrigin-RevId: 2177bf47b38239a2d6e437f17d9f694ee5c31521
2020-09-20 00:28:26 +03:00
levlam
bda5a3c5bd
Allow sending chat actions inside message thread.
...
GitOrigin-RevId: 6ad0b659f957013fa493386ad808eb6767399253
2020-09-18 19:42:31 +03:00
levlam
1da8d859c9
Add for_group and for_comment in getMessageLink.
...
GitOrigin-RevId: 1ca027280f9e1013a1ad0ba20ed54ffbbcad2bb6
2020-09-17 16:47:27 +03:00
levlam
cd6cfc52ac
Add td_api::getDiscussionMessage.
...
GitOrigin-RevId: 5adf174ae08f0cf3c430ea0222f818a54988823f
2020-09-15 17:07:34 +03:00
levlam
1cd9f5d8c9
Support generating of public links for comment messages.
...
GitOrigin-RevId: 68d9a0260e60719f129e05d32fcbf756e93fa5d4
2020-09-14 01:12:24 +03:00
levlam
85be738d9d
Support automatic forward of media albums as albums.
...
GitOrigin-RevId: cb1f6446eef0b49f944491d07e2d44fb67a2a1c8
2020-09-12 20:50:16 +03:00
levlam
7df0c5084a
Fix updateShortMessage handling.
...
GitOrigin-RevId: 35c667af5646654ed9f8495774043adb10b12faf
2020-09-11 17:51:01 +03:00
levlam
01f3eecd85
Add support for is_anonymous administrator right.
...
GitOrigin-RevId: d0d46d961aebcc67275bb09ec883f6feaa465c63
2020-09-11 01:49:15 +03:00