Commit Graph

88 Commits

Author SHA1 Message Date
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
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
5fb80085fb Add Chat.emoji_status_custom_emoji_id. 2022-10-31 15:59:15 +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
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
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
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
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
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
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
7a2f3715f9 Add setChatMenuButton. 2022-04-08 04:12:22 +03:00
levlam
84199e5328 Add getChatMenuButton. 2022-04-08 03:07:52 +03:00
levlam
2989274f1f Add getMyDefaultAdministratorRights. 2022-04-03 13:29:57 +03:00
levlam
ee9dcde37b Add setMyDefaultAdministratorRights. 2022-04-03 09:33:40 +03:00
levlam
c278251d8f Add web_app_data messages. 2022-03-28 17:15:39 +03:00
levlam
defcb52571 Support WebApp buttons. 2022-03-25 01:00:48 +03:00
levlam
8bc5730532 Add answerWebAppQuery method. 2022-03-24 12:02:15 +03:00
levlam
58e6248874 Update TDLib to 1.8.3. 2022-03-24 11:49:55 +03:00
levlam
afaa577b1a Add "last_synchronization_error_date" to getWebhookInfo. 2022-03-18 14:03:14 +03:00
levlam
b4f0ebbaab Store full chatPhoto and compare it with chatPhotoInfo. 2022-03-16 14:49:38 +03:00
levlam
4925532c25 Use td::unique_ptr instead of std::unique_ptr. 2022-03-16 12:52:34 +03:00
levlam
3e9da68537 Use td::FlatHashTable instead of std::unordered_map/set. 2022-03-16 12:41:12 +03:00