Commit Graph

114 Commits

Author SHA1 Message Date
levlam
c48dfe5d4d Add setStickerEmojiList. 2023-02-14 17:43:08 +03:00
levlam
bb5f3651b2 Add Client::get_sticker_input_file. 2023-02-14 17:40:32 +03:00
levlam
401894a53b Add setStickerSetTitle. 2023-02-14 17:30:50 +03:00
levlam
0c7a7236eb Add setCustomEmojiStickerSetThumbnail. 2023-02-14 17:26:31 +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
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
0e6826b7e4 Add use_independent_chat_permissions to restrictChatMember and setChatPermissions. 2023-02-01 04:00:16 +03:00
levlam
82d592702d Support messageUserShared and messageChatShared. 2023-01-12 14:49:26 +03:00
levlam
348b94bdee Update copyright year. 2023-01-01 00:31: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
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
921f5c4b2e Update TDLib to 1.8.10. 2022-12-27 00:52:14 +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
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
ed0532bcf7 Use destroy_on_scheduler in WebhookActor. 2022-11-27 01:31:00 +03:00
levlam
a016d13c15 Use td::Hash instead of std::hash. 2022-11-23 23:43:05 +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
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
levlam
88748a50f3 Add deleteForumTopic method. 2022-10-31 19:16:14 +03:00
levlam
807c353fc0 Add reopenForumTopic method. 2022-10-31 19:13:57 +03:00
levlam
82ec9dc608 Add closeTopicForum method. 2022-10-31 19:11:29 +03:00
levlam
1f7cd2cba5 Add editForumTopic method. 2022-10-31 18:55:34 +03:00
levlam
1e68d49193 Add createForumTopic method. 2022-10-31 18:44:29 +03:00
levlam
83bcb31994 Add getForumTopicIconStickers method. 2022-10-31 18:27:17 +03:00
levlam
f4b4ab3d74 Add "forum_topic_closed"/"forum_topic_reopened" messages. 2022-10-31 17:42:34 +03:00
levlam
8fa63c21f9 Add "forum_topic_created" messages. 2022-10-31 17:35:54 +03:00
levlam
1c3235b402 Add Message.is_topic_message. 2022-10-31 17:14:23 +03:00
levlam
b0fec0b09d Add Message.message_thread_id. 2022-10-31 17:09:34 +03:00
levlam
5fb80085fb Add Chat.emoji_status_custom_emoji_id. 2022-10-31 15:59:15 +03:00
levlam
1270c70499 Add Chat.is_forum. 2022-10-31 15:36:42 +03:00
levlam
90d30d9a63 Update TDLib to 1.8.8. 2022-10-31 12:30:11 +03:00
levlam
2cca516445 Fail pending setWebhook queries during closing. 2022-10-04 17:05:35 +03:00
levlam
e4324ead54 Copy webhook certificate in another thread. 2022-10-04 16:26:51 +03:00
levlam
2224b715be Improve logging for delayed message updates. 2022-09-29 20:28:44 +03:00
levlam
254ad97805 Update TDLib to 1.8.7 and support extended_media in sendInvoice. 2022-09-23 20:29:42 +03:00
levlam
834caf09bf Fail queries immediately if there are too many active queries already. 2022-09-18 10:19:58 +03:00
levlam
3b5cf48e5b Improve errors returned by get_input_message_contents. 2022-08-28 22:30:49 +03:00
levlam
90910f6ded Update TDLib and use td::WaitFreeHashMap if appropriate. 2022-08-21 14:44:57 +03:00
levlam
9f3f32391c Add Chat.has_restricted_voice_and_video_messages. 2022-07-21 19:12:28 +03:00