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 |
|
levlam
|
02b87ef1f3
|
Add chatEventReplyBackgroundCustomEmojiChanged.
|
2023-10-17 13:11:12 +03:00 |
|
levlam
|
38baaf4953
|
Add td_api::chatEventAccentColorChanged.
|
2023-10-17 12:58:01 +03:00 |
|
levlam
|
ba15f3e1ef
|
Add InputMessageText::add_dependencies.
|
2023-10-17 12:31:01 +03:00 |
|
levlam
|
8552180f0d
|
Add Message.invert_media flag.
|
2023-10-17 12:27:26 +03:00 |
|
levlam
|
72cb3665b4
|
Allow empty text witn non-empty link preview.
|
2023-10-17 02:07:40 +03:00 |
|
levlam
|
af2f07a1d7
|
Support telegram_api::botInlineMessageMediaWebPage.
|
2023-10-17 01:55:37 +03:00 |
|
levlam
|
ac96bd439d
|
Support inputBotInlineMessageMediaWebPage.
|
2023-10-17 01:49:13 +03:00 |
|
levlam
|
e556ed04a0
|
Add ContactsManager::can_use_premium_custom_emoji.
|
2023-10-17 01:25:58 +03:00 |
|
levlam
|
cc08225d30
|
Always use the first URL as web_page_url in secret chats.
|
2023-10-17 00:37:44 +03:00 |
|
levlam
|
c6a4510779
|
Clear web_page_url in outgoing messages if preview is disabled.
|
2023-10-17 00:08:50 +03:00 |
|
levlam
|
6917503e5e
|
Remove WebPagesManager::get_secret_input_media.
|
2023-10-16 23:18:43 +03:00 |
|
levlam
|
4f6f976e50
|
Log if expected web_page_url isn't found.
|
2023-10-16 23:09:17 +03:00 |
|
levlam
|
b0df339750
|
Ignore force_*_media if url isn't specified exlicitly.
|
2023-10-16 23:06:48 +03:00 |
|
levlam
|
cdedb9ee1f
|
Return web_page_url in messageText.
|
2023-10-16 22:33:53 +03:00 |
|
levlam
|
a495429a9b
|
Improve URL to WebPageId correspondence.
|
2023-10-16 21:41:43 +03:00 |
|
levlam
|
98ca07b9c5
|
Improve variable names.
|
2023-10-16 21:18:41 +03:00 |
|
levlam
|
19367e78db
|
Move get_input_message_text_object inside InputMessageText class.
|
2023-10-16 20:56:28 +03:00 |
|
levlam
|
b9e7c8d7da
|
Use messages.sendMedia to send text messages with custom URLs.
|
2023-10-16 20:41:39 +03:00 |
|
levlam
|
d16fc8294c
|
Add td_api::linkPreviewOptions.
|
2023-10-16 20:12:33 +03:00 |
|
levlam
|
77faddc76f
|
Add WebPagesManager::get_web_page_url.
|
2023-10-16 19:37:40 +03:00 |
|
levlam
|
104727cb75
|
Add webPage.force_*_media flags.
|
2023-10-16 17:36:45 +03:00 |
|
levlam
|
8185dbfecc
|
Add messageText.is_web_page_preview_manually_chosen.
|
2023-10-16 17:02:06 +03:00 |
|
levlam
|
8d55df14a0
|
Support web page flags in messageMediaWebPage.
|
2023-10-16 16:47:22 +03:00 |
|
levlam
|
d261743f91
|
Add WebPage.has_large_media.
|
2023-10-16 16:02:18 +03:00 |
|
levlam
|
84d628f05d
|
Add td_api::messagePremiumGiveawayCreated.
|
2023-10-16 11:31:11 +03:00 |
|
levlam
|
294538ec5b
|
Disallow copying of Giveaway messages.
|
2023-10-14 22:04:47 +03:00 |
|
levlam
|
cae7ba79ed
|
Add sticker to messagePremiumGiftCode.
|
2023-10-13 16:06:55 +03:00 |
|
levlam
|
a6f0260cf2
|
Add "giveaway_country_count_max" option.
|
2023-10-13 14:06:05 +03:00 |
|
levlam
|
e24f68a4ff
|
Add "giveaway_additional_chat_count_max" option.
|
2023-10-13 13:39:14 +03:00 |
|
levlam
|
129a04b24d
|
Add pushMessageContentPremiumGiveaway.
|
2023-10-13 13:28:01 +03:00 |
|
levlam
|
ce5f63c5aa
|
Add pushMessageContentPremiumGiftCode.
|
2023-10-13 13:11:13 +03:00 |
|
levlam
|
580e856f44
|
Support giveaway forwarding.
|
2023-10-13 12:47:34 +03:00 |
|
levlam
|
4ef53487dc
|
Add creation_date to information about giveaway.
|
2023-10-13 11:57:43 +03:00 |
|
levlam
|
98b14b7326
|
Add premiumGiveawayParticipantStatusDisallowedCountry.
|
2023-10-13 11:48:10 +03:00 |
|
levlam
|
d85182e5d0
|
Improve premiumGiveawayParameters field name.
|
2023-10-13 11:38:22 +03:00 |
|
levlam
|
f31635e9a8
|
Support country code restrictions for giveaways.
|
2023-10-12 18:58:40 +03:00 |
|
levlam
|
5d80e3db72
|
Add td_api::launchPrepaidPremiumGiveaway.
|
2023-10-12 18:19:08 +03:00 |
|
levlam
|
2a46d463e0
|
tg_cli: add PremiumGiveawayParameters.
|
2023-10-12 17:58:48 +03:00 |
|
levlam
|
3dea942078
|
Add td_api::premiumGiveawayParameters.
|
2023-10-12 17:05:03 +03:00 |
|
levlam
|
c2d5ca2d3f
|
Allow to get the list of prepaid Premium giveaways.
|
2023-10-10 14:11:59 +03:00 |
|
levlam
|
9a339166a2
|
Add td_api::getPremiumGiveawayInfo.
|
2023-10-06 18:28:02 +03:00 |
|
levlam
|
3e487253c7
|
Use separate constructors for MessageInputReplyTo.
|
2023-10-06 13:05:50 +03:00 |
|
levlam
|
811a7c60e1
|
Add separate td_api::InputMessageReplyTo.
|
2023-10-06 11:58:05 +03:00 |
|
levlam
|
3e3b4e8aa6
|
Remove legacy supports_settings fields.
|
2023-10-04 17:24:52 +03:00 |
|
levlam
|
a98a9fb971
|
Add td_api::inputInvoiceTelegram.
|
2023-10-03 18:27:56 +03:00 |
|
levlam
|
e608fdca7b
|
Add td_api::textEntityTypeBlockQuote.
|
2023-10-02 23:23:45 +03:00 |
|
levlam
|
84676f04a6
|
Add more colors to themeParameters.
|
2023-10-02 22:31:34 +03:00 |
|
levlam
|
d20ddeb65c
|
Add td_api::messagePremiumGiveaway.
|
2023-09-30 00:32:39 +03:00 |
|
levlam
|
1ebbd360db
|
Add td_api::messagePremiumGiftCode.
|
2023-09-29 17:55:03 +03:00 |
|
levlam
|
b4609e910a
|
Add td_api::internalLinkTypePremiumGiftCode.
|
2023-09-29 16:44:59 +03:00 |
|
levlam
|
acb9da43a7
|
Add td_api::storePaymentPurposePremiumGiveaway.
|
2023-09-29 15:52:23 +03:00 |
|
levlam
|
c98c778b08
|
Add td_api::applyPremiumGiftCode.
|
2023-09-28 22:35:57 +03:00 |
|
levlam
|
4bd27a1516
|
Add td_api::checkPremiumGiftCode.
|
2023-09-28 22:21:25 +03:00 |
|
levlam
|
ca1ae47242
|
Add td_api::getPremiumGiftCodePaymentOptions.
|
2023-09-28 21:26:33 +03:00 |
|
levlam
|
4be2d8cbe5
|
Add get_boost_input_peer function.
|
2023-09-28 21:09:49 +03:00 |
|
levlam
|
fa04b6f280
|
Add storePaymentPurposePremiumGiftCodes.
|
2023-09-28 17:54:03 +03:00 |
|
levlam
|
bd36f48054
|
Update layer to 166.
|
2023-09-28 16:13:36 +03:00 |
|
levlam
|
9c9c1bb51c
|
Minor improvements.
|
2023-10-28 00:06:56 +03:00 |
|
levlam
|
7097b2bf5b
|
Fix index type.
|
2023-10-27 23:14:52 +03:00 |
|
levlam
|
c031818156
|
Fix available reactions check.
|
2023-10-26 10:30:01 +03:00 |
|
levlam
|
87f7cdd69f
|
Store MessageFullId in replied_yet_unsent_messages_.
|
2023-10-25 03:02:26 +03:00 |
|
levlam
|
f0382d8789
|
Add source to get_chat_member_object.
|
2023-10-24 15:17:18 +03:00 |
|
levlam
|
7152a5c2e1
|
Never change result of is_from_mention_notification_group.
|
2023-10-23 17:02:44 +03:00 |
|
levlam
|
f2345d4fcc
|
Remove redundant actor name from log messages.
|
2023-10-23 15:57:36 +03:00 |
|
levlam
|
9de5b27db2
|
Destroy auth keys in non-inited internal DCs.
|
2023-10-23 15:45:38 +03:00 |
|
levlam
|
f2114f34f5
|
Add DcId::MAX_RAW_DC_ID.
|
2023-10-23 15:40:57 +03:00 |
|
levlam
|
d5f7423b52
|
Add static AuthDataShared::get_auth_key_for_dc().
|
2023-10-23 15:26:52 +03:00 |
|
levlam
|
4786d1a931
|
Forcely disable multiple sessions and PFS while destroying auth key.
|
2023-10-23 14:58:12 +03:00 |
|
levlam
|
9fdc48ac2d
|
Don't use promise emptiness to check that auth keys are being destroyed.
|
2023-10-23 14:12:25 +03:00 |
|
levlam
|
66757e2511
|
Improve field names.
|
2023-10-23 14:10:39 +03:00 |
|
levlam
|
0db2644011
|
Remove unused constructor parameter.
|
2023-10-23 14:05:50 +03:00 |
|
levlam
|
29d7916e4d
|
Disallow unneeded canceling of destroy_auth_key.
|
2023-10-23 14:00:22 +03:00 |
|
levlam
|
8c10e893c0
|
Remove unused functions from SessionConnection::Callback.
|
2023-10-23 13:08:45 +03:00 |
|
levlam
|
1f66cc7b14
|
Unconditionally return status to recreate connection.
|
2023-10-23 12:51:50 +03:00 |
|
levlam
|
996ad86984
|
Fix reaction showing for anonymous administrators.
|
2023-10-23 11:07:03 +03:00 |
|
levlam
|
605a3af4b2
|
Add and use td::any_of.
|
2023-10-21 20:41:31 +03:00 |
|
levlam
|
687c6c40c2
|
Reload message views more often for newer messages.
|
2023-10-20 22:33:15 +03:00 |
|
levlam
|
deda76beda
|
Poll at most last 25 viewed messages.
|
2023-10-20 21:30:09 +03:00 |
|
levlam
|
74396f65a1
|
Add class StickerListType.
|
2023-10-19 15:12:26 +03:00 |
|
levlam
|
df1e95a57d
|
Mark that td_api::getDefault*Stickers are allowed only for users.
|
2023-10-19 14:16:33 +03:00 |
|
levlam
|
cabdd047b9
|
Don't update pts_diff on PTS initialization.
|
2023-10-19 11:51:33 +03:00 |
|
AYMEN Mohammed
|
50c3bf2e4f
|
Fix typos. (#2641)
|
2023-10-18 19:12:31 +03:00 |
|
levlam
|
6c0722ed2e
|
Mark that td_api::setChatMessageAutoDeleteTime is allowed only for users.
|
2023-10-18 19:08:28 +03:00 |
|
levlam
|
f441415da2
|
Allow to react anonymous group creator on behalf of a supergroup.
|
2023-10-16 10:35:47 +03:00 |
|
levlam
|
4c64a7522c
|
Disallow reactions by anonymous administrators.
|
2023-10-16 10:21:21 +03:00 |
|
levlam
|
1c588eda01
|
Minor improvements.
|
2023-10-15 01:20:09 +03:00 |
|
levlam
|
90fd69b202
|
Add UpdatesManager::is_acceptable_message_media.
|
2023-10-14 22:48:16 +03:00 |
|
levlam
|
7a6d6cf492
|
Fix max_proxy_id_ initialization.
|
2023-10-14 03:06:01 +03:00 |
|
levlam
|
8a711b56d9
|
Limit the number of ignored updates before end of the first get difference.
|
2023-10-14 03:00:54 +03:00 |
|
levlam
|
f098853eb5
|
Add descriptions for MessageContentDupType values.
|
2023-10-14 02:49:50 +03:00 |
|
levlam
|
8abe652785
|
Don't allow forward of stories to secret chats.
|
2023-10-14 02:47:49 +03:00 |
|
levlam
|
4ed0b23c9c
|
Update version to 1.8.20.
|
2023-10-13 00:45:38 +03:00 |
|
levlam
|
12ffa253b3
|
Remove empty stored proxy from binlog.
|
2023-10-12 23:48:40 +03:00 |
|
levlam
|
eed6e0bba6
|
Don't try to init proxies if they have never been added.
|
2023-10-12 23:41:46 +03:00 |
|
levlam
|
93ddc9c3db
|
Remove support for dropping old PMC-based chat database.
|
2023-10-12 23:14:17 +03:00 |
|
levlam
|
97a401cd04
|
Don't use slow BinlogKeyValue::erase_by_prefix for bots on each start.
|
2023-10-12 22:53:12 +03:00 |
|
levlam
|
861f0edab4
|
Replace TopDialogManager.is_active_ with !is_bot().
|
2023-10-12 22:30:28 +03:00 |
|
levlam
|
6b576bb2e3
|
Don't postpone updates for bots before first getDifference.
|
2023-10-12 19:26:18 +03:00 |
|
levlam
|
8d2d01abcc
|
Always postpone updateChatLastMessage in getCurrentState.
|
2023-10-11 00:28:56 +03:00 |
|
levlam
|
844e6f2bfb
|
Pass source as pointer to on_update_message_id.
|
2023-10-10 23:47:28 +03:00 |
|
levlam
|
367b2af164
|
Make MessageOrigin fields private.
|
2023-10-09 21:29:23 +03:00 |
|
levlam
|
94f72a026c
|
Inline last usage of MessagesManager::is_forward_info_sender_hidden.
|
2023-10-09 21:27:14 +03:00 |
|
levlam
|
21068870f0
|
Add MessageOrigin::hide_sender_if_needed.
|
2023-10-09 21:24:22 +03:00 |
|
levlam
|
b10220a495
|
Add MessageOrigin::has_sender_signature().
|
2023-10-09 21:16:06 +03:00 |
|
levlam
|
ae6e8b5a91
|
Add MessageOrigin::get_sender_name().
|
2023-10-09 21:10:09 +03:00 |
|
levlam
|
9e82513802
|
Add and use MessageOrigin::get_message_full_id.
|
2023-10-09 20:44:44 +03:00 |
|
levlam
|
7b1408d44e
|
Add and use MessageOrigin::get_sender.
|
2023-10-09 20:06:23 +03:00 |
|
levlam
|
8da2eba168
|
Add MessageOrigin::add_user_ids/add_channel_ids.
|
2023-10-09 19:20:53 +03:00 |
|
levlam
|
c05b5ba3e5
|
Add MessageOrigin::add_dependencies.
|
2023-10-09 18:56:21 +03:00 |
|
levlam
|
c86d4d1036
|
Add class MessageOrigin.
|
2023-10-09 18:48:01 +03:00 |
|
levlam
|
d9d3697987
|
Remove imported check from is_forward_info_sender_hidden.
|
2023-10-09 14:23:22 +03:00 |
|
levlam
|
13d02a8644
|
Add separate class messageImportInfo.
|
2023-10-09 12:20:32 +03:00 |
|
levlam
|
b5bf594662
|
Improve messageBotWriteAccessAllowed class.
|
2023-09-28 15:15:00 +03:00 |
|
levlam
|
e3d89cf90f
|
Add messageReaction.used_sender_id.
|
2023-09-28 14:32:08 +03:00 |
|