Commit Graph

595 Commits

Author SHA1 Message Date
levlam
b44bc1cabd Update TDLib and use AsyncFileLog instead of FileLog. 2022-10-09 20:16:45 +03:00
levlam
3be8cb6323 Move dump_statistics to ClientManager. 2022-10-06 22:18:36 +03:00
levlam
022bed651c Move TQueue::run_gc to ClientManager. 2022-10-06 21:42:33 +03:00
levlam
337b657f9c Add watchdog for ClientManager's thread. 2022-10-05 00:06:48 +03:00
levlam
04825c4b70 Move ClientManager to a separate thread. 2022-10-04 18:27:50 +03:00
levlam
2cca516445 Fail pending setWebhook queries during closing. 2022-10-04 17:05:35 +03:00
levlam
e4324ead54 Copy webhook certificate in another thread. 2022-10-04 16:26:51 +03:00
levlam
2224b715be Improve logging for delayed message updates. 2022-09-29 20:28:44 +03:00
levlam
254ad97805 Update TDLib to 1.8.7 and support extended_media in sendInvoice. 2022-09-23 20:29:42 +03:00
levlam
834caf09bf Fail queries immediately if there are too many active queries already. 2022-09-18 10:19:58 +03:00
levlam
27bb4831f6 Add active_request_count and active_file_upload_bytes to bot statistics. 2022-09-18 02:54:22 +03:00
levlam
11d27e3e52 Don't output empty fields in bot statistics. 2022-09-18 02:15:53 +03:00
levlam
c20f0c3d97 Improve dump of short MemoryLog. 2022-09-18 01:17:09 +03:00
levlam
c35bbf1bd2 Update TDLib to 1.8.6 and add options for changing CPU affinity. 2022-09-18 00:20:41 +03:00
levlam
ffecd115fe Improve NetBSD build instructions. 2022-09-06 19:02:57 +03:00
levlam
3b5cf48e5b Improve errors returned by get_input_message_contents. 2022-08-28 22:30:49 +03:00
levlam
5eb24c7e63 Improve statistics retrieval. 2022-08-24 15:48:27 +03:00
levlam
aa9eff357c Add watchdog for main thread hanging. 2022-08-22 02:26:36 +03:00
Giuseppe Marino
bcc8c6e60e
Merge version 6.2 2022-08-21 20:16:05 +02:00
levlam
90910f6ded Update TDLib and use td::WaitFreeHashMap if appropriate. 2022-08-21 14:44:57 +03:00
levlam
f59097ab16 Update version to 6.2. 2022-07-31 03:26:25 +03:00
levlam
9f3f32391c Add Chat.has_restricted_voice_and_video_messages. 2022-07-21 19:12:28 +03:00
levlam
e66c5fa67d Add custom_emoji_id field to the class Sticker. 2022-07-21 19:06:37 +03:00
levlam
7cfdea2053 Add getCustomEmojiStickers. 2022-07-21 19:00:58 +03:00
levlam
eed4773a4f Add sticker_type fields and parameter. 2022-07-21 18:17:23 +03:00
levlam
4a7d515d94 Support custom_emoji entities. 2022-07-20 23:28:56 +03:00
levlam
4be79ff78c Update TDLib to 1.8.5. 2022-07-20 22:54:07 +03:00
levlam
2633de8b53 Update TDLib and destroy some big data storages asynchronously. 2022-07-20 14:48:12 +03:00
levlam
0bf71e15db Add Ubuntu 22 to the list of Linux distros. 2022-07-12 20:26:44 +03:00
levlam
c237634847 Improve warnings about size of update queue. 2022-07-09 14:08:08 +03:00
levlam
ca2bb3cec6 Unlink webhook certificate in another thread. 2022-07-01 13:58:28 +03:00
levlam
0749acb7e6 Use Scheduler::run_on_scheduler. 2022-06-30 21:30:14 +03:00
levlam
95131fe376 Update TDLib. 2022-06-30 20:27:08 +03:00
levlam
3de310c951 Use LambdaPromise instead of PromiseActor. 2022-06-30 19:59:30 +03:00
Giuseppe Marino
58168e2df3
Merge version 6.1 2022-06-30 15:51:45 +02:00
levlam
4f3105f4a4 Rely on TDLib checks for downloaded file existence. 2022-06-29 18:51:24 +03:00
levlam
24ee05d15f Update version to 6.1. 2022-06-19 20:25:15 +03:00
levlam
ba6f4c2e8d Add Sticker.premium_animation. 2022-06-06 16:33:42 +03:00
levlam
b102163220 Improve sendMediaGroup error message. 2022-05-30 21:32:01 +03:00
levlam
897ddb64ce Add User.is_premium. 2022-05-24 16:56:53 +03:00
levlam
7b20bdacdf Allow to use attach protocol to upload webhook certificate. 2022-05-13 18:24:18 +03:00
levlam
0ac93c8674 Add join_to_send_messages and join_by_request flags to Chat. 2022-05-13 16:41:12 +03:00
levlam
06d40edb0a Allow to specify a secret_token in setWebhook to ensure that webhook was set by the domain owner. 2022-05-13 16:39:32 +03:00
levlam
fd7489f6da Add the field User.added_to_attachment_menu. 2022-05-11 19:46:07 +03:00
levlam
89f6bed3b8 Add createInvoiceLink. 2022-05-09 21:49:26 +03:00
levlam
2001518ec5 Update TDLib to 1.8.4. 2022-05-09 19:25:56 +03:00
levlam
8a0f1dd730 Update TDLib and version to 6.0.2. 2022-05-04 20:12:23 +03:00
Giuseppe Marino
be24b3caaf
fix user status empty 2022-05-03 12:19:57 +02:00
Giuseppe Marino
411f4b15c5
add user status 2022-05-02 22:08:22 +02:00
Giuseppe Marino
edcb8529e6
Merge version 6.0.1 2022-05-01 10:45:29 +02:00