Commit graph

185 commits

Author SHA1 Message Date
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
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
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
32db2f53f6 Update TDLib to 1.8.6 and add options for changing CPU affinity. 2022-09-18 00:20:41 +03:00
levlam
660e1169d7 Improve errors returned by get_input_message_contents. 2022-08-28 22:30:49 +03:00
levlam
c7dfc992f6 Update TDLib and use td::WaitFreeHashMap if appropriate. 2022-08-21 14:44:57 +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
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
levlam
a695dd4c9c Update TDLib. 2022-06-30 20:27:08 +03:00
levlam
37c8893d86 Rely on TDLib checks for downloaded file existence. 2022-06-29 18:51:24 +03:00
levlam
fabc98e276 Add Sticker.premium_animation. 2022-06-06 16:33:42 +03:00
levlam
281fb9c926 Improve sendMediaGroup error message. 2022-05-30 21:32:01 +03:00
levlam
b52225e7f9 Add User.is_premium. 2022-05-24 16:56:53 +03:00
levlam
67411fd690 Allow to use attach protocol to upload webhook certificate. 2022-05-13 18:24:18 +03:00
levlam
1a13e1dde9 Add join_to_send_messages and join_by_request flags to Chat. 2022-05-13 16:41:12 +03:00
levlam
45f2c38bde 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
5d4042fa7d Add the field User.added_to_attachment_menu. 2022-05-11 19:46:07 +03:00
levlam
31c0b23ba7 Add createInvoiceLink. 2022-05-09 21:49:26 +03:00
levlam
26cd6a28c5 Update TDLib to 1.8.4. 2022-05-09 19:25:56 +03:00
levlam
90ed16918a Add setChatMenuButton. 2022-04-08 04:12:22 +03:00
levlam
29e19ad99a Add getChatMenuButton. 2022-04-08 03:07:52 +03:00
levlam
5deafeff36 Add getMyDefaultAdministratorRights. 2022-04-03 13:29:57 +03:00
levlam
de264dacda Add setMyDefaultAdministratorRights. 2022-04-03 09:33:40 +03:00
levlam
9961ea6ece Add web_app_data messages. 2022-03-28 17:15:39 +03:00
levlam
7b61725c93 Unify message content variable names. 2022-03-28 17:10:49 +03:00
levlam
89c6b36f20 Support WebApp buttons. 2022-03-25 01:00:48 +03:00
levlam
7c2993f5ff Add answerWebAppQuery method. 2022-03-24 12:02:15 +03:00
levlam
fe60d9f666 Update TDLib to 1.8.3. 2022-03-24 11:49:55 +03:00
levlam
60060b79f1 Rename voice chats to video chats. 2022-03-22 17:25:59 +03:00
levlam
ee8f35c96e Add "last_synchronization_error_date" to getWebhookInfo. 2022-03-18 14:03:14 +03:00
levlam
90d093196b Store full chatPhoto and compare it with chatPhotoInfo. 2022-03-16 14:49:38 +03:00
levlam
858373c80b Use td::unique_ptr instead of std::unique_ptr. 2022-03-16 12:52:34 +03:00
levlam
93edba0e9d Use td::FlatHashTable instead of std::unordered_map/set. 2022-03-16 12:41:12 +03:00