Commit Graph

547 Commits

Author SHA1 Message Date
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
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
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
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
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
711b0cfd4f Introduce DialogAction class.
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
2020-10-01 19:28:10 +03: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