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
levlam
eb72b64c80
Add reply_in_dialog_id and message_thread_id support.
...
GitOrigin-RevId: 4b8a21566fbf6d31a6f4ef2b19f787361e2d1a1a
2020-09-10 16:29:10 +03:00
levlam
0540ae7b60
Add min_date/max_date to searchMessages.
...
GitOrigin-RevId: a340969e431dd2de018461f3904da6569a91b166
2020-09-08 14:58:02 +03:00
levlam
1a6ca88777
Support search within message thread.
...
GitOrigin-RevId: 8ea2ac97000527d743b5a983eed57c3dd206b76c
2020-09-08 14:17:56 +03:00
Andrea Cavalli
510aec55de
Merge commit '83c9f5180bf9738df2667841ed0c4df9ebeaec40'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-08-31 11:51:02 +02:00
Andrea Cavalli
33c250f884
Added TTL options to keep the access hashes of recent chats.
2020-08-28 19:46:35 +02:00
levlam
32fc05ab70
Add updateOption with "version" to getCurrentState response before initialization.
...
GitOrigin-RevId: 0e3221e2a78dacc21850b7f64e15b0c0e1efc297
2020-08-27 15:52:32 +03:00