levlam
158dd22f21
Add td_api::declinePasswordReset.
2021-06-29 05:24:55 +03:00
levlam
12383ea1d2
Add td_api::resetPassword.
2021-06-29 05:16:48 +03:00
levlam
18caf96c54
Add checkPasswordRecoveryCode.
2021-06-28 23:47:54 +03:00
levlam
709afe3f0c
Add checkAuthenticationPasswordRecoveryCode.
2021-06-28 22:33:08 +03:00
levlam
3c400f12b4
Support new_password in recoverPassword.
2021-06-28 19:47:23 +03:00
levlam
2b7b6b7759
Improve logging on log out.
2021-06-27 05:52:43 +03:00
levlam
de679f8f0c
Improve documentation.
2021-06-24 20:09:10 +03:00
levlam
9b85516cfd
Move bot command handling functions to BotCommand.cpp.
2021-06-22 04:25:15 +03:00
levlam
e8b32d9b05
Add td_api::deleteCommands.
2021-06-22 04:17:44 +03:00
levlam
7e543cf80b
Allow to use uploadStickerFile for animated stickers.
2021-06-21 22:25:26 +03:00
levlam
9940dd74db
Remove botInfo class from API.
2021-06-21 04:14:29 +03:00
levlam
1202d55e27
Add getCommands method.
2021-06-19 04:18:02 +03:00
levlam
62a543cb35
Add BotCommandScope to setCommands.
2021-06-19 04:00:23 +03:00
levlam
16f52b59ab
Add createNewStickerSet.source.
2021-06-18 18:45:57 +03:00
levlam
9440925711
Move some classes inside corresponding managers.
2021-06-18 03:06:20 +03:00
levlam
843df9e1f7
Remove unneeded td_api::getGroupCallMediaChannelDescriptions.
2021-06-17 21:37:39 +03:00
levlam
84cf82583e
Add td_api::checkStickerSetName.
2021-06-17 21:29:07 +03:00
levlam
706647bdbc
Add the method getSuggestedStickerSetName.
2021-06-17 20:38:03 +03:00
levlam
4048e5ae95
Enable createNewStickerSet for regular users.
2021-06-17 20:14:48 +03:00
levlam
411d30e1c7
Remove Td::on_channel_unban_timeout proxy.
2021-06-10 21:56:05 +03:00
levlam
89459ca497
Replace getInviteText with getApplicationDownloadLink.
2021-06-04 19:31:18 +03:00
levlam
af33e8343a
Improve method name.
2021-06-04 01:17:15 +03:00
levlam
a96bf1531a
Use FullMessageId in get_login_button_url.
2021-06-03 23:37:56 +03:00
levlam
fa7ce9b94d
Move get_external_link_info to LinkManager.
2021-06-03 23:19:35 +03:00
levlam
126a20c318
Reload voice chat when user opens a voice chat link.
2021-06-03 20:16:14 +03:00
levlam
63fd974e35
Add setGroupCallScreenSharingIsPaused.
2021-06-02 00:38:08 +03:00
levlam
b074bce314
Add is_my_video_paused.
2021-06-01 20:11:18 +03:00
levlam
76f134c0e7
Add td_api::getInternalLinkType.
2021-06-01 05:41:32 +03:00
levlam
9cecc116f3
Prefer US spelling of "canceled".
2021-05-31 21:51:48 +03:00
levlam
5832a59ee5
Move get_message_link_info to LinkManager.
2021-05-27 20:47:04 +03:00
Andrea Cavalli
2c77e82300
Merge remote-tracking branch 'td/master' into dev
2021-05-27 00:50:41 +02:00
levlam
3e0e9f5291
Parse background parameters in searchBackground.
2021-05-26 20:25:37 +03:00
levlam
62db52a23e
Move LoginUrl-related methods to LinkManager.
2021-05-25 02:39:29 +03:00
levlam
d946ab9267
Add empty LinkManager.
2021-05-25 02:24:30 +03:00
levlam
a6a4eb6616
Don't include SliceBuilder.h in logging.h.
2021-05-17 15:21:11 +03:00
levlam
9c49e6a625
Log versions on Td instance creation.
2021-05-07 20:52:54 +03:00
Andrea Cavalli
40048f12ca
Merge
2021-05-04 22:17:39 +02:00
levlam
138bf15dec
Add getGroupCallMediaChannelDescriptions method.
2021-05-03 21:44:21 +03:00
levlam
8485867fe0
Add toggleGroupCallIsMyVideoEnabled.
2021-05-02 02:40:22 +03:00
levlam
8e0f14bc93
Allow to join group call with enabled/disabled video.
2021-05-01 21:13:51 +03:00
levlam
31c36aaa7a
Add td_api::endGroupCallScreenSharing.
2021-04-30 20:21:07 +03:00
levlam
2225e56906
Add startGroupCallScreenSharing.
2021-04-30 19:53:39 +03:00
levlam
6e7c53eb74
Remove legacy groupCall payload types.
2021-04-30 17:49:00 +03:00
levlam
cba755d185
Fix handling of pre-initialization requests in Decrypt state.
2021-04-15 21:07:05 +03:00
Andrea Cavalli
799d106c49
Merge remote-tracking branch 'td/master'
2021-04-10 19:44:10 +02:00
levlam
4abb995b05
Don't use online mode for bots having more than one session.
2021-04-08 15:51:29 +03:00
levlam
a0dcd2d9c2
Add optional source to have_dialog_force.
2021-04-08 00:51:32 +03:00
levlam
5d5f950d2b
Support themes in getPaymentForm.
2021-04-07 22:49:09 +03:00
levlam
37cee0d823
Add td_api::setVoiceChatDefaultParticipant.
2021-04-07 16:25:29 +03:00
levlam
4aa5df26bc
Use participant_id instead of participant/participant_alias for group call participant identifiers.
2021-04-07 03:30:26 +03:00
levlam
10bc074a1e
Support subscription to group call start notification.
2021-04-07 03:04:56 +03:00
levlam
a7c34c5c49
Add td_api::startScheduledGroupCall.
2021-04-07 02:11:14 +03:00
levlam
2241058f85
Allow to create scheduled voice chats.
2021-04-06 02:54:55 +03:00
levlam
02fe7e47e6
Allow to specify title of created voice chats.
2021-04-06 02:13:57 +03:00
Andrea Cavalli
1ce823b0e6
Merge commit '1bbcc01091c8ca92f79821790b8857edb5a1b6b4'
2021-04-03 12:53:29 +02:00
Andrea Cavalli
efb9c6b41d
Add optiona pull-based backpressure system for get_channel_difference
2021-04-03 12:46:22 +02:00
levlam
9700529085
Remove payments proxy methods from MessagesManager.
2021-03-31 04:15:02 +03:00
levlam
3ac49bc8b1
Pass Td to all payments method.
2021-03-31 03:18:00 +03:00
levlam
f1b949456b
Support tip sending.
2021-03-30 18:45:22 +03:00
levlam
17e8860855
Add paymentForm.id.
2021-03-30 17:18:08 +03:00
levlam
4f644ce389
Add and use statis UserId::get_user_ids/get_input_user_ids methods.
2021-03-29 00:50:15 +03:00
Andrea Cavalli
0c653e2526
Merge commit 'fbc7e5a7f845d6c8df12b11f5b9a5c9ffc6eea0e'
2021-03-28 12:57:26 +02:00
levlam
b84318fed4
Minor improvements.
2021-03-27 05:19:22 +03:00
levlam
66de95d93c
Fix compilation errors and formatting.
2021-03-26 18:52:45 +03:00
Arseny Smirnov
5c7b7d4c85
TD_EXPERIMENTAL_WATCH_OS cmake option
2021-03-26 18:04:25 +03:00
levlam
14fc0898ad
Support banning and unbanning channels and supergroups.
2021-03-26 04:11:30 +03:00
levlam
f28af4ab20
Add ContactsManager::get_participant_dialog_id.
2021-03-26 03:17:30 +03:00
levlam
206cd55479
Support chat-members in getChatMember.
2021-03-24 23:40:13 +03:00
Andrea Cavalli
78291a96d4
Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d'
2021-03-21 01:04:45 +01:00
Andrea Cavalli
e1771fa7de
Add an experimental option to delay get_channel_difference
2021-03-21 00:27:18 +01:00
levlam
62c9890bcf
Support url_auth_domains.
2021-03-16 01:29:54 +03:00
levlam
54b9760935
Improve getExternalLink methods.
2021-03-16 00:52:37 +03:00
levlam
0339921102
Improve some spelling.
2021-03-15 03:32:14 +03:00
levlam
e2ac80f2ba
Add td_api::toggleGroupCallParticipantIsHandRaised.
2021-03-15 01:56:59 +03:00
levlam
4d754052e0
Fix getGroupCallStreamSegment.
2021-03-13 16:50:11 +03:00
levlam
a833d5e292
Improve method name.
2021-03-12 19:31:52 +03:00
levlam
0ec4c2084e
Add td_api::getGroupCallInviteLink.
2021-03-12 19:29:06 +03:00
levlam
73bed3ed80
Add resetGroupCallInviteHash method.
2021-03-12 18:58:43 +03:00
levlam
9bfd98c08d
Add joinGroupCall.invite_hash.
2021-03-12 18:36:55 +03:00
levlam
0fb6c52cd4
Support toggling group call recording.
2021-03-11 22:19:19 +03:00
Andrea Cavalli
1ea79d2739
Merge latest commits
2021-03-11 18:25:39 +01:00
levlam
67889cdcbc
Add td_api::getGroupCallStreamSegment.
2021-03-10 22:50:14 +03:00
levlam
62cfe3bdd9
Add td_api::getAvailableVoiceChatAliases.
2021-03-08 20:25:56 +03:00
levlam
574884510b
Use MessageSender as participant_alias.
2021-03-08 18:08:41 +03:00
levlam
c611553ece
Allow to join group call as a chat.
2021-03-06 23:21:22 +03:00
levlam
3bac31cc16
Allow to edit chat group call participants.
2021-03-05 16:03:49 +03:00
levlam
a93189dade
Support chats as group call participants.
2021-03-05 14:40:54 +03:00
levlam
b88f5ba6f3
Fix banChatMember for bots.
2021-03-03 19:30:33 +03:00
levlam
882d837d24
Add td_api::setGroupCallTitle.
2021-03-02 19:44:57 +03:00
levlam
dd80b0ef25
Add Td::set_is_bot_online function.
2021-03-02 04:06:02 +03:00
levlam
1f01a40521
Bring bots offline if there are no updates for 5 minutes.
2021-03-02 01:20:45 +03:00
levlam
18fc612b3b
Rename administrator_user_id to creator_user_id.
2021-02-25 16:02:07 +03:00
levlam
1e7795354d
Add td_api::getChatInviteLink.
2021-02-24 22:25:10 +03:00
levlam
2dd85f92d8
Rename permanent invite links to primary invite links.
2021-02-24 12:19:55 +03:00
levlam
eafdf2ebed
Add td_api::getMessageImportConfirmationText.
2021-02-23 02:03:24 +03:00
levlam
b67bafb23c
Add td_api::suggestedActionConvertToBroadcastGroup.
2021-02-22 18:06:18 +03:00
levlam
a14c9071f1
Use struct for SuggestedAction.
2021-02-21 01:06:45 +03:00
levlam
c67a0d9d7b
Add class ReportReason.
2021-02-20 03:55:09 +03:00
levlam
3774b13ca1
Add td_api::reportChatPhoto.
2021-02-19 19:11:27 +03:00
levlam
9b62afbea2
Add td_api::toggleSupergroupIsBroadcastGroup.
2021-02-17 01:06:35 +03:00
levlam
65d4229352
Allow to specify report text for all report chat reasons.
2021-02-12 20:14:59 +03:00
levlam
d6da217b9a
Allow changing message TTL in non-secret chats.
2021-02-09 18:51:08 +03:00
levlam
bf42d62f1e
Unify ResultHandler subclass names and logged name.
2021-02-08 15:56:08 +03:00
levlam
c226a204fa
Diallow invite link deletion for bots.
2021-02-08 15:34:05 +03:00
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