Andrea Cavalli
53d4e14c7d
Merge remote-tracking branch 'td/master'
2021-12-28 19:12:09 +01:00
levlam
a81ab8abba
Remove viewSponsoredMessage in favor of viewMessages.
2021-12-27 18:17:02 +03:00
Andrea Cavalli
7a3cf7ad57
Merge remote-tracking branch 'td/master'
2021-12-25 00:25:15 +01:00
levlam
ff6615e734
Fix some misprints.
2021-12-23 14:18:32 +03:00
levlam
dd8b1169b1
Rename the method to endGroupCall.
2021-12-23 13:00:05 +03:00
levlam
e71f9f6d75
Remove unneeded includes.
2021-12-22 21:07:42 +03:00
levlam
4f2689d44a
Rename expire_date to expiration_date.
2021-12-22 13:57:47 +03:00
levlam
ae1d1867f2
Remove multiple sponsored messages in a chat.
2021-12-21 14:19:48 +03:00
levlam
4e29d0e232
Rename message_ttl_setting to message_ttl.
2021-12-21 14:06:15 +03:00
levlam
81cebe39eb
Improve naming of selected message sender in a chat.
2021-12-21 13:49:26 +03:00
Andrea Cavalli
4cdd439ec6
Merge remote-tracking branch 'td/master'
2021-12-21 01:49:41 +01:00
levlam
7334b262fb
Remove unneeded logging on instance closing.
2021-12-20 21:11:02 +03:00
Andrea Cavalli
3440f2c07e
Merge remote-tracking branch 'td/master'
2021-12-20 16:51:07 +01:00
levlam
93464ccd27
Use request promise in getChatAdministrators.
2021-12-18 22:44:25 +03:00
Andrea Cavalli
6d1329ee7a
Merge remote-tracking branch 'td/master'
2021-12-17 15:43:10 +01:00
levlam
b060536ae3
Return Result<...> from get_input_user.
2021-12-16 22:46:03 +03:00
Andrea Cavalli
f211df073e
Merge remote-tracking branch 'td/master'
2021-12-16 16:36:15 +01:00
levlam
d75f0a4e94
Move "unix_time" option handling to OptionManager.
2021-12-16 15:18:51 +03:00
levlam
ee629c342b
Move setOption handling to OptionManager.
2021-12-16 13:13:14 +03:00
levlam
10505fae72
Move the rest options to OptionManager::get_current_state.
2021-12-16 12:16:09 +03:00
levlam
a333f3fb61
Move getOption handling to OptionManager.
2021-12-16 12:07:32 +03:00
levlam
4254614e97
Move option-related methods to OptionManager.
2021-12-16 01:45:43 +03:00
levlam
191b4ee5d5
Add empty OptionManager.
2021-12-16 01:09:59 +03:00
levlam
83bd3e33d0
Don't use early returns in Td::on_config_option_updated.
2021-12-15 23:25:12 +03:00
levlam
3043421464
Make "session_count" option internal.
2021-12-15 23:20:29 +03:00
levlam
ffdbc8eec0
Use switch by letter in Td::on_config_option_updated.
2021-12-15 23:18:08 +03:00
levlam
1a98ac8004
Don't use min/max as variable names.
2021-12-15 20:55:03 +03:00
Andrea Cavalli
bcc6636f3a
Merge remote-tracking branch 'td/master'
2021-12-07 22:05:52 +01:00
levlam
831ca4b975
Rename allow_saving_content to has_private_content.
2021-12-06 21:43:55 +03:00
levlam
fb9bb3cd69
Save and load lists of created public channels.
2021-12-03 20:10:30 +03:00
levlam
03baffcd1f
Combine GetCreatedPublicChannels queries.
2021-12-03 15:40:39 +03:00
Andrea Cavalli
b8d144cfd2
Merge remote-tracking branch 'td/master'
2021-11-29 14:05:43 +01:00
levlam
f5c65b83ee
Add suggestedActionSetPassword.
2021-11-26 16:22:39 +03:00
levlam
25baedaa34
Move dismiss_suggested_action to SuggestedAction.cpp.
2021-11-26 14:48:43 +03:00
levlam
10159fbdf1
Add toggleChatAllowSavingContent.
2021-11-25 11:44:51 +03:00
levlam
47d0195c85
Add toggleSessionCanAcceptCalls method.
2021-11-24 17:59:17 +03:00
levlam
fd71b62045
Improve method name.
2021-11-24 14:03:35 +03:00
levlam
0b2207f180
Add td_api::processChatJoinRequests.
2021-11-24 12:02:23 +03:00
levlam
7c0a4117a4
Replace approve/decline with a single method processChatJoinRequest.
2021-11-24 11:33:18 +03:00
levlam
acc43bb0b5
Allow typings by chats and rename updateUserChatAction to updateChatAction.
2021-11-23 14:29:49 +03:00
Andrea Cavalli
8e13003896
Merge remote-tracking branch 'td/master'
2021-11-22 23:28:02 +01:00
levlam
993a9e24c4
Remove user_id from reportSupergroupSpam.
2021-11-19 17:12:38 +03:00
levlam
5232774d89
Replace deleteChatMessagesFromUser with deleteChatMessagesBySender.
2021-11-19 15:48:05 +03:00
levlam
6c9b5ebf55
Add td_api::setInactiveSessionsTtl.
2021-11-16 16:04:19 +03:00
levlam
526e7dc631
Add toggleSessionCanAcceptSecretChats.
2021-11-16 15:22:00 +03:00
levlam
36d4de747f
Move website authorization functions to Account.cpp.
2021-11-16 13:13:06 +03:00
levlam
c64cc8ad26
Move account-related methods to Account.cpp.
2021-11-16 13:02:07 +03:00
Andrea Cavalli
a248d81e5b
Merge remote-tracking branch 'td/master'
2021-11-16 00:42:28 +01:00
levlam
922fd9b17b
Pass chat member status as DialogParticipantStatus.
2021-11-15 17:57:00 +03:00
levlam
10c03c450f
Improve MessageSender field names.
2021-11-15 17:25:24 +03:00
levlam
423e82ae2b
Add td_api::setChatDefaultMessageSender.
2021-11-15 17:08:37 +03:00
levlam
1a291847d7
Improve get_message_sender_dialog_id.
2021-11-15 13:31:07 +03:00
levlam
5987ca69ff
Move get_message_sender_dialog_id to MessageSender.cpp.
2021-11-15 12:07:52 +03:00
Andrea Cavalli
48e3660d2c
Merge remote-tracking branch 'td/master'
2021-11-14 22:46:37 +01:00
levlam
108fca1e6e
Add getChatAvailableMessageSenders.
2021-11-12 17:11:01 +03:00
levlam
85c30e5dd2
Add check that RequestHandler sends at most one request.
2021-11-12 14:47:51 +03:00
levlam
4762983803
Inline Td::send.
2021-11-12 14:39:04 +03:00
levlam
b731414d42
Init some fields just in case.
2021-11-11 17:39:09 +03:00
levlam
6238f0fc89
Minor improvements.
2021-11-10 21:09:28 +03:00
levlam
53b0cf792a
Add thread count to Td creation logging.
2021-12-06 20:11:25 +03:00
levlam
a3e9a0be1f
Move get_dialog_event_log to separate file.
2021-11-09 16:54:49 +03:00
levlam
b0eca77c9a
Improve logging.
2021-11-08 17:11:35 +03:00
levlam
2f1821a6c4
Improve RequestActor td_ private field name.
2021-11-08 15:26:22 +03:00
levlam
616b0e6d6f
Improve ResultHandler/NetActor td_ private field name.
2021-11-08 15:20:38 +03:00
levlam
776635e8c5
Simplify result handling.
2021-11-08 14:35:40 +03:00
levlam
5578ecc6b8
Remove NetQuery id from ResultHandler and NetActor.
2021-11-08 14:19:57 +03:00
Andrea Cavalli
9c9772868b
Merge remote-tracking branch 'td/master'
2021-11-05 16:11:03 +01:00
levlam
47f3363ca8
Improve field names.
2021-11-04 09:52:27 +03:00
levlam
3d827b408f
Allow to set "utc_time_offset" option.
2021-11-01 22:42:33 +03:00
levlam
88d7b284b4
Add utc_time_offset option.
2021-11-01 22:32:49 +03:00
levlam
0c1e268706
Don't generate MASK for parsed True fields.
2021-11-01 21:53:23 +03:00
levlam
13c76b349d
Add td_api::getChatMessageCalendar.
2021-10-30 03:34:49 +03:00
Andrea Cavalli
9b0d54de26
Merge remote-tracking branch 'td/master'
2021-10-29 00:31:20 +02:00
levlam
97243b53e4
Allow to create and edit chat invite links with title.
2021-10-27 13:04:34 +03:00
levlam
6893c49be7
Add td_api::getAnimatedEmoji.
2021-10-26 17:59:15 +03:00
levlam
d019d89d39
Add td_api::deleteChatMessagesByDate.
2021-10-25 20:39:22 +03:00
levlam
d9607b4a46
Use send_closure for Td::close()/destroy() to ensure the correct call order.
2021-10-25 06:47:20 +03:00
levlam
1c59f37ca9
Move some methods inside DialogParticipantsFilter class.
2021-10-23 22:23:59 +03:00
Andrea Cavalli
0003911d8d
Merge remote-tracking branch 'td/master'
2021-10-23 04:10:44 +02:00
levlam
0c1469f7c6
Fix TransparentProxy::Callback.
2021-10-22 19:59:15 +03:00
Andrea Cavalli
f11254bdcb
Merge remote-tracking branch 'td/master'
2021-10-21 17:09:27 +02:00
levlam
9f44816a62
Minor improvements.
2021-10-21 12:51:16 +03:00
Andrea Cavalli
98244d1346
Merge remote-tracking branch 'td/master'
2021-10-20 02:21:14 +02:00
levlam
db7aa28bdf
A lot more minor improvements.
2021-10-19 18:11:16 +03:00
Andrea Cavalli
982b994332
Merge remote-tracking branch 'td/master'
2021-10-16 18:25:57 +02:00
levlam
cf77428fab
Add td_api::getChatSparseMessagePositions.
2021-10-15 17:40:30 +03:00
levlam
c69293e1cc
Rename voice chats to video chats.
2021-10-14 15:44:21 +03:00
levlam
cbca467991
Adjust dimensions of animated emojis.
2021-10-14 00:18:44 +03:00
levlam
0a9f6b1c91
Add approve/declineCjatJoinRequest.
2021-10-13 23:10:47 +03:00
levlam
1a7f4b4d3e
Add td_api::getChatJoinRequests.
2021-10-13 22:33:31 +03:00
levlam
d6502458f5
Allow to get option "is_location_visible".
2021-10-12 22:05:14 +03:00
levlam
628a490e2a
Use request promise in getBlockedMessageSenders.
2021-10-09 22:05:23 +03:00
levlam
64d572bcbe
Allow creation and edit of invite links, requiring approval.
2021-10-09 14:20:48 +03:00
levlam
4c803a1a75
Remove uneeded third try in getWebPageInstantView.
2021-10-07 13:00:41 +03:00
levlam
2f4524a949
Return WebPageId through promise.
2021-10-07 12:49:46 +03:00
Andrea Cavalli
4e70729edb
Merge remote-tracking branch 'td/master'
2021-10-07 00:51:58 +02:00
levlam
557c5d1d4c
Use request promise in searchChatRecentLocationMessages.
2021-10-06 14:22:42 +03:00
levlam
038abf5466
Add sound to messageAnimatedEmoji.
2021-10-05 23:20:49 +03:00
levlam
eb20f82730
Add disable_animated_emoji option.
2021-10-05 17:17:29 +03:00
Andrea Cavalli
65f4b8ba57
Merge remote-tracking branch 'td/master'
2021-10-04 00:06:53 +02:00
levlam
11af0a058d
Add source to get_message_object.
2021-10-03 14:54:40 +03:00
levlam
49ab7cd53a
Use messages.getSearchCounters.
2021-10-03 13:47:50 +03:00
levlam
0455b313b3
Improve testNetwork implementation.
2021-10-02 16:54:01 +03:00
levlam
d1532ef1f8
Improve result handlers storage.
2021-10-02 14:39:20 +03:00
Andrea Cavalli
5c2b4fe983
Merge remote-tracking branch 'td/master'
2021-10-01 15:06:14 +02:00
levlam
4f9b35ea72
Use get_contact in importContacts and changeImportedContacts.
2021-09-30 14:18:01 +03:00
levlam
44efa70789
Pass Contact to add_contact.
2021-09-30 13:53:16 +03:00
Andrea Cavalli
5697b05622
Merge remote-tracking branch 'td/master'
2021-09-30 00:20:57 +02:00
levlam
665ae9434e
Use error code 400 in Td.cpp.
2021-09-29 19:19:24 +03:00
levlam
888bd7988c
Add warning on failed to open database.
2021-09-29 17:15:36 +03:00
levlam
90c0f18507
Send authorizationStateClosing when closing before initialization.
2021-09-29 15:41:53 +03:00
Andrea Cavalli
616a40b3b2
Merge remote-tracking branch 'td/master'
2021-09-29 00:33:23 +02:00
levlam
2ce0be4fe7
Remove getChatStatisticsUrl method.
2021-09-28 19:08:36 +03:00
levlam
36cbba4d2c
Use request promise in td_api::getCallbackQueryAnswer implementation.
2021-09-27 23:22:10 +03:00
Andrea Cavalli
9ca532c6a6
Merge remote-tracking branch 'td/master'
2021-09-26 23:08:36 +02:00
levlam
d882e222a7
Make FileStats fields private.
2021-09-26 12:44:18 +03:00
Andrea Cavalli
45e855f89d
Remove most memory related features
...
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
897d4af16c
Merge remote-tracking branch 'td/master'
2021-09-25 19:24:57 +02:00
levlam
9115ba4aa5
Move topChat methods logic to TopDialogManager.
2021-09-25 11:37:32 +03:00
levlam
5091aa68e3
Allow direct access to TopDialogManager.
2021-09-24 23:17:38 +03:00
levlam
d6f3d9f08a
Use error code 400 instead of small error codes.
2021-09-24 10:59:51 +03:00
levlam
e212d1293d
Send stats.getMessagePublicForwards to the correct DC.
2021-09-24 09:07:38 +03:00
levlam
910f60c145
Use Promise instead of RequestActor in getMessagePublicForwards.
2021-09-23 22:56:38 +03:00
levlam
db18baa503
Unify include order.
2021-09-19 00:47:05 +03:00
levlam
b15244f59d
Ensure delay of 0.2 seconds between updateAnimatedEmojiMessageClicked animations.
2021-09-17 19:59:31 +03:00
levlam
5fd11e4b7a
Add td_api::clickAnimatedEmojiMessage.
2021-09-16 00:41:40 +03:00
Andrea Cavalli
6e1836a024
Merge remote-tracking branch 'td/master'
2021-09-15 16:03:11 +02:00
Andrea Cavalli
71c2330749
Merge remote-tracking branch 'td/master'
2021-09-14 23:58:34 +02:00
levlam
ded0b57905
Add td_api::getRecentlyOpenedChats.
2021-09-14 14:18:37 +03:00
levlam
075d004b9f
Replace getChatThemes with updateChatThemes.
2021-09-13 15:55:01 +03:00
levlam
78baa7977b
Don't inherit Td from NetQueryCallback.
2021-09-10 18:58:36 +03:00
levlam
2062daf9cd
Don't wrap updates in NetQuery.
2021-09-10 17:32:39 +03:00
Andrea Cavalli
c06a3d9dcf
Merge remote-tracking branch 'td/master'
2021-09-10 15:49:57 +02:00
Andrea Cavalli
37b1d48470
Fix compilation warnings and errors
2021-09-10 15:47:26 +02:00
levlam
5c87fb853e
Use int32 as sponsored message ID.
2021-09-10 11:44:50 +03:00
levlam
ae6b79d57b
Add SponsoredMessageManager.
2021-09-07 15:49:34 +03:00
levlam
546898e199
Replace SetGameScoreRequest with promise.
2021-09-07 12:05:44 +03:00
levlam
5c59a10418
Move game-related methods to GameManager.
2021-09-07 10:45:01 +03:00
levlam
d395c2496e
Add empty GameManager.
2021-09-07 10:02:44 +03:00
levlam
96ffd57881
Use Promise isntead of RequestOnceActor to get games high scores.
2021-09-05 10:54:20 +03:00
Andrea Cavalli
a20e8b6db3
Merge remote-tracking branch 'td/master'
2021-09-04 16:03:33 +02:00
levlam
f197d61c66
Support message viewers-related config options.
2021-09-03 19:06:24 +03:00
levlam
a4f66c69cb
Add td_api::getMessageViewers.
2021-09-03 16:14:03 +03:00
levlam
41c391f140
Update layer to 133.
2021-09-03 12:27:59 +03:00
levlam
7d26a30bd0
Move StateManager::State to ConnectionState.h.
2021-09-16 18:23:10 +03:00
levlam
34094328bd
Initialize Td::connection_state_ in header.
2021-09-16 17:54:04 +03:00
levlam
7dffe5aabe
Use Promise instead of RequestActor in getBackgrounds.
2021-09-03 09:07:18 +03:00
levlam
d2f9c264ca
Use promise instead of RequestActor in td_api::getChatThemes.
2021-09-03 08:59:34 +03:00
levlam
b1db807868
Add forwardMessages.only_preview.
2021-08-31 23:37:21 +03:00
levlam
23a4c2c8a8
Return Message objects from send_message/forward_messages.
2021-08-31 22:34:46 +03:00
levlam
c20fd1dd91
Add td_api::setChatTheme.
2021-08-27 19:23:22 +03:00
levlam
83e55b6b56
Add td_api::getChatThemes.
2021-08-27 15:51:50 +03:00
levlam
e3f55a71cd
Add td_api::viewSponsoredMessage.
2021-08-25 22:34:18 +03:00
levlam
658d172256
Improve method name.
2021-08-25 20:29:14 +03:00
levlam
723b203c7d
Add td_api::getSponsoredMessages.
2021-08-24 23:44:47 +03:00
Andrea Cavalli
b7ef62be23
Rename to enable_reactive_pull_backpressure
2021-08-23 21:05:40 +02:00
Andrea Cavalli
0ee1d7edc1
Receive access hashes
2021-08-23 20:17:55 +02:00
levlam
b56119951b
Support video streaming in group calls.
2021-08-23 16:59:00 +03:00
levlam
2045c131a9
Support video recording in group calls.
2021-08-23 15:29:03 +03:00
Andrea Cavalli
232ce6e4d3
Merge remote-tracking branch 'td/master'
2021-08-23 02:22:28 +02:00
levlam
4988e94c02
Don't save pts too often for bots.
2021-08-19 20:36:26 +03:00
levlam
05c9934074
Add MessageThreadInfo.h.
2021-08-12 22:00:27 +03:00
levlam
d49fdf3261
Remove offset from getChats and respect app-specified limit.
2021-08-11 15:59:09 +03:00
levlam
c35321b98e
Add loadChats method.
2021-08-10 17:52:31 +03:00
levlam
086ec3d2e5
Add td_api::getPhoneNumberInfoSync.
2021-08-30 22:26:02 +03:00
levlam
aaff89a6c3
Make get_document_object methods const.
2021-08-28 14:16:29 +03:00
levlam
bba085318e
Return BackgroundType from on_get_background.
2021-08-24 17:13:51 +03:00
levlam
da3b8f93a0
Hide too big media timestamps.
2021-08-04 09:28:53 +03:00
levlam
45bf232417
Fimd media timestamp entities in find_entities.
2021-08-04 04:26:41 +03:00
Andrea Cavalli
d341c79aa8
Merge remote-tracking branch 'td/master'
2021-08-03 19:56:27 +02:00
levlam
0dc42e4410
Add source to get_message_sender_object.
2021-08-03 01:58:02 +03:00
Andrea Cavalli
4286622a5a
Merge remote-tracking branch 'td/master'
2021-08-02 10:47:33 +02:00
levlam
d1b985430c
Add source to ContactsManager::load_user_full.
2021-08-02 06:14:59 +03:00
levlam
3156492c2f
Add source to ContactsManager::load_channel_full.
2021-08-02 05:50:52 +03:00
Andrea Cavalli
b847c925db
Merge remote-tracking branch 'td/master'
2021-07-30 10:59:01 +02:00
levlam
c2028aed4f
Add limit on maximum videoNote size.
2021-07-29 23:39:07 +03:00
Andrea Cavalli
ae7b502a6e
Merge remote-tracking branch 'td/master'
2021-07-29 09:06:16 +02:00
levlam
4ed0b15a41
Add suggested_video_note_* options.
2021-07-28 06:15:57 +03:00
Andrea Cavalli
6b93b00f6a
Merge remote-tracking branch 'td/master'
2021-07-27 23:35:50 +02:00
levlam
389e92f1f4
Add skip_media_timestamps parameter to get_formatted_text.
2021-07-26 22:48:33 +03:00
levlam
5c0fb88742
Move GetDeepLinkInfoQuery to LinkManager.
2021-08-08 11:26:51 +03:00
levlam
20a98ad7c9
Support media_timestamp in getMessageLink.
2021-07-26 04:01:10 +03:00
levlam
07630feb8c
Add td_api::getSuggestedFileName.
2021-07-24 07:19:22 +03:00
Andrea Cavalli
a580242be1
Merge remote-tracking branch 'td/master'
2021-07-23 15:19:00 +02:00
levlam
e0c9efc26b
Skip bot command entities if needed.
2021-07-22 05:39:16 +03:00
levlam
13fcffd711
Replace GetChatMemberRequest with REQUEST_PROMISE.
2021-07-19 04:17:29 +03:00
Andrea Cavalli
3dde04b17f
Merge remote-tracking branch 'td/master'
2021-07-17 11:15:40 +02:00
levlam
e649098194
Improve error messages for invalid member_id parameters.
2021-07-16 04:23:05 +03:00
levlam
ff153bef36
Update layer 131. Add screen_sharing_audio_source_id.
2021-07-06 02:33:42 +03:00
levlam
040e0deb31
Move DhCallback to a separate header.
2021-07-05 21:20:07 +03:00
levlam
61664b4044
Move remaining MTProto classes to namespace mtproto.
2021-07-05 21:04:23 +03:00
levlam
40c5d47717
Make inherited classes final if possible.
2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98
Use final instead of override.
2021-07-03 23:51:36 +03:00
Andrea Cavalli
e8c9db61d0
Merge remote-tracking branch 'td/master'
2021-07-02 13:52:51 +02:00
levlam
6b57121e25
Improve method name.
2021-06-30 19:49:52 +03:00
Andrea Cavalli
c41ec7df43
Merge remote-tracking branch 'td/master'
2021-06-30 13:31:50 +02:00
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