Commit Graph

9634 Commits

Author SHA1 Message Date
levlam
c21c9ec87e Improve field name. 2023-11-06 13:51:49 +03:00
levlam
4985931f5c Document that giveaways can't be copied. 2023-11-06 13:41:24 +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
5455a0f681 Fix messageOriginChat documentation. 2023-11-05 13:56:37 +03:00
levlam
c8be7e5a41 Calculate webPage.show_large_media. 2023-11-04 04:12:55 +03:00
levlam
44492c69f5 Fix return type of searchQuote. 2023-11-03 23:31:04 +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
0621514356 Add mentions of BlockQuote entities to documentation. 2023-11-01 23:27:35 +03:00
levlam
2669b48235 Document that message text can be empty. 2023-11-01 23:25:01 +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
6f4bb7d099 Improve updateChatLastMessage documentation. 2023-11-01 21:43:46 +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