Commit graph

259 commits

Author SHA1 Message Date
levlam
c3df338da1 Reget poll messages from TDLib. 2022-11-22 13:34:16 +03:00
levlam
70e575c0f1 Limit the number of simultaneously uploaded files. 2022-11-14 15:35:43 +03:00
levlam
c528f84e10 Output log tag before stack trace. 2022-11-12 11:15:33 +03:00
levlam
e65558ac95 Use TQueue::clear. 2022-11-12 10:44:00 +03:00
levlam
9be3c50e1d Update TDLib to 1.8.9 and add SslCtx caching. 2022-11-11 15:37:07 +03:00
levlam
420abcc42e Update TDLib and version to 6.3.2. 2022-11-08 01:35:39 +03:00
levlam
dc51a7188b Fix type of icon_custom_emoji_id. 2022-11-08 01:28:57 +03:00
levlam
a12f4b9209 Update version to 6.3.1. 2022-11-07 00:59:44 +03:00
levlam
d9c39b3ad5 Fix type of emoji_status_custom_emoji_id. 2022-11-07 00:59:20 +03:00
levlam
fbd5f549bc Update version to 6.3. 2022-11-04 18:01:15 +03:00
levlam
adb5c6feb0 Destroy deleted messages on another thread. 2022-11-03 20:30:14 +03:00
levlam
9003612dac Check message_thread_id parameter before using it. 2022-11-02 14:05:23 +03:00
levlam
1916e8c127 Add unpinAllForumTopicMessages method. 2022-10-31 20:29:38 +03:00
levlam
78b3d10dc8 Add deleteForumTopic method. 2022-10-31 19:16:14 +03:00
levlam
dad1b87445 Add reopenForumTopic method. 2022-10-31 19:13:57 +03:00
levlam
9297c37e83 Add closeTopicForum method. 2022-10-31 19:11:29 +03:00
levlam
ca3d7c2e14 Add editForumTopic method. 2022-10-31 18:55:34 +03:00
levlam
b75f5bae31 Add createForumTopic method. 2022-10-31 18:44:29 +03:00
levlam
0a3cc9d8e5 Add getForumTopicIconStickers method. 2022-10-31 18:27:17 +03:00
levlam
8f2c8cb1eb Allow to specify message_thread_id while sending messages. 2022-10-31 18:16:51 +03:00
levlam
0b10cb32e2 Add "forum_topic_closed"/"forum_topic_reopened" messages. 2022-10-31 17:42:34 +03:00
levlam
f2f5bd01df Add "forum_topic_created" messages. 2022-10-31 17:35:54 +03:00
levlam
936854cede Add Message.is_topic_message. 2022-10-31 17:14:23 +03:00
levlam
b7f1d1f1c7 Add Message.message_thread_id. 2022-10-31 17:09:34 +03:00
levlam
9334101f47 Add can_manage_topics chat permission. 2022-10-31 16:15:46 +03:00
levlam
0e18ca4cec Add can_manage_topics administrator right. 2022-10-31 16:12:13 +03:00
levlam
3228235f93 Add Chat.emoji_status_custom_emoji_id. 2022-10-31 15:59:15 +03:00
levlam
13387003d6 Add Chat.active_usernames. 2022-10-31 15:49:53 +03:00
levlam
b396c1d47b Add Chat.is_forum. 2022-10-31 15:36:42 +03:00
levlam
1da3efa4ac Update TDLib to 1.8.8. 2022-10-31 12:30:11 +03:00
levlam
66fbf73c56 Send less updates repeatedly in getUpdates. 2022-10-23 11:34:24 +03:00
levlam
20613008ae Ignore dump-log and dump-stacktrace signals after crash. 2022-10-21 13:39:32 +03:00
levlam
eb229c1f72 Update TDLib and improve TQueue GC. 2022-10-14 00:46:54 +03:00
levlam
3d5d2ed937 Stop ClientManager watchdog at the beginning of closing. 2022-10-13 01:23:05 +03:00
levlam
b55c5acd72 Update TDLib and use AsyncFileLog instead of FileLog. 2022-10-09 20:16:45 +03:00
levlam
329e1860e4 Move dump_statistics to ClientManager. 2022-10-06 22:18:36 +03:00
levlam
ad3376521f Move TQueue::run_gc to ClientManager. 2022-10-06 21:42:33 +03:00
levlam
c30c12190a Add watchdog for ClientManager's thread. 2022-10-05 00:06:48 +03:00
levlam
bc62030daa Move ClientManager to a separate thread. 2022-10-04 18:27:50 +03:00
levlam
ff2bd1be7b Fail pending setWebhook queries during closing. 2022-10-04 17:05:35 +03:00
levlam
e792f78230 Copy webhook certificate in another thread. 2022-10-04 16:26:51 +03:00
levlam
b45424efbf Improve logging for delayed message updates. 2022-09-29 20:28:44 +03:00
levlam
23795da6cd Update TDLib to 1.8.7 and support extended_media in sendInvoice. 2022-09-23 20:29:42 +03:00
levlam
5b9156958c Fail queries immediately if there are too many active queries already. 2022-09-18 10:19:58 +03:00
levlam
9d014593cb Add active_request_count and active_file_upload_bytes to bot statistics. 2022-09-18 02:54:22 +03:00
levlam
e3b51578c1 Don't output empty fields in bot statistics. 2022-09-18 02:15:53 +03:00
levlam
73b48d4886 Improve dump of short MemoryLog. 2022-09-18 01:17:09 +03:00
levlam
32db2f53f6 Update TDLib to 1.8.6 and add options for changing CPU affinity. 2022-09-18 00:20:41 +03:00
levlam
ee5efdeabe Improve NetBSD build instructions. 2022-09-06 19:02:57 +03:00
levlam
660e1169d7 Improve errors returned by get_input_message_contents. 2022-08-28 22:30:49 +03:00