Commit Graph

145 Commits

Author SHA1 Message Date
levlam b8693ae500 Support new bot command methods. 2021-06-23 06:48:24 +03:00
levlam 73b65fc99e Support input field placehoder in ReplyMarkup. 2021-06-23 03:38:17 +03:00
levlam 878a1e16a8 Update TDLib. 2021-06-23 03:34:31 +03:00
levlam badeb9a7f0 Automatically detect whether colon can be used in a directory name. 2021-06-23 02:03:22 +03:00
levlam 08a92a2347 Use absolute file paths. 2021-06-22 21:26:41 +03:00
levlam ad55377cba Allow to leave deactivated basic groups independently from supergroups. 2021-06-14 23:15:40 +03:00
levlam ab8edb4de7 Log too old queries. 2021-06-14 22:58:23 +03:00
levlam 7de971ec20 Simplify Query creation and statistics. 2021-06-14 22:47:01 +03:00
levlam 54112379ff Check write access to temporary directory. 2021-06-14 21:24:20 +03:00
levlam 061c34749a Dump statistics additionally to log by signal. 2021-06-14 20:53:55 +03:00
levlam 084aa2a6f3 Ignore internal setWebhook queries in flood-control. 2021-06-14 04:11:15 +03:00
levlam 05bbc55569 Clamp default arg value just in case. 2021-06-14 04:07:37 +03:00
levlam aa70087df4 Make bots online while logging in. 2021-06-14 03:45:44 +03:00
levlam 21cc85064c Do not export symbols from executable on Linux with CMake 3.4+. 2021-06-13 05:51:38 +03:00
levlam 29f11170be Fix Back button in build.html on the main page. 2021-06-08 19:22:52 +03:00
levlam 4eb391decd Dump memory statistics with other state. 2021-06-04 18:20:08 +03:00
levlam 19f9e1eff0 Output uptime and current state on closing. 2021-06-04 17:43:04 +03:00
levlam 6a7b2fd8a4 Don't store invalid callback_data in messages. 2021-06-03 19:26:19 +03:00
levlam 7f9e9fd809 Update TDLib. 2021-05-20 23:51:37 +03:00
levlam 72d8f73dbe Don't allow to access member list in deactivated groups. 2021-05-10 19:44:12 +03:00
levlam f423f426a2 Improve handling of deleted group chats. 2021-05-10 19:02:49 +03:00
KnorpelSenf bcd0c8eaa5
Add --version flag (#132) 2021-05-10 18:49:50 +03:00
levlam 90fed9b9a7 Update version to 5.2. 2021-04-13 19:33:50 +03:00
levlam 12a3240656 Add InputInvoiceMessageContent. 2021-04-08 18:38:05 +03:00
levlam aa737b3dcf Support messageVoiceChatScheduled. 2021-04-08 17:49:53 +03:00
levlam efaf601e85 Don't store empty chat_type. 2021-04-08 17:44:55 +03:00
levlam b71e66003e Support new invoice fields. 2021-04-08 17:42:21 +03:00
levlam 39f96f93a9 Update TDLib to 1.7.4. 2021-04-08 17:17:05 +03:00
levlam ef23b96c94 Improve log message. 2021-04-08 16:49:00 +03:00
levlam bf371b21b9 Update TDLib to 1.7.3. 2021-03-28 22:03:32 +03:00
levlam d97045bc06 Add version to ClientParameters and log it on launch. 2021-03-14 05:28:30 +03:00
levlam 72171e5751 Improve log messages in fail_query_with_error. 2021-03-14 05:24:32 +03:00
levlam a133545d4b Treat self as a member in deactivated basic groups. 2021-03-14 05:00:36 +03:00
levlam 202ddaffab Update version to 5.1. 2021-03-09 13:30:42 +03:00
levlam fcfb194c54 Use "from" instead of "actor" for consistency with most other updates. 2021-03-09 13:24:17 +03:00
levlam 871cbcfeec Update TDLib and improve field names. 2021-03-05 23:48:13 +03:00
levlam e128906890 Don't log "Request aborted" errors. 2021-03-03 19:32:08 +03:00
levlam b510a323f2 Update TDLib. 2021-03-03 19:31:58 +03:00
levlam e6eda8c31d Add Client::get_input_entities function. 2021-02-27 22:32:50 +03:00
levlam 778c155b5c Add update "my_chat_member". 2021-02-27 03:40:58 +03:00
levlam 93158f05a7 Add Internal Server Error logging. 2021-02-26 03:50:42 +03:00
levlam 418946b0e1 Add update 'chat_member'. 2021-02-26 03:02:26 +03:00
levlam 8323701b27 Add can_manage_chat administrator privilege. 2021-02-25 22:40:54 +03:00
levlam 6ab61f2fed Add revokeChatInviteLink method. 2021-02-25 22:32:23 +03:00
levlam c8bc4c9d3a Add editChatInviteLink method. 2021-02-25 22:25:33 +03:00
levlam 1db5521027 Add fast path in check_message. 2021-02-25 22:11:11 +03:00
levlam 90d29edcce Add Chat.message_auto_delete_time field. 2021-02-25 22:00:17 +03:00
levlam 685e6bf87d Update TDLib to 1.7.2. Add createChatInviteLink method. 2021-02-25 21:29:30 +03:00
levlam ae56eee88f Avoid some string copies. 2021-02-18 22:41:59 +03:00
levlam 2ab19c5948 Support revoke_messages for groups in kickChatMember. 2021-02-17 20:43:55 +03:00