levlam
|
9fb26c4ea2
|
Return back UserFull.is_blocked.
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
|
2020-10-17 23:38:07 +03:00 |
|
levlam
|
9558b06021
|
Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
|
2020-10-17 22:47:47 +03:00 |
|
levlam
|
6e3eda2aa1
|
Add live location heading support.
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
|
2020-10-16 23:08:28 +03:00 |
|
levlam
|
d159ab4f52
|
Support audio-only and document-only albums.
GitOrigin-RevId: 96283716a84613e8e9dd1cb9bfb4d69097cefcc7
|
2020-10-15 18:13:54 +03:00 |
|
levlam
|
af6fe68c00
|
Allow to pin messages in all private chats.
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
|
2020-10-15 17:21:15 +03:00 |
|
levlam
|
fd9732dcfa
|
Add slot machine support.
GitOrigin-RevId: e0c3c5d9b2cff2870162f11983bd546aba101caf
|
2020-10-15 15:59:51 +03:00 |
|
levlam
|
33b7ba57a9
|
Add channelParticipantLeft support,
GitOrigin-RevId: 59d3ba88fb54c848d99425ec3ad95760d1765e3a
|
2020-10-14 22:35:30 +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 |
|
levlam
|
e32e1c66e7
|
Add td_api::MessageSender class.
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
|
2020-10-13 19:40:22 +03:00 |
|
levlam
|
d968fd0bed
|
Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
|
2020-10-26 15:25:34 +03:00 |
|
levlam
|
881aa63014
|
Keep reply info only on last forwarded and first album messages.
GitOrigin-RevId: 0011332382abccd84122f88bcb2ae04ee793dd2b
|
2020-10-24 14:52:18 +03:00 |
|
levlam
|
978863810c
|
Use MessageId as map key.
GitOrigin-RevId: 795c123e953dbdae3c03b828b458910fe221ce90
|
2020-10-24 02:00:37 +03:00 |
|
levlam
|
0846e7aec5
|
Don't use iterators after a promise is set.
GitOrigin-RevId: eba7487d7025410ae4a2230d4ce09cfa02012fdf
|
2020-10-24 01:45:04 +03:00 |
|
levlam
|
c768cd202a
|
Improve deletion of newer messages in on_get_channel_dialog.
GitOrigin-RevId: 98a348ba63440d8e61c1199a68298cfa66b2a863
|
2020-10-23 14:50:05 +03:00 |
|
levlam
|
bf945e05be
|
Remove promise from map before setting it.
GitOrigin-RevId: d721cab5311096631748e632cf8756edaef9d7e1
|
2020-10-23 12:54:08 +03:00 |
|
levlam
|
f5c4b93a37
|
Use generic find_messages.
GitOrigin-RevId: ac5bb9be8a6597cbdafa3762e6d6cbf5f1720edc
|
2020-10-22 16:08:54 +03:00 |
|
levlam
|
4718e640ee
|
Add generic MessagesManager::find_messages.
GitOrigin-RevId: 21c6f0145376ef4a779703b8cf516a420418cb39
|
2020-10-22 15:59:59 +03:00 |
|
levlam
|
a6f9fde223
|
Update built-in bot flags.
GitOrigin-RevId: f54618d393b39e14f1269c8237d971ff47402a72
|
2020-10-22 13:21:51 +03:00 |
|
levlam
|
f9009cbc01
|
Improve checks in MessagesManager::is_anonymous_administrator.
GitOrigin-RevId: 332c324e1c067cc2ed394fedce16b590188e3ae7
|
2020-10-22 02:40:58 +03:00 |
|
levlam
|
f59a11706c
|
Use unique location for outgoing photos.
GitOrigin-RevId: ac3a0eed1847ee7b96d463758ee33b85c6797ac5
|
2020-10-22 02:11:32 +03:00 |
|
levlam
|
0256a95f49
|
Fix GetChannelDifferenceLogEvent handling.
GitOrigin-RevId: facbb318cbba1c9ac6908db86ec5fba123c88d7b
|
2020-10-21 16:54:32 +03:00 |
|
levlam
|
d17531e0e3
|
Ensure that private message push notifications don't contain mention.
GitOrigin-RevId: 87d85e63b70fdc5c9fe91d22d7cf9b7ba59f0895
|
2020-10-20 21:24:26 +03:00 |
|
levlam
|
06bb6b4b11
|
Ignore anonymous status for bots.
GitOrigin-RevId: c3b5316fcb2a538655c4a2eeb09ef5df08794212
|
2020-10-19 21:43:44 +03:00 |
|
Arseny Smirnov
|
add7211707
|
tdweb: 1.6.9
GitOrigin-RevId: e1124a86c021c43c42ad00dc18dc9db0cbcacad1
|
2020-10-20 22:23:52 +03:00 |
|
levlam
|
5fc7a7727e
|
Use error code 500 for "Requested data is inaccessible" errors.
GitOrigin-RevId: 2d39f90cd196f508b288089433ba2f066b5fcb22
|
2020-10-18 01:03:16 +03:00 |
|
levlam
|
b03e0a827e
|
Remove wrong because of call through send_closure_later CHECK.
GitOrigin-RevId: c61586c3dde988c3174f4ce3e05fe0f08d7af468
|
2020-10-14 19:03:36 +03:00 |
|
levlam
|
a487d20e2d
|
Fix service message reply_to_message_id.
GitOrigin-RevId: b0c430c6c04167b15e4b195d86d584e376f88efe
|
2020-10-14 17:30:55 +03:00 |
|
levlam
|
a57d9ccbea
|
Don't add dummy message sender for bots on TDLib's side.
GitOrigin-RevId: d1ab4f7ca2739d30b0960f655478404d34d40757
|
2020-10-13 17:25:25 +03:00 |
|
levlam
|
348fdf1a31
|
Add "group_anonymous_bot_user_id" option.
GitOrigin-RevId: efb6ee569861df005a53fd0255c50fdfa0460382
|
2020-10-13 17:02:10 +03:00 |
|
levlam
|
1aff1e75ef
|
Fix net query Counter initialization.
GitOrigin-RevId: ba23b816cfed060cea15244e3f2264f74c89d390
|
2020-10-13 02:30:40 +03:00 |
|
levlam
|
c1309d7657
|
Do not return deleted secret chats and replace migrated basic groups with corresponding supergroups in recently found chats.
GitOrigin-RevId: e50390583e3956a4eb8fdb92ec8a82f04cc7914f
|
2020-10-12 11:33:16 +03:00 |
|
levlam
|
fbeea0b108
|
Add is_deleted_secret_chat method.
GitOrigin-RevId: eae2a7bcdf92587bbd77cf7c42c210b74107d8a4
|
2020-10-12 10:56:01 +03:00 |
|
levlam
|
3c5b09bad7
|
Hide photo sizes, which can't be downloaded.
GitOrigin-RevId: 420860824f41d5fecbb935c756d9b6f0a2564cb7
|
2020-10-12 10:31:57 +03:00 |
|
levlam
|
a4b71466e0
|
Minor improvements.
GitOrigin-RevId: 4f0c8840ee69c7a690cb12c5e36231cf9da6d91c
|
2020-10-12 10:24:30 +03:00 |
|
levlam
|
4da9f9d334
|
Use stable sort for photo sizes to keep "i" the last.
GitOrigin-RevId: 7feab3e73a3a03bc9fd3a0e76e05ab4cbb0f10d2
|
2020-10-12 10:17:02 +03:00 |
|
levlam
|
fb1307ff60
|
Check for unneeded chat actions only while trying to send it.
GitOrigin-RevId: 7067f21e42ba0d3c3dc797f72341681e32998e6a
|
2020-10-12 01:48:13 +03:00 |
|
levlam
|
9856b0e46e
|
Add some workariunds for crashes on exit without closing all clients.
GitOrigin-RevId: 5c74e9fe6951b6a8eb65d6c1e5ddf7bf8e0c8163
|
2020-10-11 21:21:38 +03:00 |
|
levlam
|
10a7edfbea
|
Disable logging after program exit.
GitOrigin-RevId: 8ca24e1999fe95f171e18477baa2e56912a2e895
|
2020-10-11 14:45:22 +03:00 |
|
levlam
|
714f037f15
|
Move ClientManager singleton creation to ClientManager::get_manager_singleton.
GitOrigin-RevId: 071b947ff072186c70387cbd00f1c6b1c17d0e6b
|
2020-10-11 11:08:56 +03:00 |
|
levlam
|
09f906f192
|
Protect access to some static variables using ExitGuard.
GitOrigin-RevId: 65c7510c60d585b90e90d09067c7dfdaf79c4cd3
|
2020-10-11 01:59:27 +03:00 |
|
levlam
|
c484cc4773
|
Postpone td_api::authorizationStateClosed until the client is fully closed.
GitOrigin-RevId: 064696a00110c1f567b6da6afbee58d868ff4938
|
2020-10-10 22:08:41 +03:00 |
|
levlam
|
2850e596d3
|
Fix ConcurrentScheduler guard usage.
GitOrigin-RevId: 6f4dd470a690cdbe98870c89433634b31136f832
|
2020-10-10 22:05:20 +03:00 |
|
levlam
|
84ea5b06c9
|
Minor.
GitOrigin-RevId: 1e722a9e8ad6ddd894f9fd4e1b05529aa4aa6a15
|
2020-10-10 22:02:59 +03:00 |
|
levlam
|
cebc6c1fb4
|
Remove empty requests logging.
GitOrigin-RevId: fdc488bfee7e974f5aca3322d7d028ed797b312f
|
2020-10-09 18:00:38 +03:00 |
|
levlam
|
30471b7099
|
Do not send chat actions to offline users like the main Android client.
GitOrigin-RevId: 6299f69ade490fa10bad74779b30a0d73a145ff2
|
2020-10-09 15:42:57 +03:00 |
|
levlam
|
38f72b353a
|
Clear ClientManager when the last Client is closed.
GitOrigin-RevId: d2d5194f7ffc59dc8db1196401c80689a8645dac
|
2020-10-09 15:39:30 +03:00 |
|
levlam
|
b491964a81
|
Store TdReceiver by value.
GitOrigin-RevId: 51dbcaf815c5ba1a42539242b1e57b456f188d38
|
2020-10-09 14:25:06 +03:00 |
|
levlam
|
35a9a93fc9
|
Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
|
2020-10-08 23:04:40 +03:00 |
|
levlam
|
54f32ebc80
|
Add source to resolve_dependencies_force.
GitOrigin-RevId: b09c73df688eea5872d65ec56f0ae1cb10717542
|
2020-10-08 22:54:24 +03:00 |
|
levlam
|
13f7c8a1aa
|
Add reply_info to messageThreadInfo.
GitOrigin-RevId: fd417ea9ed2f95d79ca3346e4fcb52f4bf8882f2
|
2020-10-08 21:30:21 +03:00 |
|
levlam
|
e5e9eb3838
|
Add MessageReplyInfo::get_message_reply_info_object.
GitOrigin-RevId: 8d46914fd096afca99942bec63f2c6f65f9cbb9e
|
2020-10-08 21:17:24 +03:00 |
|
levlam
|
6f71dca6e6
|
Remove some explicit td::.
GitOrigin-RevId: 93e5f0e98900a9a3b68f35e9123b2b40942879d3
|
2020-10-08 18:44:34 +03:00 |
|
Arseny Smirnov
|
cee68e5a48
|
Client: bugfix
GitOrigin-RevId: 0267cb2475fecae85d85f03abc96215762dc46e0
|
2020-10-08 16:14:01 +03:00 |
|
levlam
|
fdc3920572
|
Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
|
2020-10-08 18:30:36 +03:00 |
|
levlam
|
6bbb7cde8d
|
Remove unneeded explicit td:: usages.
GitOrigin-RevId: a6d2bf8a1e13f35dd07b9ce43f4320e93cf36040
|
2020-10-08 15:20:22 +03:00 |
|
levlam
|
be374f38ac
|
Improve error message for requests to closed client.
GitOrigin-RevId: 4870c3614ea52ecd0fd1124dfc517471b6d30b55
|
2020-10-08 13:59:03 +03:00 |
|
levlam
|
582206d641
|
Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
|
2020-10-08 12:56:08 +03:00 |
|
levlam
|
6d1d227609
|
Use new JSON interface in Emscripten.
GitOrigin-RevId: 5294d98c5f615256ea41887c04f863d1adaf4de1
|
2020-10-08 02:52:34 +03:00 |
|
levlam
|
8460bb7cd5
|
Fix tdweb build.
GitOrigin-RevId: 8f348a00d05336163c7ea4214ab35a4aea2d2b65
|
2020-10-08 02:12:51 +03:00 |
|
levlam
|
5ac5acd1cb
|
Fix ClientManager closing.
GitOrigin-RevId: eb588d9991ea6c8c2b4a339d1396d58179c84f43
|
2020-10-08 01:28:24 +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
|
74987bf8f0
|
Do not build MultiTd without threads.
GitOrigin-RevId: 7707b2922937604b31eff50e67d7ba921c279f48
|
2020-10-06 20:47:22 +03:00 |
|
levlam
|
d875581772
|
Simplify Client closing.
GitOrigin-RevId: 9a35d7ef66cea495d376a98df81a568478b0bb35
|
2020-10-06 20:46:54 +03:00 |
|
levlam
|
29f3c91596
|
Fix request errors during closing.
GitOrigin-RevId: 6587b35bcb7aef082686a93e75ae8b891113da0b
|
2020-10-06 02:12:50 +03:00 |
|
levlam
|
f7393d2717
|
Fix handling of requests to unexisting Client.
GitOrigin-RevId: 5de9709abe73ae73dc52c9ca04c480a60efbf437
|
2020-10-05 23:05:16 +03:00 |
|
levlam
|
8a607933a7
|
Rename "files" log tag to "file_loader".
GitOrigin-RevId: 24fca707a99eeb32adabcca46131123d584f2c1d
|
2020-10-05 22:08:24 +03:00 |
|
levlam
|
da55a34afc
|
Remove ability to change update handler after client creation.
GitOrigin-RevId: 917737a440afaeb99f8a8ca809cda2d267bb4b02
|
2020-10-05 20:18:59 +03:00 |
|
levlam
|
5f605d2dd2
|
Fix spelling of "update handler".
GitOrigin-RevId: 2137852d967606e909e82396b4103817b1b39386
|
2020-10-05 20:13:15 +03:00 |
|
levlam
|
d2d0cb5cc0
|
Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
|
2020-10-05 18:07:23 +03:00 |
|
levlam
|
7d6f14db10
|
Add new JSON interface.
GitOrigin-RevId: aaf756de59e72f949c1150d99e1277047f25fac9
|
2020-10-05 16:08:07 +03:00 |
|
levlam
|
119fc9563a
|
Return raw pointer as ClientJson response.
GitOrigin-RevId: 6b309681539b3ee9b2c2e87c57ed4cc8f94d798f
|
2020-10-05 15:48:37 +03:00 |
|
levlam
|
3fc140b4a2
|
Add ClientManager documentation.
GitOrigin-RevId: 5254af6d55288851e633a6567d700f6b15b18d1a
|
2020-10-05 14:32:23 +03:00 |
|
levlam
|
77fff9c578
|
Use GroupAnonymousBot as a fallback sender for bots instead of 777000.
GitOrigin-RevId: 30e2ff3c9db2efc05b3bcbfd610ad8d6492ad66e
|
2020-10-05 00:51:45 +03:00 |
|
levlam
|
ccc9169051
|
Load all service accounts in getUser.
GitOrigin-RevId: 6e36be3e2e9e8decae1cc599b714ff218b892841
|
2020-10-05 00:19:49 +03:00 |
|
levlam
|
6d9953aea5
|
Add add_anonymous_bot_user.
GitOrigin-RevId: 9eadd5f3621f7c5a2dc065d51d105c07ffc25616
|
2020-10-04 23:33:21 +03:00 |
|
levlam
|
f50e017c1f
|
Add seq overflow handling.
GitOrigin-RevId: 082d5989e061b8408f88dd92a3bf1665d3db6d79
|
2020-10-04 13:01:53 +03:00 |
|
levlam
|
00ff276a1f
|
tg_cli: keep client settings after reset.
GitOrigin-RevId: c3bd45d9369250f9eb867e9500d6854d0dda19a9
|
2020-10-04 01:30:59 +03:00 |
|
levlam
|
c916566e76
|
Fix MessagesManager::get_chat_object.
GitOrigin-RevId: a5dddba5f844b8064fe7083c8532f9d2286b9dba
|
2020-10-03 21:47:12 +03:00 |
|
levlam
|
99163ff431
|
Fix canGetMessageThread.
GitOrigin-RevId: 688fd7615bc841284611393f77e8598e7d9cba13
|
2020-10-02 15:01:11 +03:00 |
|
levlam
|
ce1138ea13
|
Fix handling of wrong is_outgoing flag.
GitOrigin-RevId: 2b5a98ddc37139aaae39615fb5719cd0ed84ed7a
|
2020-10-02 14:31:41 +03:00 |
|
levlam
|
952cfd0cba
|
Fix self Creator status in channels.
GitOrigin-RevId: 883cb8a08cb01e8534001e1f2936f60398ede681
|
2020-10-02 14:12:24 +03:00 |
|
levlam
|
187ebc603c
|
Make function name unique.
GitOrigin-RevId: 2d8e805b36376e2c5f2a5630794ed9797254496c
|
2020-10-02 13:22:06 +03: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 |
|
levlam
|
771ace5c8d
|
Minor fixes.
GitOrigin-RevId: 7cc15963615dd50f1be3aa37c336214b28f93bb4
|
2020-10-02 02:17:58 +03:00 |
|
levlam
|
7d5b47990b
|
Do not handle errors of messages.getReplies in channels.
GitOrigin-RevId: f80a65a578fa4ced3596acc635fa6759feb8e844
|
2020-10-01 22:57:24 +03:00 |
|
levlam
|
610443fc22
|
Send updateMessageInteractionInfo after ReplyInfo change, only if reply info is visible.
GitOrigin-RevId: ccafd95ce42cfe318a4a9fb096e0580093decf4c
|
2020-10-01 22:43:13 +03:00 |
|
levlam
|
ca1594c8ec
|
Update reply info if linked_channel_id is changed.
GitOrigin-RevId: 629721095881d2c9a401519d26f75bbbba4446f9
|
2020-10-01 22:28:54 +03:00 |
|
levlam
|
ad2f6d8168
|
Make DialogAction fields private.
GitOrigin-RevId: 2d826e7fcf58428dbbf062baddbde01629708475
|
2020-10-01 19:35:54 +03:00 |
|
levlam
|
8c4a9e7553
|
Add DialogAction::get_typing_action().
GitOrigin-RevId: a2abad1076b6a54135ee945f8f75a0f8b2c04af7
|
2020-10-01 19:30:07 +03:00 |
|
levlam
|
711b0cfd4f
|
Introduce DialogAction class.
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
|
2020-10-01 19:28:10 +03:00 |
|
levlam
|
c6cdfb377c
|
Improve language code processing in searchEmojis.
GitOrigin-RevId: 9c5de24f89a1614a2cd058185156678a0b0049c4
|
2020-10-01 17:21:26 +03:00 |
|
levlam
|
c332f26352
|
Introduce messageReplyInfo.
GitOrigin-RevId: 10e757b71fde4e29aa81905bfba5fc4ca5523bbb
|
2020-10-01 16:12:20 +03:00 |
|
levlam
|
d66c404f3a
|
Fix can_get_message_thread flag.
GitOrigin-RevId: 4f44e18cecabd3e7f1aff85a91078b3749e76bfc
|
2020-10-01 15:52:19 +03:00 |
|
levlam
|
6e9108a69d
|
Disallow message threads in not-linked chats.
GitOrigin-RevId: aaf20c0076c3fe2ceb30b65d1f9fef602aa8e51d
|
2020-10-01 15:47:58 +03:00 |
|
levlam
|
6c63c859c9
|
Add MessagesManager::get_top_thread_full_message_id.
GitOrigin-RevId: 002b7503278a9a84c96b41088b888220498b10f6
|
2020-10-01 15:25:54 +03:00 |
|
levlam
|
6944b4d435
|
Pass expected_idalog_id instead of channel_id in GetDiscussionMessageQuery.
GitOrigin-RevId: b5e537a49e25c5d342e8dd682cb6ca7e4bfc2686
|
2020-10-01 14:47:02 +03:00 |
|
levlam
|
b8f81b2ac0
|
Fix message_thread_id in td_api::messageThreadInfo.
GitOrigin-RevId: f308844f1ea02eab8993df5c660d7cf1242484bc
|
2020-10-01 12:13:20 +03:00 |
|
levlam
|
30921606c5
|
Increase version to 1.6.9.
GitOrigin-RevId: 55cb12c94aaa4d10362a6429eb92c56b67ed73a0
|
2020-09-30 22:51:46 +03:00 |
|