Commit graph

92 commits

Author SHA1 Message Date
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
levlam
37b42d534b Update TDLib to 1.8.2. 2022-03-15 20:28:51 +03:00
levlam
5c07030d1f Update TDLib to 1.8.1. 2022-01-31 22:32:10 +03:00
levlam
fbdd460d8f Minor improvements. 2022-01-25 18:18:44 +03:00
levlam
5ece773fb2 Improve logging. 2021-12-31 08:20:44 +03:00
levlam
cb5b3cfb2c Allow all updateUser updates before authorization. 2021-12-30 21:01:14 +03:00
levlam
8ffcc68a2f Improve log message. 2021-12-30 17:18:30 +03:00
levlam
7a46be6987 Add support for spoiler entities. 2021-12-30 14:44:21 +03:00
levlam
2eeceb2cd7 Add the ability to send messages with protected content. 2021-12-30 14:41:30 +03:00
levlam
4579bcc6b1 Update TDLib to 1.8.0. 2021-12-30 14:34:39 +03:00
levlam
e2f8bdf2b5 Remove legacy message LRU deletion. 2021-12-18 23:26:05 +03:00
levlam
5914a10190 Use channel_bot as sender of channel messages. 2021-12-09 18:48:39 +03:00
levlam
a92fe65dc0 Fix Message.is_automatic_forward flag for automatically forwarded manually forwarded messages. 2021-12-08 14:04:49 +03:00
Harshil
f53dc93bf9 fix spelling 2021-12-07 17:50:33 +03:00
levlam
ae7838ed32 Add banChatSenderChat/unbanChatSenderChat methods. 2021-12-07 14:03:40 +03:00
levlam
cfc28b9207 Add field Chat.has_private_forwards. 2021-12-07 13:40:47 +03:00
levlam
2f903c25b3 Add field Chat.has_protected_content. 2021-12-07 13:33:44 +03:00
levlam
d8896c108f Add field Message.has_protected_content. 2021-12-07 13:25:01 +03:00
levlam
dd83a2934d Update TDLib to 1.7.10. 2021-12-07 13:13:16 +03:00
levlam
8adbf87b1a Add field Message.is_automatic_forward. 2021-12-07 12:56:22 +03:00
levlam
7c1104c1eb Add approve/declineChatJoinRequest. 2021-11-04 14:08:17 +03:00
levlam
9606a57b35 Add "chat_join_request" updates. 2021-11-04 13:35:43 +03:00
levlam
7c07a9778f Update TDLib to 1.7.9. 2021-11-04 13:02:05 +03:00
levlam
14b6d0502c Limit number of concurrently sent messages to a chat. 2021-10-01 14:52:47 +03:00
levlam
5a1a265fc8 Count number of active clients with a given tqueue_id. 2021-09-30 23:23:41 +03:00
levlam
026d2d1627 Log all responses with code < 200. 2021-09-29 20:40:18 +03:00
levlam
83d81de202 Update TDLib to 1.7.8. 2021-09-20 16:58:22 +03:00
levlam
b2e4c4205e Update TDLib to 1.7.7. 2021-09-08 17:21:28 +03:00
levlam
795edbc257 Remove unused field. 2021-09-06 16:51:45 +03:00
levlam
7cf64bac44 Remove unneeded check for unavailable supergroup member count. 2021-08-13 19:36:11 +03:00
levlam
a522085401 Fix check for self-destructing messages. 2021-07-22 18:15:31 +03:00
levlam
9f4bafc54f Replace error code 403 with 400 in server-side errors just in case. 2021-07-17 04:40:32 +03:00
levlam
d090b9485a Add logging on errors with non-positive error code. 2021-06-24 17:27:15 +03:00
levlam
cd2965e2b1 Support new bot command methods. 2021-06-23 06:48:24 +03:00
levlam
515b41cab1 Support input field placehoder in ReplyMarkup. 2021-06-23 03:38:17 +03:00
levlam
fb3c99f238 Update TDLib. 2021-06-23 03:34:31 +03:00
levlam
b769e108f4 Automatically detect whether colon can be used in a directory name. 2021-06-23 02:03:22 +03:00
levlam
fe3c1694f9 Use absolute file paths. 2021-06-22 21:26:41 +03:00
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