Commit Graph

7693 Commits

Author SHA1 Message Date
Andrea Cavalli
46c0f5877d Add use_custom_database_format option 2022-01-21 16:04:00 +01:00
Andrea Cavalli
09b98f6b30 Merge remote-tracking branch 'td/master' 2022-01-04 00:04:21 +01:00
levlam
fa8feefed7 Reduce total timeout limit to 2 for messages.setTyping. 2022-01-03 08:57:11 +03:00
levlam
c075ad7b00 Don't keep setTyping query reference for bots. 2022-01-03 08:01:26 +03:00
levlam
ad431a612e tg_cli: maintain authorization state. 2022-01-02 12:19:14 +03:00
levlam
14637caa64 Improve condition in get_user. 2022-01-01 12:21:13 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
19f1f66eca Support tg-spoiler HTML tag. 2021-12-31 17:15:11 +03:00
levlam
62d4e339de Fix ContactsManager::get_user with min-user for bots. 2021-12-31 16:33:46 +03:00
levlam
d3e1385b8b Add some debug logging. 2021-12-31 16:21:03 +03:00
levlam
330100d67c tg_cli: use struct UserId instead of as_user_id. 2021-12-31 14:56:57 +03:00
levlam
e8f039ff0a tg_cli: add struct MessageId. 2021-12-31 14:31:43 +03:00
levlam
f32c0417b4 tg_cli: use struct ChatId instead of as_chat_id. 2021-12-31 14:20:34 +03:00
levlam
d64e507724 tg_cli: use get_args instead of to_integer. 2021-12-31 10:25:40 +03:00
levlam
93e9e36dfb Remove unused mutex. 2021-12-31 09:45:37 +03:00
levlam
01fccc430f Use explicit cast instead of 1ll. 2021-12-31 09:36:24 +03:00
levlam
c038507831 Increase MessageUnsupported version. 2021-12-30 18:04:50 +03:00
Andrea Cavalli
d325cea988 Merge remote-tracking branch 'tdlib/master' 2021-12-30 16:02:31 +01:00
levlam
feffe4153d Fix ContactsManager::get_user. 2021-12-30 17:39:42 +03:00
levlam
2027819297 Fix ContactsManager::get_input_user. 2021-12-30 15:28:10 +03:00
levlam
fce20df018 Add support for sponsored chats with an invite link. 2021-12-30 14:15:04 +03:00
Andrea Cavalli
dfb254f57e Bugfix 2021-12-30 02:20:30 +01:00
Andrea Cavalli
a730037c16 Bugfix 2021-12-30 02:18:05 +01:00
Andrea Cavalli
2b1780b9e2 Bugfix 2021-12-30 02:14:59 +01:00
Andrea Cavalli
739280cdf8 Bugfix 2021-12-30 02:10:47 +01:00
Andrea Cavalli
db84af1db5 Fix documentation 2021-12-30 02:04:04 +01:00
Andrea Cavalli
71b72b8450 Fix compilation error 2021-12-30 01:40:46 +01:00
Andrea Cavalli
5f895e4fbb Fix missing namespace 2021-12-30 01:25:15 +01:00
Andrea Cavalli
a2491ae93c Merge tag 'v1.8.0' 2021-12-30 01:14:14 +01:00
levlam
b3ab664a18 Update version to 1.8.0. 2021-12-29 17:38:20 +03:00
levlam
2ac77da2ec Add TDLib 1.8.0 change log. 2021-12-29 14:22:24 +03:00
Andrea Cavalli
96aa2bdeb7 Support function generic result type 2021-12-29 00:14:04 +01:00
Andrea Cavalli
53d4e14c7d Merge remote-tracking branch 'td/master' 2021-12-28 19:12:09 +01:00
Andrea Cavalli
29a791af8b Flip broken setting 2021-12-28 19:12:06 +01:00
levlam
68539fe846 Add textEntityTypeSpoiler. 2021-12-28 20:41:37 +03:00
levlam
29e8df5113 Unify entity variable names. 2021-12-28 18:50:11 +03:00
levlam
ed766a4d2f Add flag messageSendOptions.protect_content. 2021-12-28 18:19:19 +03:00
levlam
99ac6428e9 Improve documentation. 2021-12-28 17:27:11 +03:00
levlam
20a460aeb3 Update layer to 136. 2021-12-28 17:19:18 +03:00
levlam
ca14dfe7ad Update tdweb version to 1.8.0. 2021-12-30 11:45:38 +03:00
levlam
a69030239c Update version to 1.7.12. 2021-12-28 04:19:41 +03:00
levlam
cbc7149824 Use only basic ASCII in Python example. 2021-12-28 04:06:45 +03:00
levlam
bfd2c6aa32 Use a decorator in the Python example instead of explicit cast. 2021-12-28 04:01:04 +03:00
levlam
bbb4b68699 Fix MSVC 2015 warning. 2021-12-28 02:01:20 +03:00
levlam
ac8ccaf970 Workaround clang 3.4 warning. 2021-12-28 01:47:34 +03:00
levlam
da4ff40f76 Fix SFINAE usage in PromiseFuture.h. 2021-12-28 01:29:54 +03:00
levlam
3303fedabd Speed up actors open_close test. 2021-12-27 19:13:45 +03:00
levlam
84b1d32625 Set log message callback only for fatal messages in Python example. 2021-12-27 18:19:19 +03:00
levlam
a81ab8abba Remove viewSponsoredMessage in favor of viewMessages. 2021-12-27 18:17:02 +03:00
levlam
23d537052e Use unique 53-bit identifiers for sponsored messages. 2021-12-27 16:49:11 +03:00