Commit Graph

162 Commits

Author SHA1 Message Date
levlam
48a5609de2 Improve limit for active queries. 2022-11-30 17:30:28 +03:00
levlam
ed0532bcf7 Use destroy_on_scheduler in WebhookActor. 2022-11-27 01:31:00 +03:00
levlam
428f438e4f Avoid speculative message deletion from cache. 2022-11-23 14:53:43 +03:00
levlam
1d5dc9e5e8 Check for MAX_CONCURRENTLY_SENT_CHAT_MESSAGES as early as possible. 2022-11-22 21:31:04 +03:00
levlam
53aa4d2f03 Reget poll messages from TDLib. 2022-11-22 13:34:16 +03:00
levlam
ce6ddc74d7 Limit the number of simultaneously uploaded files. 2022-11-14 15:35:43 +03:00
levlam
84ceee07bf Use TQueue::clear. 2022-11-12 10:44:00 +03:00
levlam
a9cb897af4 Update TDLib to 1.8.9 and add SslCtx caching. 2022-11-11 15:37:07 +03:00
levlam
29cc000c08 Fix type of icon_custom_emoji_id. 2022-11-08 01:28:57 +03:00
levlam
0ddf9a460d Fix type of emoji_status_custom_emoji_id. 2022-11-07 00:59:20 +03:00
levlam
daf986972b Destroy deleted messages on another thread. 2022-11-03 20:30:14 +03:00
levlam
8aac13eb4d Check message_thread_id parameter before using it. 2022-11-02 14:05:23 +03:00
levlam
36e41d6b7f Add unpinAllForumTopicMessages method. 2022-10-31 20:29:38 +03:00
levlam
88748a50f3 Add deleteForumTopic method. 2022-10-31 19:16:14 +03:00
levlam
807c353fc0 Add reopenForumTopic method. 2022-10-31 19:13:57 +03:00
levlam
82ec9dc608 Add closeTopicForum method. 2022-10-31 19:11:29 +03:00
levlam
1f7cd2cba5 Add editForumTopic method. 2022-10-31 18:55:34 +03:00
levlam
1e68d49193 Add createForumTopic method. 2022-10-31 18:44:29 +03:00
levlam
83bcb31994 Add getForumTopicIconStickers method. 2022-10-31 18:27:17 +03:00
levlam
39392705a7 Allow to specify message_thread_id while sending messages. 2022-10-31 18:16:51 +03:00
levlam
f4b4ab3d74 Add "forum_topic_closed"/"forum_topic_reopened" messages. 2022-10-31 17:42:34 +03:00
levlam
8fa63c21f9 Add "forum_topic_created" messages. 2022-10-31 17:35:54 +03:00
levlam
1c3235b402 Add Message.is_topic_message. 2022-10-31 17:14:23 +03:00
levlam
b0fec0b09d Add Message.message_thread_id. 2022-10-31 17:09:34 +03:00
levlam
342d59a19d Add can_manage_topics chat permission. 2022-10-31 16:15:46 +03:00
levlam
ea978c5770 Add can_manage_topics administrator right. 2022-10-31 16:12:13 +03:00
levlam
5fb80085fb Add Chat.emoji_status_custom_emoji_id. 2022-10-31 15:59:15 +03:00
levlam
1ba4392648 Add Chat.active_usernames. 2022-10-31 15:49:53 +03:00
levlam
1270c70499 Add Chat.is_forum. 2022-10-31 15:36:42 +03:00
levlam
90d30d9a63 Update TDLib to 1.8.8. 2022-10-31 12:30:11 +03:00
levlam
c1db2380bd Send less updates repeatedly in getUpdates. 2022-10-23 11:34:24 +03:00
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
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
c35bbf1bd2 Update TDLib to 1.8.6 and add options for changing CPU affinity. 2022-09-18 00:20:41 +03:00
levlam
3b5cf48e5b Improve errors returned by get_input_message_contents. 2022-08-28 22:30:49 +03:00
levlam
90910f6ded Update TDLib and use td::WaitFreeHashMap if appropriate. 2022-08-21 14:44:57 +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
c237634847 Improve warnings about size of update queue. 2022-07-09 14:08:08 +03:00