Commit Graph

6619 Commits

Author SHA1 Message Date
levlam
218c693910 Improve file size documentation. 2021-09-07 14:37:17 +03:00
levlam
192915c0bf Reload chat themes at most once an hour. 2021-09-07 13:30:51 +03:00
levlam
546898e199 Replace SetGameScoreRequest with promise. 2021-09-07 12:05:44 +03:00
levlam
989b0c26f0 tg_cli: remove unused variable. 2021-09-07 11:40:08 +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
41ca7fdedb Restore idle connection timeout after migration to another thread. 2021-09-06 21:22:39 +03:00
levlam
1caf0e6296 Fix multipart/form-data reading. 2021-09-06 20:13:32 +03:00
levlam
077ed42507 Improve README and the build instructions generator. 2021-09-06 14:12:11 +03:00
levlam
0ec10947d5 Fix some misprints. 2021-09-06 13:58:40 +03:00
levlam
bd4a49b80e Improve iOS example README. 2021-09-06 13:58:13 +03:00
levlam
5efe95a2e0 Remove "Installing dependencies" section from README in favor of build instructions generator. 2021-09-06 13:29:44 +03:00
levlam
f79223e2ac Simplify ios/build.sh. 2021-09-06 10:37:58 +03:00
levlam
73290dcda8 Reopen closed polls when copying them. 2021-09-05 23:11:25 +03:00
levlam
96ffd57881 Use Promise isntead of RequestOnceActor to get games high scores. 2021-09-05 10:54:20 +03:00
levlam
b713d945f7 tg_cli: use synchronous TDLib's method instead of Td. 2021-09-04 12:22:26 +03:00
levlam
86de43a048 Remove useless #include comments. 2021-09-03 23:21:44 +03:00
levlam
651a4f0eac Install gperf through vcpkg. 2021-09-03 19:33:12 +03:00
levlam
9ebeafbb5b Add get_json_value_bool helper function. 2021-09-03 18:17:11 +03:00
levlam
9a6e8cad9e Add get_json_value_string helper function. 2021-09-03 18:14:15 +03:00
levlam
1d41017d3a Add get_json_value_int helper method. 2021-09-03 17:54:04 +03:00
Sergey
ab4736df28
M1 support (#1620)
* Support Arm64 simulator targets (M1)

* Combine dylibs to xcframework

* Update Python-Apple-support urls

* Update Readme
2021-09-03 09:25:14 +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
db4f963a68 Fix via_bot_user_id in game messages forwarded by the bot itself. 2021-09-02 22:21:26 +03:00
levlam
6fad8e897f Improve Game constructor. 2021-09-02 16:49:57 +03:00
levlam
895d7f68d8 Improve Game::is_empty method name. 2021-09-02 16:35:56 +03:00
levlam
7135caa2be Update version to 1.7.7. 2021-09-02 12:39:05 +03:00
levlam
f0180b6132 Suppress warning about an empty file. 2021-09-02 11:51:33 +03:00
levlam
5a56ecea2a Remove pessimizing std::move. 2021-09-02 11:28:50 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
2b980ec215 Remove default source from have_dialog_force. 2021-09-01 19:41:00 +03:00
levlam
7968aad0d4 Suppress GCC warnings about casts of function pointers returned by GetProcAddress. 2021-09-01 19:32:21 +03:00
levlam
bfd76964ea Fix some GCC warnings on Windows. 2021-09-01 19:26:18 +03:00
levlam
438ae78e8a Enable some CMake policies in Java example. 2021-09-01 19:25:00 +03:00
levlam
8e41fd1aab Enable CMP0074 policy to suppress CMake warning. 2021-09-01 19:09:50 +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
548ab8d7ee Add MessagesManager::get_forwarded_messages. 2021-08-31 20:39:32 +03:00
levlam
70a9d555a0 Split copied and forwarded new_media_album_ids just in case. 2021-08-31 20:09:00 +03:00
levlam
87e003916c Add MessagesManager::fix_forwarded_message. 2021-08-31 19:42:37 +03:00
levlam
52d605ed4d Add MessagesManager::create_message_forward_info. 2021-08-31 19:12:24 +03:00
levlam
dec26260d3 Add const MessagesManager::create_message_to_send. 2021-08-31 17:26:51 +03:00
levlam
f6fc10ab22 Add updateChatTheme. 2021-08-27 20:36:40 +03:00
levlam
abcfe46275 Fix MessageContentType::ChatSetTheme support. 2021-08-27 19:29:58 +03:00
levlam
c20fd1dd91 Add td_api::setChatTheme. 2021-08-27 19:23:22 +03:00
levlam
532a0f4502 Add td_api::pushMessageContentChatChangeTheme. 2021-08-27 16:38:05 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00
levlam
3e77161e46 Don't replace main background type if appropriate. 2021-08-27 12:10:51 +03:00
levlam
021474e8be Add chatEventThemeChanged. 2021-08-27 11:53:50 +03:00