levlam
|
238c0e901f
|
Load recommended channels from database.
|
2023-11-29 19:35:27 +03:00 |
|
levlam
|
dcad0f413e
|
Add td_api::story.repost_info.
|
2023-11-29 19:22:54 +03:00 |
|
levlam
|
da0d999c52
|
Add td_api::getSimilarChatCount.
|
2023-11-29 15:31:33 +03:00 |
|
levlam
|
85b06f9614
|
Add ContactsManager::finish_load_channel_recommendations_queries.
|
2023-11-29 15:11:55 +03:00 |
|
levlam
|
fa91aeb065
|
Add ContactsManager::fail_load_channel_recommendations_queries.
|
2023-11-29 15:04:21 +03:00 |
|
levlam
|
f792e9d45e
|
Don't check permissions for added local messages.
|
2023-11-29 14:17:49 +03:00 |
|
levlam
|
5a40d432ea
|
Fix premium feature names.
|
2023-11-29 13:33:14 +03:00 |
|
levlam
|
ec98830565
|
Improve error messages.
|
2023-11-29 01:06:13 +03:00 |
|
levlam
|
341fb7c04f
|
Add td_api::textQuote.
|
2023-11-28 18:24:07 +03:00 |
|
levlam
|
c5288258d4
|
Add class inputTextQuote.
|
2023-11-28 18:16:04 +03:00 |
|
levlam
|
c9e83daec6
|
Allow to reset accent_color_id to default.
|
2023-11-28 16:17:51 +03:00 |
|
levlam
|
9fbdba456a
|
Add td_api::setProfileAccentColor.
|
2023-11-28 16:12:21 +03:00 |
|
levlam
|
45ca900759
|
Add user.profile_accent_color_id/profile_background_custom_emoji_id.
|
2023-11-28 15:45:39 +03:00 |
|
levlam
|
fb03b92fa2
|
Don't warn if entity lanaguage code is added by the server.
|
2023-11-28 14:57:30 +03:00 |
|
levlam
|
ea9e99407f
|
Add "chat_boost_level_max" option.
|
2023-11-28 14:31:43 +03:00 |
|
levlam
|
00f09dae62
|
Add td_api::premiumLimitTypeSimilarChatCount.
|
2023-11-28 14:22:08 +03:00 |
|
levlam
|
dd5bd9fff6
|
Add td_api::premiumFeatureBackgroundForBoth.
|
2023-11-28 14:11:46 +03:00 |
|
levlam
|
e51da2da32
|
Update name of premiumFeatureAccentColor.
|
2023-11-28 14:06:37 +03:00 |
|
levlam
|
16e3eb2a8a
|
Check color validness.
|
2023-11-27 18:40:02 +03:00 |
|
levlam
|
86a78f725f
|
Log updateProfileAccentColors and updateAccentColors on one line.
|
2023-11-27 18:12:06 +03:00 |
|
levlam
|
60eb989657
|
Add td_api::updateProfileAccentColors.
|
2023-11-27 18:08:45 +03:00 |
|
levlam
|
fbcd4c7198
|
Use help.getPeerColors to update accent colors.
|
2023-11-27 16:35:27 +03:00 |
|
levlam
|
d08796fade
|
Reload chat themes with other data.
|
2023-11-27 13:34:14 +03:00 |
|
levlam
|
a32b11de98
|
Delete similar chats from database when losing read access to the chat.
|
2023-11-25 21:44:54 +03:00 |
|
levlam
|
5b6c024aaa
|
Support partial lists for recommended channels.
|
2023-11-24 13:53:10 +03:00 |
|
levlam
|
f0debd7bb8
|
Don't update cooldown date with wait time if it is initialized already.
|
2023-11-24 13:28:39 +03:00 |
|
levlam
|
1e5db44c0d
|
Support telegram_api::updatePeerWallpaper.wallpaper_overridden.
|
2023-11-23 23:12:59 +03:00 |
|
levlam
|
18377ae3e7
|
Add userFullInfo.set_chat_background.
|
2023-11-23 23:08:53 +03:00 |
|
levlam
|
4d98fd1a44
|
Send updateSpeechRecognitionTrial when it resets.
|
2023-11-23 16:16:39 +03:00 |
|
levlam
|
2dd9da30be
|
Improve updateSpeechRecognitionTrial.
|
2023-11-23 15:35:54 +03:00 |
|
levlam
|
50a360c147
|
Update trial parameters after speech recognition.
|
2023-11-23 14:49:05 +03:00 |
|
levlam
|
fa6b61d764
|
Handle full messages.transcribedAudio.
|
2023-11-23 14:12:27 +03:00 |
|
levlam
|
ec109dfd4a
|
Move speech recognition to TranscriptionManager.
|
2023-11-23 13:25:56 +03:00 |
|
levlam
|
ab39c96b2c
|
Move transcription update subscription to TranscriptionManager.
|
2023-11-21 20:32:23 +03:00 |
|
levlam
|
1cdb210ed1
|
Save speech recognition trial parameters to binlog.
|
2023-11-21 20:08:05 +03:00 |
|
levlam
|
6793fa6aae
|
Add struct TrialParameters.
|
2023-11-21 19:51:07 +03:00 |
|
levlam
|
922a0428ed
|
Add TranscriptionManager::get_current_state.
|
2023-11-21 19:31:27 +03:00 |
|
levlam
|
e5f457c30f
|
Add updateSpeechRecognitionTrial.
|
2023-11-21 19:27:25 +03:00 |
|
levlam
|
a83f90448f
|
Add empty TranscriptionManager.
|
2023-11-21 15:14:26 +03:00 |
|
levlam
|
b55af58a69
|
Cache channel recommendations in database.
|
2023-11-21 14:13:06 +03:00 |
|
levlam
|
cf882ccc77
|
Add ContactsManager::are_suitable_recommended_dialogs.
|
2023-11-21 13:39:32 +03:00 |
|
levlam
|
21222604d0
|
Reload recommended chats from time to time.
|
2023-11-20 23:12:42 +03:00 |
|
levlam
|
b6bb02baad
|
Add td_api::getSimilarChats.
|
2023-11-20 22:03:21 +03:00 |
|
levlam
|
c1352603d5
|
Add recent story interactions in chat statistics.
|
2023-11-20 19:46:49 +03:00 |
|
levlam
|
72bf7f0cd7
|
Add mean reaction and story statistics.
|
2023-11-20 19:16:36 +03:00 |
|
levlam
|
e1299c8a27
|
Add td_api::messageSponsorTypeWebApp.
|
2023-11-20 14:34:56 +03:00 |
|
levlam
|
2d3f202c08
|
Add SponsoredMessage.button_text.
|
2023-11-17 15:06:20 +03:00 |
|
levlam
|
a689c8df56
|
Add Story.can_get_statistics.
|
2023-11-17 14:58:51 +03:00 |
|
levlam
|
cda21980b0
|
Add td_api::getStoryStatistics.
|
2023-11-17 14:26:51 +03:00 |
|
levlam
|
362f43303e
|
Add message reaction statistics.
|
2023-11-17 13:40:39 +03:00 |
|
levlam
|
f466628e20
|
Add reaction and story statistics for channels.
|
2023-11-17 13:38:31 +03:00 |
|
levlam
|
7ffcd56f23
|
Support telegram_api::updateChannelViewForumAsMessages updates.
|
2023-11-16 17:11:36 +03:00 |
|
levlam
|
a2b133ead5
|
Add td_api::toggleChatViewAsTopics.
|
2023-11-16 16:57:18 +03:00 |
|
levlam
|
57e9a6c5f7
|
Send updateChatDraftMessage when view_as_topics changes.
|
2023-11-16 15:19:54 +03:00 |
|
levlam
|
3261d9d72c
|
Store copy of Channel.is_forum in Dialog.
|
2023-11-16 15:04:57 +03:00 |
|
levlam
|
f13dde54a2
|
Add Chat.view_as_topics.
|
2023-11-16 13:59:32 +03:00 |
|
levlam
|
1c8205d6de
|
Add td_api::revertChatBackground.
|
2023-11-10 14:53:16 +03:00 |
|
levlam
|
aa7a0a6ee3
|
Allow to set chat background for both sides.
|
2023-11-10 14:40:14 +03:00 |
|
levlam
|
65e474ef49
|
Support telegram_api::updatePeerWallpaper.
|
2023-11-10 14:08:46 +03:00 |
|
levlam
|
b28200e0ef
|
Add messageChatSetBackground.only_for_self.
|
2023-11-10 13:55:59 +03:00 |
|
levlam
|
4f6ac3cd64
|
Ignore reply_to_message_id if set new background.
|
2023-11-10 13:45:18 +03:00 |
|
levlam
|
95304c611c
|
Support quote position for replies.
|
2023-11-10 13:29:37 +03:00 |
|
levlam
|
9207ba4c78
|
Add searchStickerSets.sticker_type.
|
2023-11-10 12:48:30 +03:00 |
|
levlam
|
9c88451e1c
|
Add td_api::messagePremiumGiveawayCompleted.
|
2023-11-09 20:28:27 +03:00 |
|
levlam
|
d20ed201b0
|
Update layer to 167.
|
2023-11-09 19:37:26 +03:00 |
|
levlam
|
1a9d769923
|
Remove unused Query class field.
|
2023-11-30 15:02:05 +03:00 |
|
levlam
|
edc7dbb038
|
Forcely preload chat in some StoryManager methods.
|
2023-11-29 20:10:48 +03:00 |
|
levlam
|
a84e46048d
|
Improve ConnectionState documentation.
|
2023-11-25 23:54:43 +03:00 |
|
levlam
|
f03ffe1d31
|
Fix singular usages of "statistics".
|
2023-11-25 23:33:09 +03:00 |
|
levlam
|
e58847a5fb
|
Allow toggleChatIsTranslatable for non-premium users.
|
2023-11-25 22:01:51 +03:00 |
|
levlam
|
14ba66fb8b
|
Explicitly disable addProxy for watchOS and Emscripten.
|
2023-11-24 00:09:36 +03:00 |
|
levlam
|
499d4eaf54
|
Minor improvements.
|
2023-11-23 08:31:56 +03:00 |
|
levlam
|
07c1d53a6d
|
Fix can_send_message_content for stickers.
|
2023-11-22 14:38:22 +03:00 |
|
levlam
|
89b0fbc8ff
|
Don't return error from recognizeSpeech for failed recognitions.
|
2023-11-21 16:16:14 +03:00 |
|
levlam
|
77d6df1437
|
Use the latest initConnection constructor.
|
2023-11-20 13:53:42 +03:00 |
|
levlam
|
3e3fe5f9bb
|
Improve ChatReactions field names.
|
2023-11-19 02:03:19 +03:00 |
|
levlam
|
ec788c7505
|
Always warn about manual quote change.
|
2023-11-18 00:06:31 +03:00 |
|
levlam
|
c847574dbf
|
Keep some allowance for truncated quote length.
|
2023-11-18 00:02:27 +03:00 |
|
levlam
|
1a70df54ca
|
Fix getChatBoosts.only_gift_codes.
|
2023-11-17 23:59:39 +03:00 |
|
levlam
|
8d1262ca6a
|
Add source to run_after_channel_difference.
|
2023-11-17 17:42:28 +03:00 |
|
levlam
|
0e8d062090
|
Fix handling of ToggleDialogIsTranslatableOnServer log events.
|
2023-11-16 16:38:59 +03:00 |
|
levlam
|
e914500eff
|
Remove stranded assignments.
|
2023-11-16 15:14:04 +03:00 |
|
levlam
|
aefbf0327f
|
tg_cli: support new lines in formatted text.
|
2023-11-16 11:58:54 +03:00 |
|
levlam
|
21ab0edef0
|
Allow empty block quotes in MarkdownV2.
|
2023-11-15 20:57:13 +03:00 |
|
levlam
|
6adce38062
|
Allow whitespace-only BlockQuote entities.
|
2023-11-15 20:29:55 +03:00 |
|
levlam
|
8cfcce6de2
|
Improve spelling in documentation.
|
2023-11-15 16:53:38 +03:00 |
|
levlam
|
15931d90e2
|
Optimize FullLocalFileLocation comparison.
|
2023-11-15 14:02:16 +03:00 |
|
levlam
|
131d96bc04
|
Optimize FullRemoteFileLocation::operator<.
|
2023-11-15 13:54:14 +03:00 |
|
levlam
|
d24af0436f
|
Improve premiumGiftCodeInfo.giveaway_message_id.
|
2023-11-14 14:45:38 +03:00 |
|
levlam
|
6c8df6fa7f
|
Improve is_content_read initialization.
|
2023-11-13 17:26:00 +03:00 |
|
levlam
|
28af2429fb
|
Use user_emoji_status_timeout_ only if last_sent_emoji_status is changed.
|
2023-11-13 15:16:16 +03:00 |
|
levlam
|
70828853e8
|
Simplify AuthManager::is_bot.
|
2023-11-13 15:07:21 +03:00 |
|
levlam
|
2a50068d7e
|
Prolong username cache only for bot usernames for bots.
|
2023-11-13 14:05:05 +03:00 |
|
levlam
|
9ab9680c21
|
Remove unneeded usernames.is_empty() checks.
|
2023-11-13 14:03:32 +03:00 |
|
levlam
|
c6d9b8f160
|
Initialize User/Chat flags first.
|
2023-11-13 13:44:15 +03:00 |
|
levlam
|
dc481550de
|
Don't get chat in on_dialog_usernames_received for bots.
|
2023-11-13 13:33:23 +03:00 |
|
levlam
|
88c05ace2c
|
Compare only identifiers for pending profile photos.
|
2023-11-13 13:19:58 +03:00 |
|
levlam
|
55bd922fed
|
Use less error-prone timeout time for channel unban.
|
2023-11-13 00:11:08 +03:00 |
|
levlam
|
413556bab7
|
Add and use MessagesManager::on_get_message_error.
|
2023-11-12 22:55:48 +03:00 |
|
levlam
|
24f74a018e
|
Correctly asynchronously destroy found_stickers_.
|
2023-11-11 09:21:07 +03:00 |
|
levlam
|
1d1d41e39e
|
Update chat background only from outgoing messages.
|
2023-11-10 18:44:25 +03:00 |
|
levlam
|
ee25630c2b
|
Delete duplicate of a just sent message before sending updateMessageSendSucceeded.
|
2023-11-10 18:43:04 +03:00 |
|
levlam
|
6ee64289f3
|
Fix MessagesManager::get_replied_message_id.
|
2023-11-09 18:23:36 +03:00 |
|
levlam
|
9184b3e62d
|
Don't warn if sticker's emoji changes.
|
2023-11-09 02:15:35 +03:00 |
|
levlam
|
a538581a4b
|
Return back is_topic_message change.
|
2023-11-09 02:06:43 +03:00 |
|
levlam
|
67f76241e9
|
Improve error logging.
|
2023-11-09 01:52:20 +03:00 |
|
levlam
|
247eff6f58
|
Fix updates logging.
|
2023-11-09 01:46:02 +03:00 |
|
levlam
|
10dda3df77
|
Expect no access to messageMediaStory's chat.
|
2023-11-09 01:42:20 +03:00 |
|
levlam
|
4ce900c5fd
|
Improve draft message emptiness check.
|
2023-11-09 01:31:24 +03:00 |
|
levlam
|
ca3173e1e1
|
Don't reload chat/channel after receiving them for the first time.
|
2023-11-09 00:15:19 +03:00 |
|
levlam
|
7039272ae8
|
Add source to reload_user/chat/channel.
|
2023-11-08 23:48:27 +03:00 |
|
levlam
|
49a75ad084
|
Add source to QueryMerger::add_query.
|
2023-11-08 23:22:18 +03:00 |
|
levlam
|
776e992c45
|
Fix calls to on_update_channel_default_permissions.
|
2023-11-08 23:16:30 +03:00 |
|
levlam
|
a7c5b80b6d
|
Use QueryMerger for getMe queries to combine them.
|
2023-11-08 17:25:41 +03:00 |
|
levlam
|
3d163e8fb2
|
Preload self user to process updateBotStopped.
|
2023-11-08 17:04:51 +03:00 |
|
levlam
|
da9afda7e6
|
Fix SessionMultiProxy::update_options.
|
2023-11-08 11:26:37 +03:00 |
|
levlam
|
c926b16896
|
Support pre-existing BlockQuote entities in parseMarkdown.
|
2023-11-07 19:40:45 +03:00 |
|
levlam
|
70fef6b592
|
Always show large document, music, and voice note files in link preview.
|
2023-11-07 17:17:07 +03:00 |
|
levlam
|
21d5184e9f
|
Improve RepliedMessageInfo::get_same_chat_reply_to_message_id.
|
2023-11-07 03:43:48 +03:00 |
|
levlam
|
1522779b97
|
Return unchecked accent color id for bots.
|
2023-11-07 03:24:57 +03:00 |
|
levlam
|
08359b46fc
|
Improve RepliedMessageInfo::get_reply_message_full_id.
|
2023-11-07 02:48:01 +03:00 |
|
levlam
|
c886e4f3c8
|
Don't get channel difference before adding messages for bots.
|
2023-11-07 02:16:36 +03:00 |
|
levlam
|
d305476cfe
|
Load only accent colors in ThemeManager constructor.
|
2023-11-07 00:17:49 +03:00 |
|
levlam
|
3870c29b15
|
Update version to 1.8.21.
|
2023-11-06 20:52:28 +03:00 |
|
levlam
|
baed5606fb
|
Prevent unloading of replied polls.
|
2023-11-06 20:37:17 +03:00 |
|
levlam
|
da461f5da2
|
Register replies for yet unsent forwarded messages with external replies.
|
2023-11-06 19:15:47 +03:00 |
|
levlam
|
ea6fa8e5d2
|
Add URL emptiness check.
|
2023-11-06 19:04:43 +03:00 |
|
levlam
|
aba3f38a2f
|
Add RepliedMessageInfo::legacy static function instead of legacy constructors.
|
2023-11-06 18:29:47 +03:00 |
|
levlam
|
e9bf274f33
|
Log if link preview is disabled, but still present.
|
2023-11-06 15:59:10 +03:00 |
|
levlam
|
d1202f84a3
|
Fix warnings.
|
2023-11-06 15:47:35 +03:00 |
|
levlam
|
32cee07888
|
Fix MessageGiveawayLaunch.
|
2023-11-06 15:30:02 +03:00 |
|
levlam
|
728e2e18ee
|
Add messageSendingStateFailed.need_drop_reply.
|
2023-11-06 15:08:28 +03:00 |
|
levlam
|
6c74ee92dd
|
Improve fields name.
|
2023-11-06 14:46:12 +03:00 |
|
levlam
|
c21c9ec87e
|
Improve field name.
|
2023-11-06 13:51:49 +03:00 |
|
levlam
|
8bd5f61ee7
|
Improve documentation spelling.
|
2023-11-06 13:31:30 +03:00 |
|
levlam
|
8228c2e7b6
|
Allow to change reply quote in resendMessages.
|
2023-11-06 13:20:16 +03:00 |
|
levlam
|
0139e73910
|
Reload replied message when receiving QUOTE_TEXT_INVALID.
|
2023-11-06 12:50:26 +03:00 |
|
levlam
|
e7f70d0e09
|
Add messageSendingStateFailed.need_another_reply_quote.
|
2023-11-06 12:42:06 +03:00 |
|
levlam
|
d0f6791777
|
Support PreCode entities in getMarkdownText.
|
2023-11-06 02:11:15 +03:00 |
|
levlam
|
000da35ad0
|
Always remove new line on the first empty line of Pre entity.
|
2023-11-06 02:03:29 +03:00 |
|
levlam
|
4983b8e9a3
|
Don't remove newline character after Pre entities.
|
2023-11-06 01:51:51 +03:00 |
|
levlam
|
c24f62d70b
|
Improve parse_markdown_v3 test.
|
2023-11-06 01:42:03 +03:00 |
|
levlam
|
8e8a7e0f18
|
Support language code specification for PreCode entities in parseMarkdown.
|
2023-11-06 00:45:24 +03:00 |
|
levlam
|
180afdec3e
|
Simplify RepliedMessageInfo.is_empty() check.
|
2023-11-05 21:51:46 +03:00 |
|
levlam
|
c8be7e5a41
|
Calculate webPage.show_large_media.
|
2023-11-04 04:12:55 +03:00 |
|
levlam
|
3b0e6420e0
|
Minor improvements.
|
2023-11-03 17:00:22 +03:00 |
|
levlam
|
43f1d6aacb
|
Early init ThemeManager.
|
2023-11-03 16:02:28 +03:00 |
|
levlam
|
9ab536efff
|
tg_cli: avoid logging in as_formatted_text.
|
2023-11-03 14:05:15 +03:00 |
|
levlam
|
682df38d96
|
Add td_api::searchQuote.
|
2023-11-03 13:51:38 +03:00 |
|
levlam
|
be63745e03
|
tg_cli: escape unused reserved characters.
|
2023-11-03 12:27:36 +03:00 |
|
levlam
|
2a9c7555be
|
Add accentColor.built_in_accent_color_id.
|
2023-11-02 23:37:42 +03:00 |
|
levlam
|
adc81fcea6
|
Fallback to default accent color for the chat.
|
2023-11-02 22:32:59 +03:00 |
|
levlam
|
00a6167952
|
Never send unknown accent color identifiers to the app.
|
2023-11-02 22:11:54 +03:00 |
|
levlam
|
25ef762e25
|
Remove class accentColorId.
|
2023-11-02 22:03:13 +03:00 |
|
levlam
|
3f8362a4bb
|
Save accent colors to binlog.
|
2023-11-02 21:52:59 +03:00 |
|
levlam
|
4489ef54aa
|
Add td_api::updateAccentColors.
|
2023-11-02 21:30:38 +03:00 |
|
levlam
|
08888d5ead
|
Don't forget old colors.
|
2023-11-02 14:25:40 +03:00 |
|
levlam
|
ab5219f546
|
Parse accent colors from appConfig.
|
2023-11-02 14:21:55 +03:00 |
|
levlam
|
7d5b4e307d
|
Add getWebPagePreview.link_preview_options.
|
2023-11-02 01:09:30 +03:00 |
|
levlam
|
c7d252bdc5
|
Ignore force_small_media if there is force_large_media.
|
2023-11-01 23:23:45 +03:00 |
|
levlam
|
e246ee7b5f
|
tg_cli: add get_link_preview_options().
|
2023-11-01 23:21:36 +03:00 |
|
levlam
|
1ca86b0c75
|
Fix message_id checks before accessing input_reply_to.
|
2023-11-01 22:39:35 +03:00 |
|
levlam
|
672981afad
|
Ignore disable_web_page_preview if there is no URL to preview.
|
2023-11-01 22:25:28 +03:00 |
|
levlam
|
a805b98211
|
Don't send BlockQuote entities to secret chats.
|
2023-11-01 22:19:31 +03:00 |
|
levlam
|
c287417b2c
|
Improve scheme comparison for hidden URLs in get_first_url.
|
2023-11-01 22:16:19 +03:00 |
|
levlam
|
d6b3a77899
|
Return Slice from get_first_url().
|
2023-11-01 22:13:29 +03:00 |
|
levlam
|
46d188e35c
|
Return full link_preview_options in messageText.
|
2023-11-01 21:55:12 +03:00 |
|
levlam
|
d5baf0fb3a
|
tg_cli: fix setChatDraftMessage.
|
2023-11-01 21:35:43 +03:00 |
|
levlam
|
37637bf9ed
|
Preload chat to which belongs the replied meessage from a draft.
|
2023-11-01 21:32:09 +03:00 |
|
levlam
|
36ce823dcc
|
Add separate flag message.can_be_replied_in_another_chat.
|
2023-11-01 18:32:55 +03:00 |
|
levlam
|
0e0d6dd5eb
|
Call hide_sender_if_needed immediately after origin creation.
|
2023-11-01 18:25:44 +03:00 |
|
levlam
|
887fd06e1c
|
Keep external replies when forwarding a message.
|
2023-11-01 17:14:35 +03:00 |
|
levlam
|
6c1fb4fe57
|
Postpone adding of draft message to loaded from database chat.
|
2023-11-01 15:19:03 +03:00 |
|
levlam
|
0bbd41a5d5
|
Store directly pending_order in Dialog.
|
2023-11-01 15:02:32 +03:00 |
|
levlam
|
97eb982ade
|
Fix get_input_message_reply_to_object.
|
2023-11-01 14:36:40 +03:00 |
|
levlam
|
95cf186fe6
|
Call on_dialog_updated and send_update_chat_draft_message independently.
|
2023-10-31 23:37:40 +03:00 |
|
levlam
|
740c001ff3
|
Add struct AddDialogData.
|
2023-10-31 23:24:28 +03:00 |
|
levlam
|
3e08601eea
|
Silence old compiler warnings.
|
2023-10-31 22:34:40 +03:00 |
|
levlam
|
0e2300e1fa
|
Add warning when reply quote changes.
|
2023-10-31 18:20:55 +03:00 |
|
levlam
|
d5d069416e
|
Apply restrictions in channel chats.
|
2023-10-31 13:54:22 +03:00 |
|
levlam
|
2ad5a86fa7
|
Fix DialogParticipantStatus::get_effective_restricted_rights().
|
2023-10-31 13:27:56 +03:00 |
|
levlam
|
9cf1afe1b0
|
Prefer original message as reply source.
|
2023-10-31 03:00:03 +03:00 |
|
levlam
|
04b431608d
|
Fix get_message_reply_to_message_object and improve documentation.
|
2023-10-31 02:38:16 +03:00 |
|
levlam
|
d6f284e8cd
|
Add td_api::getUserChatBoosts.
|
2023-10-31 01:52:26 +03:00 |
|
levlam
|
9e289e2046
|
Add chatBoost.id.
|
2023-10-31 01:14:18 +03:00 |
|
levlam
|
b2a85a5d1b
|
Add td_api::updateChatBoost.
|
2023-10-31 00:18:38 +03:00 |
|
levlam
|
50243afc9a
|
Add get_chat_boost_object function.
|
2023-10-31 00:09:48 +03:00 |
|
levlam
|
3c64604acc
|
Update layer 166 scheme.
|
2023-10-30 23:26:53 +03:00 |
|
levlam
|
6ca71be27d
|
Fix warning.
|
2023-10-30 23:17:39 +03:00 |
|
levlam
|
4648901627
|
tg_cli: support reply with quote.
|
2023-10-30 20:20:27 +03:00 |
|
levlam
|
dc930122a8
|
tg_cli: support replies in other chats.
|
2023-10-30 20:18:10 +03:00 |
|
levlam
|
8b95bde9b3
|
Globally set message reply for messages to be sent.
|
2023-10-30 19:35:03 +03:00 |
|
levlam
|
5c1b940402
|
Minor improvements.
|
2023-10-30 19:04:14 +03:00 |
|
levlam
|
4ebdd74343
|
Fix DraftMessage parsing.
|
2023-10-30 18:52:49 +03:00 |
|
levlam
|
ea450564b0
|
Add BlockQuote parsing in MarkdownV2.
|
2023-10-30 18:18:13 +03:00 |
|
levlam
|
24b09ce83d
|
Return back check_utf8 in parseTextEntities.
|
2023-10-30 16:39:24 +03:00 |
|
levlam
|
841a6b5e45
|
Use clean_input_string in searchStringsByPrefix and parseTextEntities.
|
2023-10-29 23:54:09 +03:00 |
|
levlam
|
f10bcc49cb
|
Support BlockQuote entities in textParseModeHTML.
|
2023-10-29 22:29:39 +03:00 |
|
levlam
|
5b2dd42e58
|
Init RepliedMessageInfo fields for sent replies to messages in other chats.
|
2023-10-29 22:14:41 +03:00 |
|
levlam
|
0ad0f7cdcc
|
Improve function and parameters names.
|
2023-10-29 22:05:23 +03:00 |
|
levlam
|
1b12428c9a
|
Add truncate_formatted_text function.
|
2023-10-29 21:22:25 +03:00 |
|
levlam
|
77fa45c72c
|
Add MessagesManager::get_message_forward_origin.
|
2023-10-29 20:40:36 +03:00 |
|
levlam
|
9a66b6ec5c
|
Disallow quotes and replies in other chats in secret chats.
|
2023-10-29 20:08:59 +03:00 |
|
levlam
|
c38bb8c51a
|
Drop message_id for outgoing replies in private chats.
|
2023-10-29 14:25:42 +03:00 |
|
levlam
|
23c42e937a
|
Add and use MessageInputReplyTo::add_dependencies.
|
2023-10-29 11:26:21 +03:00 |
|
levlam
|
456d2342bf
|
Add td_api::premiumFeatureAccentColor.
|
2023-10-29 03:20:29 +03:00 |
|
levlam
|
7f5b50db9b
|
Disallow to reply unknown messages in another chat.
|
2023-10-29 02:05:08 +03:00 |
|
levlam
|
b2b665e8d6
|
Remove unallowed reply quote entities.
|
2023-10-29 01:25:21 +03:00 |
|
levlam
|
7f5da4b5c5
|
Don't allow to reply in another chat non-forwardable messages.
|
2023-10-29 01:05:55 +03:00 |
|
levlam
|
0737f3b741
|
Support link preview in reply media content.
|
2023-10-29 00:57:50 +03:00 |
|
levlam
|
6e217d1aac
|
Add inputMessageReplyToMessage.chat_id.
|
2023-10-29 00:50:33 +03:00 |
|
levlam
|
25eebd3d6f
|
Update default option value.
|
2023-10-28 22:38:57 +03:00 |
|
levlam
|
eec35cf63e
|
Init reply_to_random_id for scheduled messages.
|
2023-10-28 22:21:13 +03:00 |
|
levlam
|
ac7e48351e
|
Inline is_same_chat_reply.
|
2023-10-28 21:11:24 +03:00 |
|
levlam
|
8a17168315
|
Disable separate notification for messageGiveawayLaunch.
|
2023-10-28 20:46:14 +03:00 |
|
levlam
|
8adea20fd3
|
Keep quote when forwarding replies.
|
2023-10-27 14:33:15 +03:00 |
|
levlam
|
e86539c015
|
Support story sender channel in get_message_content_min_channel_ids.
|
2023-10-27 14:04:09 +03:00 |
|
levlam
|
012211ea19
|
Pass MessageInputReplyTo to set_message_reply.
|
2023-10-27 13:33:00 +03:00 |
|
levlam
|
ec231f0c99
|
Add inputMessageReplyToMessage.quote.
|
2023-10-27 13:06:38 +03:00 |
|
levlam
|
d43fd3beb3
|
Disallow MessageInputReplyTo copying.
|
2023-10-27 03:37:26 +03:00 |
|
levlam
|
6517d6b9db
|
Don't copy get_message_input_reply_to return value.
|
2023-10-27 03:27:03 +03:00 |
|
levlam
|
a92b2fec1d
|
Make MessageInputReplyTo fields private.
|
2023-10-27 03:03:52 +03:00 |
|
levlam
|
adad6d6984
|
Add "message_reply_quote_length_max" option.
|
2023-10-27 02:21:29 +03:00 |
|
levlam
|
84edd20cfd
|
Support messageOriginChannel in replied message info.
|
2023-10-27 02:18:49 +03:00 |
|
levlam
|
10e2decf4b
|
Add and use RepliedMessageInfo::get_file_ids.
|
2023-10-27 01:50:32 +03:00 |
|
levlam
|
d8430c5681
|
Add and use WebPagesManager::get_web_page_channel_ids.
|
2023-10-27 01:44:11 +03:00 |
|
levlam
|
5b9731a974
|
Support RepliedMessageInfo in *FromMessage.
|
2023-10-27 01:41:15 +03:00 |
|
levlam
|
9260d38618
|
Support giveaway channels in *ChannelFromMessage.
|
2023-10-27 00:34:33 +03:00 |
|
levlam
|
11c20c0417
|
Add messagePremiumGiveaway.sticker.
|
2023-10-26 23:22:53 +03:00 |
|
levlam
|
8128c6e079
|
Reget message if reply contains MessageUnsupported.
|
2023-10-26 23:16:06 +03:00 |
|
levlam
|
e50a3ce18c
|
Add messageReplyToMessage.content.
|
2023-10-26 22:53:25 +03:00 |
|
levlam
|
e113fb47f1
|
Add compare_message_contents function.
|
2023-10-26 18:50:16 +03:00 |
|
levlam
|
72c29377b7
|
Add messageReplyToMessage.origin.
|
2023-10-26 16:43:28 +03:00 |
|
levlam
|
10c9e400d3
|
Rename MessageForwardOrigin to MessageOrigin.
|
2023-10-26 16:26:52 +03:00 |
|
levlam
|
a953ef7225
|
Add messageReplyToMessage.send_date.
|
2023-10-26 16:14:43 +03:00 |
|
levlam
|
f0d166cbdc
|
Add messageReplyToMessage.quote.
|
2023-10-26 15:52:42 +03:00 |
|
levlam
|
3531481591
|
Store RepliedMessageInfo in Message.
|
2023-10-26 14:51:32 +03:00 |
|
levlam
|
e791c98757
|
Support RepliedMessageInfo logging.
|
2023-10-26 01:11:36 +03:00 |
|
levlam
|
d839e5b68c
|
Add RepliedMessageInfo::need_reply_changed_warning.
|
2023-10-26 01:01:22 +03:00 |
|
levlam
|
75d9abc388
|
Add RepliedMessageInfo::add_dependencies.
|
2023-10-25 17:44:24 +03:00 |
|
levlam
|
944bb24e51
|
Add RepliedMessageInfo(MessageInputReplyTo) constructor.
|
2023-10-25 17:37:28 +03:00 |
|
levlam
|
fc3dfbe3c0
|
Add RepliedMessageInfo::get_message_reply_to_message_object.
|
2023-10-25 17:24:24 +03:00 |
|
levlam
|
e4ffed5752
|
Move other reply_to_message_id checks to ReplyHeader parsing.
|
2023-10-25 16:46:17 +03:00 |
|
levlam
|
bd923a36eb
|
Check top_thread_message_id during object parsing.
|
2023-10-25 16:14:36 +03:00 |
|
levlam
|
27b9ad4526
|
Store MessageInputReplyTo in Message.
|
2023-10-25 13:07:25 +03:00 |
|
levlam
|
5216ea1d01
|
Use InputMessageReplyTo in draftMessage.
|
2023-10-25 02:07:37 +03:00 |
|
levlam
|
cfff600a44
|
Add MessageInputReplyTo::get_reply_message_full_id.
|
2023-10-24 19:03:10 +03:00 |
|
levlam
|
4425eadc3c
|
Pass default DialogId to get_reply_message_full_id.
|
2023-10-24 18:54:32 +03:00 |
|
levlam
|
2d7b2b4545
|
Simplify RepliedMessageInfo field names.
|
2023-10-24 16:34:54 +03:00 |
|
levlam
|
82b9f21cec
|
Make RepliedMessageInfo fields private.
|
2023-10-24 15:55:52 +03:00 |
|
levlam
|
d7a6e74bea
|
Add "premium_gift_boost_count" option.
|
2023-10-24 15:34:22 +03:00 |
|
levlam
|
3e6ca71036
|
Don't store empty text in InputMessageText.
|
2023-10-24 15:09:22 +03:00 |
|
levlam
|
017d1a531d
|
Add MessageInputReplyTo storer/parser.
|
2023-10-24 15:02:57 +03:00 |
|
levlam
|
a213820013
|
Add RepliedMessageInfo parser and storer.
|
2023-10-24 14:06:49 +03:00 |
|
levlam
|
cb70dd7831
|
Add class RepliedMessageInfo.
|
2023-10-24 12:04:45 +03:00 |
|
levlam
|
abca2962f2
|
Parse new MessageReplyHeader.
|
2023-10-23 20:54:47 +03:00 |
|
levlam
|
4027e73309
|
Support only_preview in sendInlineQueryResultMessage.
|
2023-10-23 18:58:53 +03:00 |
|
levlam
|
2c464baae1
|
Support only_preview in sendMessage.
|
2023-10-23 18:47:31 +03:00 |
|
levlam
|
faf964a10d
|
Move only_preview to messageSendOptions.
|
2023-10-23 18:40:55 +03:00 |
|
levlam
|
d9d3d492ff
|
Add messagePremiumGiftCode.is_unclaimed.
|
2023-10-23 17:37:54 +03:00 |
|
levlam
|
2bbb0ed0ec
|
Add linkPreviewOptions.show_above_text.
|
2023-10-22 00:50:19 +03:00 |
|
levlam
|
cb51944cb7
|
Add webPage.show_above_text.
|
2023-10-21 21:33:46 +03:00 |
|
levlam
|
d32319cf75
|
Fix sign/unsigned comparison warnings.
|
2023-10-21 03:20:18 +03:00 |
|
levlam
|
6106b5fd4b
|
Use explicit cast.
|
2023-10-21 03:19:01 +03:00 |
|
levlam
|
216b4833dd
|
Return ChatBoostSlots from boostChat.
|
2023-10-21 01:41:05 +03:00 |
|
levlam
|
4f4537ba33
|
Add td_api::getAvailableChatBoostSlots.
|
2023-10-21 01:24:25 +03:00 |
|
levlam
|
de3aebd011
|
Allow to pass list of slots to boostChat.
|
2023-10-20 23:28:09 +03:00 |
|
levlam
|
00ac941e64
|
Add chatBoostStatus.gift_code_boost_count.
|
2023-10-20 23:18:16 +03:00 |
|
levlam
|
cfb802eb9d
|
Return all applied slots in getChatBoostStatus.
|
2023-10-20 23:11:45 +03:00 |
|
levlam
|
18df460fd7
|
Allow invalid giveaway message identifier in boost list.
|
2023-10-20 21:21:14 +03:00 |
|
levlam
|
ac64cf9b45
|
Add getChatBoosts.only_gift_codes.
|
2023-10-20 15:28:59 +03:00 |
|
levlam
|
8d25f6f1d9
|
Improve td_api::chatBoost.
|
2023-10-20 15:00:50 +03:00 |
|
levlam
|
43e210dbc8
|
Support AccentColor in MinChannel.
|
2023-10-20 12:25:58 +03:00 |
|
levlam
|
24c84398ee
|
Add stickerSetInfo.needs_repainting.
|
2023-10-19 23:06:55 +03:00 |
|
levlam
|
21ef7d0f6c
|
Disallow restricted member status in channels.
|
2023-10-19 22:37:44 +03:00 |
|
levlam
|
80d8e9336f
|
Reuse generic DialogParticipantStatus::Administrator constructor.
|
2023-10-19 18:11:15 +03:00 |
|
levlam
|
8068507675
|
Move boost-related methods to BoostManager.
|
2023-10-19 16:38:40 +03:00 |
|
levlam
|
cbfdf3c9a9
|
Add empty BoostManager.
|
2023-10-19 16:25:51 +03:00 |
|
levlam
|
5def3f2c88
|
Add pageBlockChatLink.accent_color_id.
|
2023-10-19 16:16:44 +03:00 |
|
levlam
|
81bdd4294b
|
Remove td_api::canBoostChat.
|
2023-10-19 15:46:09 +03:00 |
|
levlam
|
edc3e4c18a
|
Add chatInviteLinkInfo.accent_color_id_.
|
2023-10-19 15:40:55 +03:00 |
|
levlam
|
8a7322cef2
|
Add td_api::getDefaultBackgroundCustomEmojiStickers.
|
2023-10-19 15:23:04 +03:00 |
|
levlam
|
40017310dd
|
Simplify MessageContent object creation.
|
2023-10-19 13:59:18 +03:00 |
|
levlam
|
77cf5262b4
|
Add check for entities being sorted.
|
2023-10-19 13:47:41 +03:00 |
|
levlam
|
88199d1865
|
Skip confirmation in link preview opening for visible URLs.
|
2023-10-19 13:20:48 +03:00 |
|
levlam
|
4194d9478b
|
Add webPage.skip_confirmation.
|
2023-10-19 13:03:27 +03:00 |
|
levlam
|
f78bc2ae32
|
Add td_api::setChatAccentColor.
|
2023-10-18 19:43:14 +03:00 |
|
levlam
|
6ec7ab73e5
|
Add "giveaway_duration_max" option.
|
2023-10-18 18:28:55 +03:00 |
|
levlam
|
7eec2eb54b
|
Add "giveaway_boost_count_per_premium" option.
|
2023-10-18 18:25:42 +03:00 |
|
levlam
|
c249fe39af
|
Add "channel_custom_accent_color_boost_level_min" option.
|
2023-10-18 18:22:54 +03:00 |
|
levlam
|
28bdceaaef
|
Add td_api::setAccentColor.
|
2023-10-18 17:56:45 +03:00 |
|
levlam
|
74fc996843
|
tg_cli: add class CustomEmojiId.
|
2023-10-18 16:48:18 +03:00 |
|
levlam
|
372f505d71
|
Support optional accent color.
|
2023-10-18 16:23:04 +03:00 |
|
levlam
|
7df8a8f3d0
|
Support user/chat.background_custom_emoji_id.
|
2023-10-18 15:59:25 +03:00 |
|
levlam
|
364b058508
|
Ignore invalid accent colors.
|
2023-10-18 13:33:44 +03:00 |
|
levlam
|
20de4b3135
|
Remove get_message_content_object parameter.
|
2023-10-17 16:20:45 +03:00 |
|
levlam
|
1b49787c88
|
Support accent color in channels.
|
2023-10-17 15:20:50 +03:00 |
|
levlam
|
dd6fd86637
|
Add chat.accentColorId.
|
2023-10-17 15:09:57 +03:00 |
|
levlam
|
b07818c160
|
Add user.accent_color_id.
|
2023-10-17 14:23:42 +03:00 |
|
levlam
|
22e4b0d641
|
Add class AccentColorId.
|
2023-10-17 13:52:04 +03:00 |
|