Commit graph

66 commits

Author SHA1 Message Date
levlam
b8399c1c06 Update TDLib to 1.7.3. 2021-03-28 22:03:32 +03:00
levlam
8f2a50fd6c Add version to ClientParameters and log it on launch. 2021-03-14 05:28:30 +03:00
levlam
2d5c20e3a4 Improve log messages in fail_query_with_error. 2021-03-14 05:24:32 +03:00
levlam
45f43f6ef8 Treat self as a member in deactivated basic groups. 2021-03-14 05:00:36 +03:00
levlam
527b1bfd8c Update version to 5.1. 2021-03-09 13:30:42 +03:00
levlam
e8ba6a94dc Use "from" instead of "actor" for consistency with most other updates. 2021-03-09 13:24:17 +03:00
levlam
d32288c2c7 Update TDLib and improve field names. 2021-03-05 23:48:13 +03:00
levlam
7b1598afa4 Don't log "Request aborted" errors. 2021-03-03 19:32:08 +03:00
levlam
5783ad11c0 Update TDLib. 2021-03-03 19:31:58 +03:00
levlam
c1a0e9c91f Add Client::get_input_entities function. 2021-02-27 22:32:50 +03:00
levlam
68e9c284f4 Add update "my_chat_member". 2021-02-27 03:40:58 +03:00
levlam
875680e19f Add Internal Server Error logging. 2021-02-26 03:50:42 +03:00
levlam
50da9f3bd8 Add update 'chat_member'. 2021-02-26 03:02:26 +03:00
levlam
3a4911f327 Add can_manage_chat administrator privilege. 2021-02-25 22:40:54 +03:00
levlam
9ef4f5c142 Add revokeChatInviteLink method. 2021-02-25 22:32:23 +03:00
levlam
24d0d1d7ba Add editChatInviteLink method. 2021-02-25 22:25:33 +03:00
levlam
da5e703df4 Add fast path in check_message. 2021-02-25 22:11:11 +03:00
levlam
3179dc2ff6 Add Chat.message_auto_delete_time field. 2021-02-25 22:00:17 +03:00
levlam
71c324e674 Update TDLib to 1.7.2. Add createChatInviteLink method. 2021-02-25 21:29:30 +03:00
levlam
76f9bfbb0c Avoid some string copies. 2021-02-18 22:41:59 +03:00
levlam
20111d9e09 Support revoke_messages for groups in kickChatMember. 2021-02-17 20:43:55 +03:00
levlam
e56bd0d696 Update TDLib. 2021-02-17 17:23:58 +03:00
levlam
1380317e16 Add message_auto_delete_time_changed service message. 2021-02-17 15:45:24 +03:00
levlam
6ad5e3f8e6 Add related to voice chat service messages. 2021-02-17 14:45:22 +03:00
levlam
e7511c104e Allow to change memory log verbosity level. 2021-02-15 01:23:18 +03:00
levlam
e1408fff95 Add webhook response time to log. 2021-02-03 17:32:43 +03:00
levlam
acdb814135 Improve error message on wrong API ID specified. 2021-02-01 15:44:32 +03:00
levlam
aaea8896d2 Return error 500 if sent message was immediately deleted and can't be returned. 2021-01-27 00:57:51 +03:00
levlam
4b4c34ee72 Improve warning messages. 2021-01-15 16:54:14 +03:00
levlam
59bbc2141f Remove pending_update_count_ field. 2021-01-15 16:40:20 +03:00
levlam
b1c3c8e442 Remove unused field and improve pending_update_count_ field name. 2021-01-15 15:41:55 +03:00
levlam
d1357efe78 Improve HTTP error code for requests with unacceptable bot token. 2021-01-15 15:33:57 +03:00
levlam
e45aad4e37 Update copyright year. 2021-01-06 17:24:16 +03:00
levlam
e2800ba68e Start webhook connection creation in inactive mode. 2021-01-01 16:27:36 +03:00
levlam
3dfda18937 Output fatal errors to both logs. 2020-12-30 21:50:52 +03:00
levlam
754905f452 Improve verbosity level change. 2020-12-30 17:28:44 +03:00
levlam
6bfeac67a3 Update .clang-format. 2020-12-23 10:39:52 +03:00
levlam
57cda58dc9 Add the field InlineQuery.chat_type, which can be sent by the server in the distant future. 2020-12-08 03:57:25 +03:00
levlam
bf118ce9cc Update TDLib. Support can_manage_voice_chats administrator right. 2020-12-08 03:29:19 +03:00
levlam
56670702b1 Update version to 5.0.1. 2020-11-28 21:10:53 +03:00
levlam
b03f7e488f Do not update ServerCpuStat too often. 2020-11-28 21:10:19 +03:00
levlam
c31fb577ff Update TDLib. 2020-11-28 21:07:44 +03:00
levlam
643eacf14b Fix media_group_id of messages automatically forwarded to discussion group. 2020-11-26 19:31:07 +03:00
levlam
b5f1752f26 Improve webhook updates delaying. 2020-11-26 19:12:19 +03:00
levlam
0793c3baf1 Improve log messages. 2020-11-26 18:09:18 +03:00
levlam
bba0a3b122 Safer handling of negative monotonic time. 2020-11-21 17:46:18 +03:00
levlam
6a722ebfb1 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03:00
Kunoi Sayami
ce96db8ec8 Add missing log part (#30) 2020-11-20 18:11:23 +03:00
levlam
bd33bf7b23 Update TDLib. 2020-11-20 18:09:21 +03:00
levlam
b1a8f6f5b7 Install pdb files. 2020-11-16 22:41:06 +03:00