Commit graph

48 commits

Author SHA1 Message Date
levlam
1b743d69fd Allow to leave deactivated basic groups independently from supergroups. 2021-06-14 23:15:40 +03:00
levlam
e965c491d6 Simplify Query creation and statistics. 2021-06-14 22:47:01 +03:00
levlam
e7318da100 Ignore internal setWebhook queries in flood-control. 2021-06-14 04:11:15 +03:00
levlam
b5965b9b21 Clamp default arg value just in case. 2021-06-14 04:07:37 +03:00
levlam
d31c0f58a4 Make bots online while logging in. 2021-06-14 03:45:44 +03:00
levlam
59af6d9079 Don't store invalid callback_data in messages. 2021-06-03 19:26:19 +03:00
levlam
6436c8e79a Update TDLib. 2021-05-20 23:51:37 +03:00
levlam
d838a8812e Don't allow to access member list in deactivated groups. 2021-05-10 19:44:12 +03:00
levlam
f7dc9bc812 Improve handling of deleted group chats. 2021-05-10 19:02:49 +03:00
levlam
de6892e148 Add InputInvoiceMessageContent. 2021-04-08 18:38:05 +03:00
levlam
bbcc4732fe Support messageVoiceChatScheduled. 2021-04-08 17:49:53 +03:00
levlam
c21b46f42c Don't store empty chat_type. 2021-04-08 17:44:55 +03:00
levlam
eeba24eae8 Support new invoice fields. 2021-04-08 17:42:21 +03:00
levlam
8e617a4afc Update TDLib to 1.7.4. 2021-04-08 17:17:05 +03:00
levlam
5faa803cdc Improve log message. 2021-04-08 16:49:00 +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
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
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
e45aad4e37 Update copyright year. 2021-01-06 17:24:16 +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
643eacf14b Fix media_group_id of messages automatically forwarded to discussion group. 2020-11-26 19:31:07 +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
levlam
74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00