Commit Graph

199 Commits

Author SHA1 Message Date
levlam
d3898d9b7f Allow to preupload animated and video stickers. 2023-02-14 16:46:05 +03:00
levlam
a1d7c768bb Aloow to specify up to 50 stickers in createNewStickerSet. 2023-02-14 16:34:10 +03:00
levlam
d0b5abfc46 Support InputSticker in addStickerToSet. 2023-02-14 14:26:42 +03:00
levlam
1da3d34299 Add Sticker.needs_repainting. 2023-02-14 14:07:38 +03:00
levlam
3be3dfedf6 Add "needs_repainting" parameter in createNewStickerSet. 2023-02-14 13:37:27 +03:00
levlam
96e534bddc Rename "thumb" to "thumbnail". 2023-02-14 13:30:17 +03:00
levlam
0cf13d3bf4 Update TDLib to 1.8.12. 2023-02-13 17:25:33 +03:00
levlam
09c9db306a Fail flood-limited queries with a delay. 2023-02-13 15:52:15 +03:00
levlam
12c56318a8 Update clang-format to 16.0.0. 2023-02-13 15:44:46 +03:00
levlam
0e6826b7e4 Add use_independent_chat_permissions to restrictChatMember and setChatPermissions. 2023-02-01 04:00:16 +03:00
levlam
0bc181c216 Add ChatJoinRequest.user_chat_id. 2023-02-01 03:46:27 +03:00
levlam
2c23688be6 Support separate media permissions. 2023-01-31 01:46:40 +03:00
levlam
70428fb762 Improve BotInfo for bots with invalid tokens. 2023-01-18 22:44:47 +03:00
levlam
82d592702d Support messageUserShared and messageChatShared. 2023-01-12 14:49:26 +03:00
levlam
c3c8f112ee Support "request_chat" keyboard buttons. 2023-01-11 20:50:43 +03:00
levlam
e636a6db45 Support "request_user" keyboard buttons. 2023-01-11 20:39:34 +03:00
levlam
c68f6a7a89 Update TDLib to 1.8.11. 2023-01-11 20:30:27 +03:00
levlam
1b741dd3b3 Update TDLib and asynchronously destroy deleted TQueue events. 2023-01-06 18:03:45 +03:00
levlam
348b94bdee Update copyright year. 2023-01-01 00:31:16 +03:00
levlam
c5ed576b1e Use public photo if full profile photo is unavailable. 2022-12-30 00:21:16 +03:00
levlam
fbc493c361 Add Chat.has_aggressive_anti_spam_enabled. 2022-12-29 21:11:42 +03:00
levlam
b972cebad4 Add Chat.has_hidden_members. 2022-12-29 21:06:38 +03:00
levlam
849d48e858 Add methods for General topic management. 2022-12-29 21:02:15 +03:00
levlam
9b47c90de9 Add Message.write_access_allowed. 2022-12-29 18:06:35 +03:00
levlam
d19413f8e6 Add Message.general_forum_topic_hidden/general_forum_topic_unhidden. 2022-12-29 17:53:55 +03:00
levlam
3704082f2a Add and use JsonEmptyObject. 2022-12-29 17:51:39 +03:00
levlam
38df7114f2 Add Message.forum_topic_edited. 2022-12-29 17:37:59 +03:00
levlam
28106d9df4 Support sending of media with spoiler. 2022-12-29 17:26:39 +03:00
levlam
e5af2d3133 Add Message.has_media_spoiler field. 2022-12-29 16:56:32 +03:00
levlam
1fd451510f Add ReplyKeyboardMarkup.is_persistent field. 2022-12-29 00:54:24 +03:00
levlam
921f5c4b2e Update TDLib to 1.8.10. 2022-12-27 00:52:14 +03:00
levlam
b6f135b4c0 Add message_thread_id parameter to sendChatAction. 2022-12-15 20:05:22 +03:00
levlam
5166914162 Improve authorization errors handling. 2022-12-12 19:33:35 +03:00
levlam
ed9f836977 Add and use Client::get_closing_error(). 2022-12-12 17:57:22 +03:00
levlam
9aeb8135e0 Use fail_query_closing in Client::on_closed. 2022-12-12 14:05:37 +03:00
levlam
66b5d8aa07 Add Client::get_retry_after_time helper. 2022-12-11 23:26:23 +03:00
levlam
1c0774b1a9 Log number of flood-limited requests. 2022-11-30 17:37:35 +03:00
levlam
48a5609de2 Improve limit for active queries. 2022-11-30 17:30:28 +03:00
levlam
ed0532bcf7 Use destroy_on_scheduler in WebhookActor. 2022-11-27 01:31:00 +03:00
levlam
428f438e4f Avoid speculative message deletion from cache. 2022-11-23 14:53:43 +03:00
levlam
1d5dc9e5e8 Check for MAX_CONCURRENTLY_SENT_CHAT_MESSAGES as early as possible. 2022-11-22 21:31:04 +03:00
levlam
53aa4d2f03 Reget poll messages from TDLib. 2022-11-22 13:34:16 +03:00
levlam
ce6ddc74d7 Limit the number of simultaneously uploaded files. 2022-11-14 15:35:43 +03:00
levlam
84ceee07bf Use TQueue::clear. 2022-11-12 10:44:00 +03:00
levlam
a9cb897af4 Update TDLib to 1.8.9 and add SslCtx caching. 2022-11-11 15:37:07 +03:00
levlam
29cc000c08 Fix type of icon_custom_emoji_id. 2022-11-08 01:28:57 +03:00
levlam
0ddf9a460d Fix type of emoji_status_custom_emoji_id. 2022-11-07 00:59:20 +03:00
levlam
daf986972b Destroy deleted messages on another thread. 2022-11-03 20:30:14 +03:00
levlam
8aac13eb4d Check message_thread_id parameter before using it. 2022-11-02 14:05:23 +03:00
levlam
36e41d6b7f Add unpinAllForumTopicMessages method. 2022-10-31 20:29:38 +03:00