Commit Graph

9523 Commits

Author SHA1 Message Date
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
d63caeb8d0 Improve gift_code_boost_count documentation. 2023-10-25 18:00:53 +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