Commit Graph

105 Commits

Author SHA1 Message Date
levlam
7b20bdacdf Allow to use attach protocol to upload webhook certificate. 2022-05-13 18:24:18 +03:00
levlam
0ac93c8674 Add join_to_send_messages and join_by_request flags to Chat. 2022-05-13 16:41:12 +03:00
levlam
06d40edb0a Allow to specify a secret_token in setWebhook to ensure that webhook was set by the domain owner. 2022-05-13 16:39:32 +03:00
levlam
fd7489f6da Add the field User.added_to_attachment_menu. 2022-05-11 19:46:07 +03:00
levlam
89f6bed3b8 Add createInvoiceLink. 2022-05-09 21:49:26 +03:00
levlam
2001518ec5 Update TDLib to 1.8.4. 2022-05-09 19:25:56 +03:00
levlam
7a2f3715f9 Add setChatMenuButton. 2022-04-08 04:12:22 +03:00
levlam
84199e5328 Add getChatMenuButton. 2022-04-08 03:07:52 +03:00
levlam
2989274f1f Add getMyDefaultAdministratorRights. 2022-04-03 13:29:57 +03:00
levlam
ee9dcde37b Add setMyDefaultAdministratorRights. 2022-04-03 09:33:40 +03:00
levlam
c278251d8f Add web_app_data messages. 2022-03-28 17:15:39 +03:00
levlam
3252809448 Unify message content variable names. 2022-03-28 17:10:49 +03:00
levlam
defcb52571 Support WebApp buttons. 2022-03-25 01:00:48 +03:00
levlam
8bc5730532 Add answerWebAppQuery method. 2022-03-24 12:02:15 +03:00
levlam
58e6248874 Update TDLib to 1.8.3. 2022-03-24 11:49:55 +03:00
levlam
3c99f26824 Rename voice chats to video chats. 2022-03-22 17:25:59 +03:00
levlam
afaa577b1a Add "last_synchronization_error_date" to getWebhookInfo. 2022-03-18 14:03:14 +03:00
levlam
b4f0ebbaab Store full chatPhoto and compare it with chatPhotoInfo. 2022-03-16 14:49:38 +03:00
levlam
4925532c25 Use td::unique_ptr instead of std::unique_ptr. 2022-03-16 12:52:34 +03:00
levlam
3e9da68537 Use td::FlatHashTable instead of std::unordered_map/set. 2022-03-16 12:41:12 +03:00
levlam
d8166a558d Update TDLib to 1.8.2. 2022-03-15 20:28:51 +03:00
levlam
1851ba7eb5 Update TDLib to 1.8.1. 2022-01-31 22:32:10 +03:00
levlam
208fd70d58 Minor improvements. 2022-01-25 18:18:44 +03:00
levlam
9be6413e5c Improve logging. 2021-12-31 08:20:44 +03:00
levlam
d95441a48d Allow all updateUser updates before authorization. 2021-12-30 21:01:14 +03:00
levlam
01ff608cfa Improve log message. 2021-12-30 17:18:30 +03:00
levlam
6b137be127 Add support for spoiler entities. 2021-12-30 14:44:21 +03:00
levlam
6ec2104b81 Add the ability to send messages with protected content. 2021-12-30 14:41:30 +03:00
levlam
8e637b482a Update TDLib to 1.8.0. 2021-12-30 14:34:39 +03:00
levlam
6abdb73512 Remove legacy message LRU deletion. 2021-12-18 23:26:05 +03:00
levlam
3980748099 Use channel_bot as sender of channel messages. 2021-12-09 18:48:39 +03:00
levlam
df89ddf059 Fix Message.is_automatic_forward flag for automatically forwarded manually forwarded messages. 2021-12-08 14:04:49 +03:00
Harshil
04361155aa fix spelling 2021-12-07 17:50:33 +03:00
levlam
541126ead5 Add banChatSenderChat/unbanChatSenderChat methods. 2021-12-07 14:03:40 +03:00
levlam
052032ee8b Add field Chat.has_private_forwards. 2021-12-07 13:40:47 +03:00
levlam
9f8606b612 Add field Chat.has_protected_content. 2021-12-07 13:33:44 +03:00
levlam
5d118ebf6b Add field Message.has_protected_content. 2021-12-07 13:25:01 +03:00
levlam
f7e38e273c Update TDLib to 1.7.10. 2021-12-07 13:13:16 +03:00
levlam
824b23afc6 Add field Message.is_automatic_forward. 2021-12-07 12:56:22 +03:00
levlam
e2728cba7c Add approve/declineChatJoinRequest. 2021-11-04 14:08:17 +03:00
levlam
c9a2a62248 Add "chat_join_request" updates. 2021-11-04 13:35:43 +03:00
levlam
2fa32d7db7 Update TDLib to 1.7.9. 2021-11-04 13:02:05 +03:00
levlam
380e65d47e Limit number of concurrently sent messages to a chat. 2021-10-01 14:52:47 +03:00
levlam
e715de9e1c Count number of active clients with a given tqueue_id. 2021-09-30 23:23:41 +03:00
levlam
9380c2a3d1 Log all responses with code < 200. 2021-09-29 20:40:18 +03:00
levlam
0034afbcba Update TDLib to 1.7.8. 2021-09-20 16:58:22 +03:00
levlam
40ff6f637b Update TDLib to 1.7.7. 2021-09-08 17:21:28 +03:00
levlam
937fa526b9 Remove unused field. 2021-09-06 16:51:45 +03:00
levlam
d598402a3c Remove unneeded check for unavailable supergroup member count. 2021-08-13 19:36:11 +03:00
levlam
def3e84f12 Fix check for self-destructing messages. 2021-07-22 18:15:31 +03:00