Commit Graph

467 Commits

Author SHA1 Message Date
levlam
253d3acddc Support quote position in reply parameters. 2024-02-03 11:43:55 +01:00
levlam
5dce30bc20 Add class TextQuote. 2024-02-03 11:43:55 +01:00
levlam
aa0f369132 Update TDLib to 1.8.22. 2024-02-03 11:43:55 +01:00
levlam
de0d0ad75d Support chat in ReplyParameters. 2024-02-03 11:43:55 +01:00
David Guillen Fandos
94bfd307f8 Rebase: Support quote in ReplyParameters. 2024-02-03 11:43:50 +01:00
levlam
19a7da41b2 Improve error message. 2024-02-03 11:42:10 +01:00
David Guillen Fandos
e117cfa33f Rebase: Add class ReplyParameters and fields "reply_parameters". 2024-02-03 11:42:02 +01:00
David Guillen Fandos
1084ebd5c8 Rebase: Add Client::check_reply_parameters. 2024-02-03 11:37:40 +01:00
David Guillen Fandos
49df33acd7 Rebase: Simplify JsonChat usage. 2024-02-03 11:28:37 +01:00
levlam
4b13a450ae Add Message.quote and Message.quote_entities. 2024-02-03 11:24:11 +01:00
levlam
ab0f7878bb Add Message.external_reply. 2024-02-03 11:24:11 +01:00
levlam
a7f7cd0a7d Add Message.forward_origin. 2024-02-03 11:24:11 +01:00
levlam
05d9cd05b7 Store td_api::MessageOrigin in MessageInfo. 2024-02-03 11:24:11 +01:00
levlam
c3999a2144 Add message.link_preview_options. 2024-02-03 11:24:11 +01:00
levlam
ad84bfc214 Allow to specify link preview options for sent text messages. 2024-02-03 11:24:11 +01:00
levlam
34f9b8a860 Add getUserChatBoosts. 2024-02-03 11:24:11 +01:00
David Guillen Fandos
121e2d8a18 Rebase: Add "chat_boost" and "removed_chat_boost" updates. 2024-02-03 11:23:59 +01:00
levlam
d02a9fe5c3 Add Chat.background_custom_emoji_id. 2024-02-03 11:21:08 +01:00
levlam
a2a226ac42 Add Chat.accent_color_id. 2024-02-03 11:21:08 +01:00
levlam
0da8d14430 Add Chat.has_visible_history. 2024-02-03 11:21:08 +01:00
David Guillen Fandos
d7d127430f Rebase: Simplify update*FullInfo handling. 2024-02-03 11:21:00 +01:00
levlam
c57bb6830b Add Message.giveaway. 2024-02-03 11:17:36 +01:00
levlam
80406b7028 Add Message.giveaway_created. 2024-02-03 11:17:36 +01:00
levlam
8fe04fc33a Support td_api::textEntityTypeBlockQuote. 2024-02-03 11:17:36 +01:00
levlam
1a34273163 Add Client::get_same_chat_reply_to_message_id(const MessageInfo *message_info). 2024-02-03 11:17:36 +01:00
Andrea Cavalli
8990b79e9e
Merge pull request #84 from a5r0n/official-upstream-update
Official upstream update
2023-12-17 19:49:10 +01:00
a5r0n
a35ff4543b
fix merge conflicts 2023-12-16 22:29:04 +02:00
a5r0n
c24c0a2dae
Merge remote-tracking branch 'official-upstream/master' into official-upstream-update 2023-12-15 15:16:35 +02:00
a5r0n
bf66a41987
fix: fix no_file_limit typo 2023-12-15 11:58:46 +02:00
levlam
96d0d1c668 Update version to 6.9.2. 2023-11-09 02:32:21 +03:00
levlam
0566e21f93 Keep reply to the top thread message for external replies. 2023-11-05 22:08:06 +03:00
levlam
34ed6c3512 Store td_api::messageReplyToMessage in MessageInfo. 2023-11-05 21:54:58 +03:00
levlam
9447ce07ea Minor improvements. 2023-11-04 02:39:57 +03:00
levlam
f169ae654c Slowly recheck webhook IP addresses after loading them from database. 2023-11-01 23:01:08 +03:00
levlam
9a7a293a84 Update TDLib to 1.8.21. 2023-10-31 03:10:35 +03:00
levlam
d836f78e41 Log skipped updates. 2023-10-23 11:53:20 +03:00
levlam
f15bc7396e Update TDLib to 1.8.20. 2023-10-13 01:15:42 +03:00
levlam
9c413c7f11 Maintain last time when a file was uploaded for all requests. 2023-09-25 19:39:51 +03:00
levlam
5d88023dd1 Update TDLib and version to 6.9.1. 2023-09-23 16:39:14 +03:00
levlam
9e7b09ff0a Update version to 6.9. 2023-09-22 16:23:26 +03:00
levlam
d5783a1545 Add more fields to WriteAccessAllowed. 2023-09-19 20:37:10 +03:00
levlam
2b43e08dca Support "can_post_stories", "can_edit_stories" and "can_delete_stories" administrator rights. 2023-09-19 19:37:24 +03:00
levlam
11d19baa2e Update TDLib to 1.8.19. 2023-09-19 19:26:43 +03:00
levlam
df1fe4c05f Fail request early if message/caption/explanation text is too long. 2023-09-14 19:11:12 +03:00
levlam
1ec733a3f8 Don't update CPU statistics before returning it to avoid synchronous open of "/proc/stat". 2023-09-14 16:57:28 +03:00
levlam
4e8ba65838 Update TDLib to 1.8.18. 2023-09-13 23:14:57 +03:00
levlam
e58e8d3989 Improve query logging. 2023-09-08 18:09:08 +03:00
levlam
95ff757c73 Immediately return an error if more than 50 inline query results are provided. 2023-09-06 18:48:41 +03:00
levlam
70670d7217 Explicitly disallow message updates with "channel_chat_created" content. 2023-09-06 17:06:21 +03:00
levlam
18b5f287f7 Update CPU statistics on a dedicated thread. 2023-09-03 01:03:53 +03:00