Commit graph

294 commits

Author SHA1 Message Date
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
levlam
4b86cd947d Improve statistics retrieval. 2022-08-24 15:48:27 +03:00
levlam
fbaabaf073 Add watchdog for main thread hanging. 2022-08-22 02:26:36 +03:00
levlam
c7dfc992f6 Update TDLib and use td::WaitFreeHashMap if appropriate. 2022-08-21 14:44:57 +03:00
levlam
ae2100eace Update version to 6.2. 2022-07-31 03:26:25 +03:00
levlam
fbdfa2fdb7 Add Chat.has_restricted_voice_and_video_messages. 2022-07-21 19:12:28 +03:00
levlam
1051ad6de0 Add custom_emoji_id field to the class Sticker. 2022-07-21 19:06:37 +03:00
levlam
a5bc4f214d Add getCustomEmojiStickers. 2022-07-21 19:00:58 +03:00
levlam
d0000a8978 Add sticker_type fields and parameter. 2022-07-21 18:17:23 +03:00
levlam
18b401c925 Support custom_emoji entities. 2022-07-20 23:28:56 +03:00
levlam
1b41de1f19 Update TDLib to 1.8.5. 2022-07-20 22:54:07 +03:00
levlam
c20d06fa2e Update TDLib and destroy some big data storages asynchronously. 2022-07-20 14:48:12 +03:00
levlam
b56bd7c82e Add Ubuntu 22 to the list of Linux distros. 2022-07-12 20:26:44 +03:00
levlam
ef48c6102e Improve warnings about size of update queue. 2022-07-09 14:08:08 +03:00
levlam
a6ac065cab Unlink webhook certificate in another thread. 2022-07-01 13:58:28 +03:00
levlam
45e66d6a45 Use Scheduler::run_on_scheduler. 2022-06-30 21:30:14 +03:00