Commit graph

385 commits

Author SHA1 Message Date
levlam
5940af70d3 Update version to 6.9. 2023-09-22 16:23:26 +03:00
levlam
e0bcca5324 Add more fields to WriteAccessAllowed. 2023-09-19 20:37:10 +03:00
levlam
91697d5b40 Support "can_post_stories", "can_edit_stories" and "can_delete_stories" administrator rights. 2023-09-19 19:37:24 +03:00
levlam
df5365cbf7 Update TDLib to 1.8.19. 2023-09-19 19:26:43 +03:00
levlam
646d60093e Fail request early if message/caption/explanation text is too long. 2023-09-14 19:11:12 +03:00
levlam
420739d6e4 Don't update CPU statistics before returning it to avoid synchronous open of "/proc/stat". 2023-09-14 16:57:28 +03:00
levlam
dd328e555b Update TDLib to 1.8.18. 2023-09-13 23:14:57 +03:00
levlam
761dbd7d12 Improve query logging. 2023-09-08 18:09:08 +03:00
levlam
1f2fd4bb9d Immediately return an error if more than 50 inline query results are provided. 2023-09-06 18:48:41 +03:00
levlam
4144f0bd8f Explicitly disallow message updates with "channel_chat_created" content. 2023-09-06 17:06:21 +03:00
levlam
9e20c8199a Update TDLib to 1.8.17. 2023-09-06 16:17:47 +03:00
levlam
1c67bd6a00 Update CPU statistics on a dedicated thread. 2023-09-03 01:03:53 +03:00
levlam
b97b00cf88 Improve ServerCpuStat. 2023-09-03 00:55:10 +03:00
levlam
191e5a732f Make watchdog timeouts more precise. 2023-08-31 22:51:07 +03:00
levlam
a9ebbba001 Update version to 6.8. 2023-08-18 18:39:30 +03:00
levlam
a1abcc19fc Update TDLib to 1.8.16. 2023-08-17 00:34:34 +03:00
levlam
9b8a7ebe6d Improve logging of big queries. 2023-08-08 18:00:24 +03:00
levlam
a97775a6fd Simplify reply markup parsing. 2023-07-31 20:01:53 +03:00
levlam
f463f78b3a Use JsonObject member functions to get field values. 2023-07-31 17:53:56 +03:00
levlam
df0a60ab0b Use get_json_object_long_field to fetch "amount". 2023-07-31 14:02:50 +03:00
levlam
33c13a945d Add dedicated threads for TQueue and webhook databases and webhook certificate processing. 2023-07-25 22:32:05 +03:00
levlam
4f341f366b Improve threads usage. 2023-07-25 22:26:12 +03:00
levlam
cb9a21157f Improve warnings for old updates. 2023-07-24 21:41:15 +03:00
levlam
4388b0162c Add unpinAllGeneralForumTopicMessages. 2023-07-24 17:19:14 +03:00
levlam
9466a25da3 Support messageStory as empty objects. 2023-07-24 16:14:03 +03:00
levlam
f021889ae4 Add Chat.emoji_status_expiration_date. 2023-07-21 13:33:00 +03:00
levlam
1c306f5449 Update TDLib to 1.8.15 and support votes by chats in polls. 2023-07-20 17:06:32 +03:00
levlam
8a0aace6a3 Improve processing of new messages. 2023-07-20 16:58:10 +03:00
levlam
bf333ae23a Don't drop replies to deleted messages. 2023-07-20 16:30:46 +03:00
levlam
cd0ffe35e8 Don't track replies by yet unsent messages. 2023-07-20 16:25:42 +03:00
levlam
cae188da7a Improve replies handling. 2023-07-19 23:54:47 +03:00
levlam
821f7b7e8a Keep last time when a file was uploaded. 2023-07-06 14:47:31 +03:00
levlam
ea9ae2fa6a Make Client::get_reply_markup static. 2023-07-06 14:01:14 +03:00
levlam
018f2cb483 Use bot identifier as token for webhook requests. 2023-06-28 20:55:38 +03:00
levlam
866d0984e1 Update TDLib and version to 6.7.1. 2023-04-21 16:08:20 +03:00
levlam
894cfb817d Update version to 6.7. 2023-04-21 13:21:58 +03:00
levlam
d56670d677 Add "switch_inline_query_chosen_chat" inline keyboard buttons. 2023-04-07 15:29:16 +03:00
levlam
4480d67887 Add ChatMemberUpdated.via_chat_folder_invite_link. 2023-04-07 14:55:58 +03:00
levlam
e9f383eb76 Add setMyName. 2023-04-07 14:52:10 +03:00
levlam
bc77b930fe Add getMyName. 2023-04-07 14:48:34 +03:00
levlam
82a4af5f5d Update TDLib to 1.8.14. 2023-04-07 14:36:27 +03:00
levlam
4f3842da39 Don't dump trace on Watchdog timeouts if log is disabled. 2023-03-27 19:05:23 +03:00
levlam
372ccea547 Update TDLib and version to 6.6.2. 2023-03-27 12:08:49 +03:00
levlam
ee36def7d9 Update version to 6.6.1. 2023-03-25 09:27:17 +03:00
levlam
f404fdca90 Fix warning. 2023-03-23 20:18:32 +03:00
levlam
1e7ef9236e Add Query::get_peer_ip_address. 2023-03-13 18:42:35 +03:00
levlam
29bcf32783 Completely disable network statistics. 2023-03-13 17:40:07 +03:00
levlam
6a00e2d89a Update TDLib to 1.8.13. 2023-03-13 17:28:01 +03:00
levlam
a3dc0f3b89 Statically link libstdc++ and libgcc when memprof is enabled. 2023-03-12 22:39:48 +03:00
levlam
dd272dfc41 Update version to 6.6. 2023-03-09 18:55:26 +03:00