Commit Graph

11807 Commits

Author SHA1 Message Date
levlam
4dbcfce77d Randomly choose session among sessions with the same minimum query count. 2023-12-19 21:01:32 +03:00
levlam
15b8ad5c66 Add MediaArea::get_input_media_areas. 2023-12-18 14:24:07 +03:00
levlam
50f20c8a0c Assign message identifier in create_message_to_send. 2023-12-17 01:06:40 +03:00
levlam
08222894e9 Check link types in alphabetical order. 2023-12-16 23:45:45 +03:00
levlam
a815bd74a1 Pass some parameters as const reference. 2023-12-15 00:11:59 +03:00
levlam
53ee8caf37 Simplify QTS update processing. 2023-12-14 23:27:46 +03:00
levlam
0072ff225b Add static methods for processing of vector<ReactionType>. 2023-12-14 18:46:52 +03:00
levlam
0a53e5ad0e Set bot online timeout right after authorization. 2023-12-14 15:59:16 +03:00
levlam
2bf1dcd6eb Add source to get_channel_difference_if_needed. 2023-12-13 19:48:11 +03:00
levlam
542271a1fd Don't save get_id() to a used-once variable before switch. 2023-12-12 23:20:41 +03:00
levlam
dce778442c Allow 0 as giveaway_message_id in messagePremiumGiveawayCompleted. 2023-12-11 00:44:47 +03:00
levlam
1a50ec474c Use tdjson.dll only on Windows. 2023-12-10 14:05:35 +03:00
levlam
c257615f9a Remove now unused function is_hidden_data_entity. 2023-12-10 13:37:32 +03:00
levlam
0b1a1855a9 Use full path for tdjson.dll in Python example. 2023-12-10 13:13:07 +03:00
levlam
745c40855a Exclude installed sticker sets from searchStickerSets response. 2023-12-09 23:14:19 +03:00
levlam
d8eab25e82 Allow to use addChatMembers with one user in basic groups. 2023-12-08 14:30:01 +03:00
levlam
559cbe5de9 Always update premium-dependent options. 2023-12-08 12:57:13 +03:00
levlam
44844e1c19 Improve link preview options comparison. 2023-12-07 21:16:37 +03:00
levlam
f4f46c9a79 Don't try to process stories inside message content by bots. 2023-12-07 13:34:37 +03:00
levlam
a7c81ae21b Always extract web_page_url for bots. 2023-12-07 12:48:33 +03:00
levlam
b210e79f97 Save link preview URL if size of the media is fixed or message text is empty. 2023-12-06 12:57:49 +03:00
levlam
0f4e01bde3 Keep reply content if it has link preview options. 2023-12-06 12:28:37 +03:00
levlam
ef68428e01 Improve documentation of only_new_members. 2023-12-05 17:03:21 +03:00
levlam
4ac5708135 Remove redundant is_valid checks before adding an identifier as dependency. 2023-12-04 22:18:08 +03:00
levlam
f08b63268a Support more cases for min-users and min-channels. 2023-12-04 22:13:25 +03:00
levlam
85c8c19b7f Fix profileAccentColor documentation. 2023-12-04 19:15:15 +03:00
levlam
4c052a5efa Don't remove whitespace-only entities. 2023-12-04 18:33:40 +03:00
levlam
9a9e3be8cf Trim quote from the replied message. 2023-12-04 16:27:15 +03:00
levlam
99f9b78819 Support messagePremiumGiveawayCompleted in getRepliedMessage. 2023-12-04 12:34:58 +03:00
levlam
9577a457c5 Improve documentation. 2023-12-04 12:24:26 +03:00
levlam
1b42476416 Add sanity checks. 2023-12-04 11:39:48 +03:00
levlam
3f00bebf63 Add missing checks fpr database existence. 2023-12-03 13:18:33 +03:00
levlam
4c1f6d6608 Fix misprint by @AYMENJD. 2023-12-02 22:19:48 +03:00
levlam
24893faf75 Update version to 1.8.22. 2023-12-01 23:19:05 +03:00
levlam
7728c1deb3 Don't hide sender of a story being reposted. 2023-12-01 23:10:59 +03:00
levlam
d1ce646e61 Require less rights for channel story statistics. 2023-12-01 22:36:20 +03:00
levlam
8ab0a152cd Just delete chat background if revert failed. 2023-12-01 11:56:30 +03:00
levlam
762c224c10 Add deleteChatBackground.restore_previous. 2023-12-01 01:06:54 +03:00
levlam
330088d9f8 Add separate td_api::deleteChatBackground method. 2023-12-01 00:20:11 +03:00
levlam
f05f2a67f1 Add BackgroundManager::get_background_dialog method. 2023-12-01 00:14:25 +03:00
levlam
072f811a9c Apply chat background set by the other user. 2023-11-30 21:49:32 +03:00
levlam
6f3180aeaf Don't warn about pre-release messages. 2023-11-30 21:11:19 +03:00
levlam
e2ce0e7a0b Keep logging only if the chat has active stories. 2023-11-30 20:32:16 +03:00
levlam
fc8bc0a026 Improve method names. 2023-11-30 20:13:49 +03:00
levlam
da1f23a6f9 Fix RecommendedDialogs::parse. 2023-11-30 19:37:48 +03:00
levlam
392f5e24b3 Improve supergroup.member_count documentation. 2023-11-30 19:08:46 +03:00
levlam
ecadb90ac8 Improve documentation. 2023-11-30 18:43:38 +03:00
levlam
9096e646b8 Minor improvements. 2023-11-30 18:26:33 +03:00
levlam
1604ee7b1d Improve includes. 2023-11-30 18:13:23 +03:00
levlam
9bf9bf767d Add td_api::getStoryPublicForwards. 2023-11-30 17:21:56 +03:00