levlam
|
978be7206f
|
Use DialogManager::have_dialog_force.
|
2024-01-04 15:26:42 +03:00 |
|
levlam
|
b2fccc7d9c
|
Move ContactsManager proxy methods to DialogManager.
|
2024-01-03 23:07:50 +03:00 |
|
levlam
|
36f6a97b58
|
Fix setting of global DialogFilter manager.
|
2024-01-02 16:43:09 +03:00 |
|
levlam
|
7897ab1ada
|
Add empty DialogManager.
|
2024-01-02 16:22:25 +03:00 |
|
levlam
|
2bfe13f832
|
Set parser error if invalid reaction is stored in database.
|
2024-01-02 03:03:39 +03:00 |
|
levlam
|
0e2b7eab27
|
Ensure that messageReaction.total_count isn't less than the number of recent users.
|
2024-01-02 02:54:57 +03:00 |
|
levlam
|
d963044eb9
|
Update copyright year.
|
2024-01-01 03:07:21 +03:00 |
|
levlam
|
6d79dd9ea8
|
Keep forward info for audios and stories forwarded to saved messages.
|
2023-12-30 22:14:50 +03:00 |
|
Fela
|
c73222b33b
|
Pass is_pinned while creating event log messages
|
2023-12-29 13:51:24 +03:00 |
|
levlam
|
27c3eaeb49
|
Update version to 1.8.23.
|
2023-12-28 00:36:12 +03:00 |
|
levlam
|
45b6506cbf
|
Ignore user in unclaimed giveaway boost.
|
2023-12-27 22:38:57 +03:00 |
|
levlam
|
49dc00ade2
|
Remove unused forward declaration.
|
2023-12-26 21:56:51 +03:00 |
|
levlam
|
e3a01fddd7
|
Improve includes.
|
2023-12-26 21:39:48 +03:00 |
|
levlam
|
571fbd68aa
|
Add td_api::openChatSimilarChat.
|
2023-12-26 21:24:04 +03:00 |
|
levlam
|
4a45265926
|
Add td_api::internalLinkTypePremiumGift.
|
2023-12-26 21:01:33 +03:00 |
|
levlam
|
65903180a4
|
Add td_api::chatBoostFeatures.
|
2023-12-26 20:31:53 +03:00 |
|
levlam
|
54bd830f49
|
Add td_api::getChatBoostLevelFeatures.
|
2023-12-26 20:20:41 +03:00 |
|
levlam
|
969f4a764f
|
Remove "channel_custom_accent_color_boost_level_min" option.
|
2023-12-26 19:20:06 +03:00 |
|
levlam
|
e4038723b2
|
Support internal min boost level options.
|
2023-12-26 19:12:00 +03:00 |
|
levlam
|
cd27c67beb
|
Pass-through PREMIUM_SUB_ACTIVE_UNTIL_* errors.
|
2023-12-26 18:41:41 +03:00 |
|
levlam
|
7a2e2c4ee0
|
Add paymentProviderSmartGlocal.tokenize_url.
|
2023-12-26 18:33:02 +03:00 |
|
levlam
|
015976e4f1
|
Fix story area type.
|
2023-12-26 18:04:31 +03:00 |
|
levlam
|
91013ee921
|
Add "chat_available_reaction_count_max" option.
|
2023-12-26 17:11:34 +03:00 |
|
levlam
|
45eca4e8d2
|
Delete td_api::addApplicationChangelog.
|
2023-12-26 16:51:58 +03:00 |
|
levlam
|
07bf49d42e
|
Improve logging in need_channel_difference_to_add_message.
|
2023-12-26 15:54:40 +03:00 |
|
levlam
|
2a685bc9ab
|
Early process received users and chats.
|
2023-12-26 15:52:17 +03:00 |
|
levlam
|
c3c14ee65e
|
Add td_api::getChatStoryInteractions.
|
2023-12-26 14:24:42 +03:00 |
|
levlam
|
e83e1ba095
|
Support telegram_api::StoryReaction.
|
2023-12-26 13:57:43 +03:00 |
|
levlam
|
8655fbe5d7
|
Add getStoryInteractions.prefer_forwards.
|
2023-12-26 13:47:24 +03:00 |
|
levlam
|
b196d38a68
|
Get channel difference if needed before processing story views list.
|
2023-12-26 13:11:22 +03:00 |
|
levlam
|
8900038324
|
Add and use generic MessagesManager::get_channel_differences_if_needed.
|
2023-12-26 12:02:53 +03:00 |
|
levlam
|
53cf01e7bf
|
Support various types of story interactions.
|
2023-12-25 22:07:02 +03:00 |
|
levlam
|
be785dd673
|
Improve StoryViewer constructor.
|
2023-12-25 17:30:26 +03:00 |
|
levlam
|
05651f587d
|
Add StoryViewer::is_valid.
|
2023-12-25 16:34:38 +03:00 |
|
levlam
|
964663948d
|
Improve StoryViewer getters.
|
2023-12-25 16:32:41 +03:00 |
|
levlam
|
a4ed86c44e
|
Update BlockList in StoryViewers::StoryViewers.
|
2023-12-25 15:52:03 +03:00 |
|
levlam
|
b3d19e51e5
|
Rename storyViewer to storyInteraction.
|
2023-12-25 15:34:47 +03:00 |
|
levlam
|
ca2cf0e25c
|
Add storyViewers.total_forward_count.
|
2023-12-25 15:10:48 +03:00 |
|
levlam
|
c4efc0e2e0
|
Add td_api::setChatEmojiStatus.
|
2023-12-25 14:49:22 +03:00 |
|
levlam
|
b1db06d627
|
Fix update of channel emoji status.
|
2023-12-25 03:01:45 +03:00 |
|
levlam
|
5979276116
|
Enable updateChatAvailableReactions for bots.
|
2023-12-25 02:50:20 +03:00 |
|
levlam
|
aab1bf4fa5
|
Check for default channel statuses in StickersManager::is_default_emoji_status.
|
2023-12-24 02:38:17 +03:00 |
|
levlam
|
1494d5fcdf
|
Add td_api::getDisallowedChatEmojiStatuses.
|
2023-12-24 02:30:49 +03:00 |
|
levlam
|
8090aac1c1
|
Add stickerSet.is_allowed_as_chat_emoji_status.
|
2023-12-24 01:23:15 +03:00 |
|
levlam
|
d79114691c
|
Replace td_api::messageUserShared with td_api::messageUsersShared.
|
2023-12-22 19:17:58 +03:00 |
|
levlam
|
66c6e706ab
|
Replase td_api::shareUserWithBot with td_api::shareUsersWithBot.
|
2023-12-22 18:47:23 +03:00 |
|
levlam
|
590b3f3c25
|
Replace td_api::keyboardButtonTypeRequestUser with td_api::keyboardButtonTypeRequestUsers.
|
2023-12-22 18:06:40 +03:00 |
|
levlam
|
f07d21ac6b
|
Add td_api::getDefaultChatEmojiStatuses.
|
2023-12-22 12:29:12 +03:00 |
|
levlam
|
e2747b6c76
|
Add td_api::getThemedChatEmojiStatuses.
|
2023-12-21 22:44:59 +03:00 |
|
levlam
|
40b585d74f
|
Support channel emoji status.
|
2023-12-21 21:05:42 +03:00 |
|
levlam
|
7f6bdcd42c
|
Add channel.boost_level.
|
2023-12-21 20:08:30 +03:00 |
|
levlam
|
5cb6ca27cc
|
Add Chat.emoji_status.
|
2023-12-21 20:01:26 +03:00 |
|
levlam
|
8e85ef9e40
|
Don't mark background as inited for channels.
|
2023-12-21 19:10:05 +03:00 |
|
levlam
|
fabcce43c6
|
Update channel background from ChannelFull.
|
2023-12-21 19:08:06 +03:00 |
|
levlam
|
88b2781685
|
Add min_chat_boost_level to accentColor/profileAccentColor.
|
2023-12-21 18:48:15 +03:00 |
|
levlam
|
022c227515
|
Add td_api::suggestedActionGiftPremiumForChristmas.
|
2023-12-21 18:16:32 +03:00 |
|
levlam
|
b7f5949b98
|
Add is_supported_reply_message_content.
|
2023-12-21 17:24:21 +03:00 |
|
levlam
|
14b81a2d48
|
Always apply background from new message in groups and channels.
|
2023-12-19 16:24:06 +03:00 |
|
levlam
|
93aa765f44
|
Add td_api::backgroundTypeChatTheme for boosted chats.
|
2023-12-19 16:00:50 +03:00 |
|
levlam
|
b3ce27c4ea
|
Add separate deleteDefaultBackground method.
|
2023-12-19 14:38:37 +03:00 |
|
levlam
|
0fc3b3adc6
|
Improve names of background-related methods.
|
2023-12-19 14:33:21 +03:00 |
|
levlam
|
325f56dfe0
|
Improve name of updateDefaultBackground update.
|
2023-12-19 14:21:46 +03:00 |
|
levlam
|
855d6bf568
|
Support getPremiumGiveawayInfo for GiveawayWinners messages.
|
2023-12-19 13:07:41 +03:00 |
|
levlam
|
fd0135393c
|
Process chats from stories.storyViewsList.
|
2023-12-19 13:04:21 +03:00 |
|
levlam
|
0b51acefe9
|
Add td_api::messagePremiumGiveawayWinners.
|
2023-12-18 21:03:11 +03:00 |
|
levlam
|
299b87c524
|
Add td_api::chatEventEmojiStatusChanged.
|
2023-12-18 16:38:40 +03:00 |
|
levlam
|
6b85c09d14
|
Add td_api::chatEventBackgroundChanged.
|
2023-12-18 16:30:52 +03:00 |
|
levlam
|
c03650a920
|
Add td_api::chatEventProfileAccentColorChanged.
|
2023-12-18 16:03:15 +03:00 |
|
levlam
|
6b0e161fa2
|
Combine td_api::chatEventAccentColorChanged and td_api::chatEventBackgroundCustomEmojiChanged.
|
2023-12-18 16:00:01 +03:00 |
|
levlam
|
9171588824
|
Add class PeerColor.
|
2023-12-18 15:51:11 +03:00 |
|
levlam
|
67422ffb47
|
Rename StoryPublicForward to PublicForward.
|
2023-12-18 14:59:50 +03:00 |
|
levlam
|
5725cf0388
|
Add td_api::storyAreaTypeMessage.
|
2023-12-18 14:40:11 +03:00 |
|
levlam
|
895150e649
|
Add optional currency information to messagePremiumGiftCode.
|
2023-12-18 13:30:21 +03:00 |
|
levlam
|
1393033fdf
|
Add td_api::setChatProfileAccentColor.
|
2023-12-17 23:34:58 +03:00 |
|
levlam
|
d6423f60be
|
Remove separate UpdateProfileColorQuery.
|
2023-12-17 23:12:03 +03:00 |
|
levlam
|
7ceccad807
|
Support profile color and custom emoji in chat.
|
2023-12-17 22:54:55 +03:00 |
|
levlam
|
16d0c3c61b
|
Use combined updateChatAccentColors.
|
2023-12-16 11:49:26 +03:00 |
|
levlam
|
e4e76a7483
|
Add td_api::setMessageReactions for bots.
|
2023-12-15 14:51:26 +03:00 |
|
levlam
|
cc37a0c937
|
Add td_api::updateMessageReactions for bots.
|
2023-12-14 23:44:31 +03:00 |
|
levlam
|
00aff8f557
|
Add td_api::updateMessageReaction for bots.
|
2023-12-14 19:55:53 +03:00 |
|
levlam
|
58e8b7c97e
|
Support creation of giveaways with public list of winners and additional prize description.
|
2023-12-05 13:45:32 +03:00 |
|
levlam
|
c6ce44815e
|
Update layer to 169.
|
2023-12-05 12:30:12 +03:00 |
|
levlam
|
15132a398f
|
Remove check in backgrounf parsing.
|
2023-12-22 16:48:16 +03:00 |
|
levlam
|
3e42417a0f
|
Log results of message deletion.
|
2023-12-22 16:31:53 +03:00 |
|
levlam
|
5b8fff9643
|
Allow messagePremiumGiftCode.creator_id == null.
|
2023-12-22 12:51:58 +03:00 |
|
levlam
|
d60bb8da91
|
Add MessagesManager::update_replied_by_message_count.
|
2023-12-21 17:10:09 +03:00 |
|
levlam
|
bd1768954a
|
Add and use MessagesManager::get_message_reply_to_random_id.
|
2023-12-20 23:25:54 +03:00 |
|
levlam
|
4dbcfce77d
|
Randomly choose session among sessions with the same minimum query count.
|
2023-12-19 21:01:32 +03:00 |
|
levlam
|
15b8ad5c66
|
Add MediaArea::get_input_media_areas.
|
2023-12-18 14:24:07 +03:00 |
|
levlam
|
50f20c8a0c
|
Assign message identifier in create_message_to_send.
|
2023-12-17 01:06:40 +03:00 |
|
levlam
|
08222894e9
|
Check link types in alphabetical order.
|
2023-12-16 23:45:45 +03:00 |
|
levlam
|
a815bd74a1
|
Pass some parameters as const reference.
|
2023-12-15 00:11:59 +03:00 |
|
levlam
|
53ee8caf37
|
Simplify QTS update processing.
|
2023-12-14 23:27:46 +03:00 |
|
levlam
|
0072ff225b
|
Add static methods for processing of vector<ReactionType>.
|
2023-12-14 18:46:52 +03:00 |
|
levlam
|
0a53e5ad0e
|
Set bot online timeout right after authorization.
|
2023-12-14 15:59:16 +03:00 |
|
levlam
|
2bf1dcd6eb
|
Add source to get_channel_difference_if_needed.
|
2023-12-13 19:48:11 +03:00 |
|
levlam
|
542271a1fd
|
Don't save get_id() to a used-once variable before switch.
|
2023-12-12 23:20:41 +03:00 |
|
levlam
|
dce778442c
|
Allow 0 as giveaway_message_id in messagePremiumGiveawayCompleted.
|
2023-12-11 00:44:47 +03:00 |
|
levlam
|
c257615f9a
|
Remove now unused function is_hidden_data_entity.
|
2023-12-10 13:37:32 +03:00 |
|
levlam
|
745c40855a
|
Exclude installed sticker sets from searchStickerSets response.
|
2023-12-09 23:14:19 +03:00 |
|
levlam
|
d8eab25e82
|
Allow to use addChatMembers with one user in basic groups.
|
2023-12-08 14:30:01 +03:00 |
|
levlam
|
559cbe5de9
|
Always update premium-dependent options.
|
2023-12-08 12:57:13 +03:00 |
|
levlam
|
44844e1c19
|
Improve link preview options comparison.
|
2023-12-07 21:16:37 +03:00 |
|
levlam
|
f4f46c9a79
|
Don't try to process stories inside message content by bots.
|
2023-12-07 13:34:37 +03:00 |
|
levlam
|
a7c81ae21b
|
Always extract web_page_url for bots.
|
2023-12-07 12:48:33 +03:00 |
|
levlam
|
b210e79f97
|
Save link preview URL if size of the media is fixed or message text is empty.
|
2023-12-06 12:57:49 +03:00 |
|
levlam
|
0f4e01bde3
|
Keep reply content if it has link preview options.
|
2023-12-06 12:28:37 +03:00 |
|
levlam
|
4ac5708135
|
Remove redundant is_valid checks before adding an identifier as dependency.
|
2023-12-04 22:18:08 +03:00 |
|
levlam
|
f08b63268a
|
Support more cases for min-users and min-channels.
|
2023-12-04 22:13:25 +03:00 |
|
levlam
|
4c052a5efa
|
Don't remove whitespace-only entities.
|
2023-12-04 18:33:40 +03:00 |
|
levlam
|
9a9e3be8cf
|
Trim quote from the replied message.
|
2023-12-04 16:27:15 +03:00 |
|
levlam
|
99f9b78819
|
Support messagePremiumGiveawayCompleted in getRepliedMessage.
|
2023-12-04 12:34:58 +03:00 |
|
levlam
|
1b42476416
|
Add sanity checks.
|
2023-12-04 11:39:48 +03:00 |
|
levlam
|
3f00bebf63
|
Add missing checks fpr database existence.
|
2023-12-03 13:18:33 +03:00 |
|
levlam
|
4c1f6d6608
|
Fix misprint by @AYMENJD.
|
2023-12-02 22:19:48 +03:00 |
|
levlam
|
24893faf75
|
Update version to 1.8.22.
|
2023-12-01 23:19:05 +03:00 |
|
levlam
|
7728c1deb3
|
Don't hide sender of a story being reposted.
|
2023-12-01 23:10:59 +03:00 |
|
levlam
|
d1ce646e61
|
Require less rights for channel story statistics.
|
2023-12-01 22:36:20 +03:00 |
|
levlam
|
8ab0a152cd
|
Just delete chat background if revert failed.
|
2023-12-01 11:56:30 +03:00 |
|
levlam
|
762c224c10
|
Add deleteChatBackground.restore_previous.
|
2023-12-01 01:06:54 +03:00 |
|
levlam
|
330088d9f8
|
Add separate td_api::deleteChatBackground method.
|
2023-12-01 00:20:11 +03:00 |
|
levlam
|
f05f2a67f1
|
Add BackgroundManager::get_background_dialog method.
|
2023-12-01 00:14:25 +03:00 |
|
levlam
|
072f811a9c
|
Apply chat background set by the other user.
|
2023-11-30 21:49:32 +03:00 |
|
levlam
|
6f3180aeaf
|
Don't warn about pre-release messages.
|
2023-11-30 21:11:19 +03:00 |
|
levlam
|
e2ce0e7a0b
|
Keep logging only if the chat has active stories.
|
2023-11-30 20:32:16 +03:00 |
|
levlam
|
fc8bc0a026
|
Improve method names.
|
2023-11-30 20:13:49 +03:00 |
|
levlam
|
da1f23a6f9
|
Fix RecommendedDialogs::parse.
|
2023-11-30 19:37:48 +03:00 |
|
levlam
|
ecadb90ac8
|
Improve documentation.
|
2023-11-30 18:43:38 +03:00 |
|
levlam
|
9096e646b8
|
Minor improvements.
|
2023-11-30 18:26:33 +03:00 |
|
levlam
|
1604ee7b1d
|
Improve includes.
|
2023-11-30 18:13:23 +03:00 |
|
levlam
|
9bf9bf767d
|
Add td_api::getStoryPublicForwards.
|
2023-11-30 17:21:56 +03:00 |
|
levlam
|
7afab3e805
|
Reduce total timeout limit for speechRecognition.
|
2023-11-30 13:50:46 +03:00 |
|
levlam
|
8859f40e89
|
Allow to specify original story in sendStory.
|
2023-11-29 22:10:51 +03:00 |
|
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 |
|
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 |
|
levlam
|
0fd3c55547
|
Add addedReaction.is_outgoing.
|
2023-09-28 13:25:33 +03:00 |
|
levlam
|
7d2d0b9f2e
|
Improve names of MessageReaction functions.
|
2023-09-27 17:25:03 +03:00 |
|
levlam
|
4a02f50969
|
Add chatBoostStatus.boost_url.
|
2023-09-25 18:40:55 +03:00 |
|
levlam
|
9a40ea0f10
|
Update layer to 165.
|
2023-09-25 18:16:26 +03:00 |
|
levlam
|
de32750836
|
Use Dependencies to load data for binlog events if appropriate.
|
2023-10-08 23:16:59 +03:00 |
|
levlam
|
4eb9020d53
|
Use FlatHashSet for disallowed subdomains.
|
2023-10-07 11:46:47 +03:00 |
|
levlam
|
409dda8d77
|
Add more t.me subdomains to exceptions.
|
2023-10-07 11:42:20 +03:00 |
|
levlam
|
6c88f6dbfe
|
Update list of TLDs.
|
2023-10-06 00:22:43 +03:00 |
|
levlam
|
9289270cd9
|
Close databases and binlog on another thread.
|
2023-10-05 21:50:53 +03:00 |
|
levlam
|
b41a51f2ec
|
Use add_to_top if possible.
|
2023-10-04 16:18:20 +03:00 |
|
levlam
|
14b10c7682
|
Fix my recent chosen reaction chat id also for objects received from the server.
|
2023-10-04 16:02:53 +03:00 |
|
levlam
|
74679944af
|
Remove error-prone server_time_cached.
|
2023-10-04 12:24:58 +03:00 |
|
levlam
|
2a0d757ec6
|
Explicitly pass Unix time to can_get_story_viewers.
|
2023-10-04 11:28:56 +03:00 |
|
levlam
|
51e23dd458
|
Decrease MIN_DELETED_ASYNCHRONOUSLY_MESSAGES.
|
2023-10-02 20:38:59 +03:00 |
|
levlam
|
ceaa37fe0d
|
Simplify set_dialog_is_pinned implementation.
|
2023-10-01 21:49:15 +03:00 |
|
levlam
|
c474942666
|
Use add_to_top.
|
2023-10-01 21:17:30 +03:00 |
|
levlam
|
97ec3eacf4
|
Fix get_percentage_value.
|
2023-09-28 19:54:36 +03:00 |
|
levlam
|
5c93447ade
|
Increase MessageUnsupported version to reget messages with boost links.
|
2023-09-28 19:04:50 +03:00 |
|
levlam
|
5d7f34f659
|
Add StoryManager::has_unexpired_viewers.
|
2023-09-28 16:31:17 +03:00 |
|
levlam
|
469f87c2bc
|
Allow to remove media_album_id for yet unsent messages.
|
2023-09-28 00:50:09 +03:00 |
|
levlam
|
a65f14fff6
|
Improve log messages.
|
2023-09-27 16:22:16 +03:00 |
|
levlam
|
a6389d3520
|
Recheck active stories if failed to find some of them.
|
2023-09-27 16:15:18 +03:00 |
|
levlam
|
7b9abf3eca
|
Explicitly restart timeout.
|
2023-09-27 15:31:34 +03:00 |
|
levlam
|
93d17802e3
|
Fix saving of active stories.
|
2023-09-27 14:30:44 +03:00 |
|
levlam
|
bb8070ed44
|
Reload chats to send stories once a day.
|
2023-09-27 13:31:09 +03:00 |
|
levlam
|
a4016cef70
|
Add source to update_story_list_sent_total_count.
|
2023-09-27 00:40:36 +03:00 |
|
levlam
|
23683f40f0
|
Send updateChatActiveStories for stories loaded from database in decreasing order.
|
2023-09-27 00:35:47 +03:00 |
|
levlam
|
ab673a959b
|
Add some index checks.
|
2023-09-26 14:03:10 +03:00 |
|
levlam
|
ce5c3f32e7
|
Support alternative boost links.
|
2023-09-26 13:08:54 +03:00 |
|
levlam
|
84f2985154
|
Init boolean message fields closer to their first usage.
|
2023-09-25 22:52:42 +03:00 |
|
levlam
|
83df57a102
|
Remove MessageInfo.flags.
|
2023-09-25 22:48:35 +03:00 |
|
levlam
|
09ced5689b
|
Remove most MESSAGE_FLAG usages.
|
2023-09-25 22:09:31 +03:00 |
|
levlam
|
9a44005187
|
Add UpdatesManager::fix_short_message_flags.
|
2023-09-25 21:56:36 +03:00 |
|
levlam
|
155095dff7
|
Move get_message_public_forwards to StatisticsManager.
|
2023-09-25 21:39:02 +03:00 |
|
levlam
|
7dc1aed0d2
|
Use can_get_message_statistics in send_get_message_public_forwards_query.
|
2023-09-25 21:23:14 +03:00 |
|
levlam
|
235d884593
|
Improve can_manage_chat documentation.
|
2023-09-25 20:27:55 +03:00 |
|
levlam
|
9b4266c0c9
|
Remove now wrong CHECK.
|
2023-09-25 17:11:36 +03:00 |
|
levlam
|
1c758bbade
|
Always send updateAuthorizationState, even the state ID is the same.
|
2023-09-25 16:07:21 +03:00 |
|
levlam
|
0d16085d69
|
Just ignore views of sponsored messages from history preview or unidentified places.
|
2023-09-24 03:09:53 +03:00 |
|
levlam
|
2de39ffffe
|
Fix can_have_input_media for stories.
|
2023-09-23 16:33:34 +03:00 |
|
levlam
|
2589c3fd46
|
Update version to 1.8.19.
|
2023-09-22 16:22:03 +03:00 |
|
levlam
|
7eef4ec47a
|
Add InvalidateSignInCodesOnServerLogEvent.
|
2023-09-22 16:16:14 +03:00 |
|
levlam
|
df3d50b056
|
Add ResetWebAuthorizationsOnServerLogEvent.
|
2023-09-22 16:04:00 +03:00 |
|
levlam
|
86185f3b8e
|
Add ResetWebAuthorizationOnServerLogEvent.
|
2023-09-22 15:58:25 +03:00 |
|
levlam
|
e65059e540
|
Add SetAuthorizationTtlOnServerLogEvent.
|
2023-09-22 15:49:51 +03:00 |
|
levlam
|
fb859209c1
|
Add SetAccountTtlOnServerLogEvent.
|
2023-09-22 15:06:53 +03:00 |
|
levlam
|
6600f9279e
|
Add SetDefaultHistoryTtlOnServerLogEvent.
|
2023-09-22 15:03:02 +03:00 |
|
levlam
|
b222f48d05
|
Add ResetAuthorizationsOnServerLogEvent.
|
2023-09-22 14:50:44 +03:00 |
|
levlam
|
f2b2f01c33
|
Add ResetAuthorizationOnServerLogEvent.
|
2023-09-22 14:40:53 +03:00 |
|
levlam
|
e6fb913798
|
Add ChangeAuthorizationSettingsOnServerLogEvent.
|
2023-09-22 14:22:24 +03:00 |
|
levlam
|
df563e781e
|
Explicitly specify TLObjectStorer's template parameter.
|
2023-09-21 21:31:59 +03:00 |
|
levlam
|
14af252795
|
Improve names of create_*_storer functions.
|
2023-09-21 21:19:18 +03:00 |
|
levlam
|
254a3bfef0
|
Remove useless check.
|
2023-09-21 20:41:11 +03:00 |
|
levlam
|
1e2c0ce814
|
Rename FullMessageId to MessageFullId.
|
2023-09-21 19:11:17 +03:00 |
|
levlam
|
0362411550
|
Minor improvements.
|
2023-09-21 19:01:17 +03:00 |
|
levlam
|
b4f6e716ac
|
Add source to get_(chat|channel|secret_chat)_force.
|
2023-09-21 18:56:13 +03:00 |
|
levlam
|
b44e2ea3fc
|
Add strictly-typed class mtproto::MessageId.
|
2023-09-21 17:52:33 +03:00 |
|
levlam
|
ec44b3d16c
|
Improve "invoke_after_message_id" variable names.
|
2023-09-21 15:40:56 +03:00 |
|
levlam
|
c8e46cae53
|
Improve method names.
|
2023-09-21 14:53:33 +03:00 |
|
levlam
|
11c78406c3
|
Explicitly check returned errors.
|
2023-09-21 14:47:17 +03:00 |
|
levlam
|
d0d8d74c3e
|
Remove checks out of DownloadManager::remove_file_impl.
|
2023-09-21 14:37:09 +03:00 |
|
levlam
|
782fc0964f
|
Improve function name.
|
2023-09-21 14:18:12 +03:00 |
|
levlam
|
a2c8aa7165
|
Update channel participant count when receiving boost status.
|
2023-09-21 14:05:40 +03:00 |
|
levlam
|
8fb3fca841
|
Improve error logging for banned accounts.
|
2023-09-20 21:28:23 +03:00 |
|
levlam
|
67cf6d7fe5
|
Don't log not found chats in load_dialogs.
|
2023-09-20 20:44:21 +03:00 |
|
levlam
|
606ee063d5
|
Don't try to load recent chats from database right after the database was deleted.
|
2023-09-20 20:40:34 +03:00 |
|
levlam
|
246f2ca42f
|
Recheck received from the server channels.
|
2023-09-20 20:34:21 +03:00 |
|
levlam
|
036f37fe43
|
Simplify ContactsManager::update_created_public_channels.
|
2023-09-20 19:53:42 +03:00 |
|
levlam
|
154b2cb315
|
Recheck loaded from database channels.
|
2023-09-20 19:51:17 +03:00 |
|
levlam
|
cc1b01620b
|
Drop cached channel lists when dialog database is recreated.
|
2023-09-20 19:09:51 +03:00 |
|
levlam
|
cd7d960ba4
|
Cache chats to send stories.
|
2023-09-20 19:07:51 +03:00 |
|
levlam
|
82c702c16d
|
Minor improvements.
|
2023-09-19 21:59:14 +03:00 |
|
levlam
|
597563b0d4
|
Make Statistics conversion functions private.
|
2023-09-19 21:45:22 +03:00 |
|
levlam
|
be63c46992
|
Move statistics related functions to StatisticsManager.
|
2023-09-19 21:40:29 +03:00 |
|
levlam
|
d1dae35b85
|
Add empty StatisticsManager.
|
2023-09-19 21:24:19 +03:00 |
|
levlam
|
0e56b7e527
|
Clamp percentage value.
|
2023-09-19 21:15:10 +03:00 |
|
levlam
|
6dbec3fda7
|
Use td_api::error in td_api::updateStorySendFailed.
|
2023-09-19 19:13:45 +03:00 |
|
levlam
|
6b17c0fdec
|
Use error object in td_api::messageSendingStateFailed/updateMessageSendFailed.
|
2023-09-19 19:04:56 +03:00 |
|
levlam
|
a19d49a107
|
Ignore interaction info/chosen reaction updates while having a pending story reaction.
|
2023-09-19 18:40:15 +03:00 |
|
levlam
|
84e1d5ff1f
|
Add StoryManager::on_story_chosen_reaction_changed.
|
2023-09-19 14:41:31 +03:00 |
|
levlam
|
48607e18b5
|
Locally update reaction counts when changing story reaction.
|
2023-09-19 13:42:13 +03:00 |
|
levlam
|
5a19de8faa
|
Add storyAreaTypeSuggestedReaction.total_count.
|
2023-09-19 13:09:59 +03:00 |
|
levlam
|
fde0c8a0b1
|
Add storyInteractionInfo.forward_count.
|
2023-09-18 22:00:38 +03:00 |
|
levlam
|
118358508a
|
Update default premium feature order.
|
2023-09-18 20:22:09 +03:00 |
|
levlam
|
6cb1f8fb96
|
Add td_api::premiumFeatureChatBoost.
|
2023-09-18 19:57:48 +03:00 |
|
levlam
|
0f7193172b
|
Add premiumLimitTypeStorySuggestedReactionAreaCount.
|
2023-09-18 19:47:34 +03:00 |
|
levlam
|
583168767d
|
Add td_api::getChatBoosts.
|
2023-09-16 12:22:11 +03:00 |
|
levlam
|
469be958f2
|
Add td_api::getChatBoostLinkInfo.
|
2023-09-15 19:07:18 +03:00 |
|
levlam
|
069f8607df
|
Add td_api::getChatBoostLink.
|
2023-09-15 16:37:17 +03:00 |
|
levlam
|
714397da80
|
Add td_api::internalLinkTypeChatBoost.
|
2023-09-15 16:24:26 +03:00 |
|
levlam
|
8230efb97f
|
Add td_api::boostChat.
|
2023-09-15 15:11:37 +03:00 |
|
levlam
|
97db1de2c1
|
Add td_api::canBoostChat.
|
2023-09-15 15:00:02 +03:00 |
|
levlam
|
e2462e2487
|
Add td_api::canSendStoryResultBoostNeeded.
|
2023-09-14 20:04:59 +03:00 |
|
levlam
|
c120b5ef19
|
Add td_api::getChatsToSendStories.
|
2023-09-14 18:59:30 +03:00 |
|
levlam
|
7605812d2c
|
Add td_api::getChatBoostStatus.
|
2023-09-12 18:37:32 +03:00 |
|
levlam
|
0ab5ab00ea
|
tg_cli: add logf.
|
2023-09-12 17:34:12 +03:00 |
|
levlam
|
1558edd3dd
|
Support Terms of Service for non-recurring payments.
|
2023-09-12 17:30:17 +03:00 |
|
levlam
|
d1a2ca9261
|
Disallow replies to channel stories.
|
2023-09-05 19:31:14 +03:00 |
|
levlam
|
b42781a631
|
Update order of channel stories when they are joined or left.
|
2023-09-05 19:14:40 +03:00 |
|
levlam
|
08fc889997
|
Show stories from channels in story lists.
|
2023-09-05 18:48:47 +03:00 |
|
levlam
|
e59a832e10
|
Use channel.stories_hidden_min flag.
|
2023-09-05 18:45:28 +03:00 |
|
levlam
|
b4c25af1b6
|
Update stories from channelFull.
|
2023-09-05 18:36:30 +03:00 |
|
levlam
|
de204f7bf2
|
Add supergroupFullInfo.has_pinned_stories.
|
2023-09-05 18:34:06 +03:00 |
|
levlam
|
f2a821a07e
|
Support archiving channel stories.
|
2023-09-05 18:17:45 +03:00 |
|
levlam
|
35a319db20
|
Poll channel max active story identifiers.
|
2023-09-05 17:41:33 +03:00 |
|
levlam
|
8991ddf263
|
Add supergroup.has_active_stories/has_unread_active_stories.
|
2023-09-05 16:50:41 +03:00 |
|
levlam
|
86d286fc7c
|
Add story action flags.
|
2023-09-05 15:50:38 +03:00 |
|
levlam
|
6e3e4c190d
|
Add Story.is_outgoing_ field.
|
2023-09-05 13:50:16 +03:00 |
|
levlam
|
b16de41ef1
|
Support sending and editing stories in channels.
|
2023-09-04 23:49:17 +03:00 |
|
levlam
|
58097b847b
|
Remove StoryManager::is_story_owned.
|
2023-09-04 22:21:20 +03:00 |
|
levlam
|
66fd2f35f2
|
Add StoryManager::can_get_story_view_count.
|
2023-09-04 22:19:42 +03:00 |
|
levlam
|
0c9d8e9f6f
|
Add StoryManager::can_access_expired_story.
|
2023-09-04 21:52:05 +03:00 |
|
levlam
|
0115c9ac9d
|
Add functions to check story access rights.
|
2023-09-04 21:45:16 +03:00 |
|
levlam
|
868b6b930f
|
Add StoryManager::is_my_story.
|
2023-09-04 21:34:17 +03:00 |
|
levlam
|
3c977a0f99
|
Add story-related administrator rights.
|
2023-09-04 20:24:44 +03:00 |
|
levlam
|
08639b520a
|
Allow to set suggested custom reactions from stories.
|
2023-08-25 19:11:24 +03:00 |
|
levlam
|
fa1b6f33e1
|
Support storyAreaTypeSuggestedReaction.
|
2023-08-25 16:37:27 +03:00 |
|
levlam
|
153ff5503b
|
Update layer to 164.
|
2023-08-15 22:45:37 +03:00 |
|
levlam
|
a7e9980246
|
Allow negative rotation angle.
|
2023-09-20 17:22:01 +03:00 |
|
levlam
|
b72fa29981
|
Improve ReactionManager::is_active_reaction.
|
2023-09-19 15:28:39 +03:00 |
|
levlam
|
daf480138d
|
Ignore the unsupported chat among returned chats.
|
2023-09-17 01:34:13 +03:00 |
|
levlam
|
03ccaa40aa
|
Fix show_in_attach_menu_ flag.
|
2023-09-16 01:48:45 +03:00 |
|
levlam
|
fb7cb1b1d0
|
Add MessagesManager::resolve_dialog.
|
2023-09-15 18:20:21 +03:00 |
|
levlam
|
25b8caff59
|
Add MessagesManager::send_resolve_dialog_username_query.
|
2023-09-15 17:44:32 +03:00 |
|
levlam
|
e79f540937
|
Minor improvements.
|
2023-09-13 22:17:46 +03:00 |
|
levlam
|
100ca72b91
|
Update version to 1.8.18.
|
2023-09-13 18:14:23 +03:00 |
|
levlam
|
a0d0262394
|
Fix PhotoSizeSource::parse.
|
2023-09-13 17:41:50 +03:00 |
|
levlam
|
f899fe9145
|
Don't delete notifications when initializing last_new_message_id. There should be no old notifications anyway, but there could be a pending notification about the being added message.
|
2023-09-13 16:57:44 +03:00 |
|
levlam
|
e65e5b0b49
|
Extract delete_all_dialog_notifications from delete_all_dialog_messages_from_database.
|
2023-09-13 16:29:37 +03:00 |
|
levlam
|
721f0ae9e4
|
Update name of storyPrivacySettingsSelectedUsers.
|
2023-09-13 15:19:16 +03:00 |
|
levlam
|
9d168b847f
|
Recheck unconfirmed sessions once an hour and after restart.
|
2023-09-13 15:05:28 +03:00 |
|
levlam
|
f4fabcf996
|
Improve td_api::session.
|
2023-09-13 13:12:56 +03:00 |
|
levlam
|
55a20cad32
|
Unconfirmed session fixes.
|
2023-09-12 16:09:56 +03:00 |
|
levlam
|
64d66fb3dc
|
Delete expired unconfirmed sessions.
|
2023-09-12 15:44:57 +03:00 |
|
levlam
|
7f2d1cdd9d
|
Delete expired unconfirmed sessions after loading them after restart.
|
2023-09-12 14:48:42 +03:00 |
|
levlam
|
6a4c78e849
|
Add internal option "authorization_autoconfirm_period".
|
2023-09-12 14:32:28 +03:00 |
|
levlam
|
2e4594a35a
|
Add td_api::confirmSession.
|
2023-09-12 14:28:02 +03:00 |
|
levlam
|
4bb1fd86d3
|
Keep unconfirmed authorizations between restarts.
|
2023-09-12 00:39:25 +03:00 |
|
levlam
|
a87340edbd
|
Tend to return more results from searchPublicChats.
|
2023-09-11 23:30:54 +03:00 |
|
levlam
|
064561e02a
|
Automatically confirm sessions on specific actions.
|
2023-09-11 23:29:17 +03:00 |
|
levlam
|
a874e617dc
|
Add updateUnconfirmedSession.
|
2023-09-11 22:03:01 +03:00 |
|
levlam
|
be442ba977
|
Move get_user_link to AccountManager.
|
2023-09-11 18:59:19 +03:00 |
|
levlam
|
5f1b1f41fc
|
Add class InviteLinkChatType.
|
2023-09-11 18:33:44 +03:00 |
|
levlam
|
d2a3dfccc3
|
Support side menu icons for bots.
|
2023-09-08 17:21:16 +03:00 |
|
levlam
|
793e2ed0be
|
Move account-related methods to AccountManager.
|
2023-09-08 16:34:11 +03:00 |
|
levlam
|
162b5cc636
|
Add AccountManager.
|
2023-09-08 16:19:30 +03:00 |
|
levlam
|
66793cf2f5
|
Add session.is_unconfirmed.
|
2023-09-08 15:49:25 +03:00 |
|
levlam
|
bf500652dc
|
Support opening of Web Apps from the side menu and internalLinkTypeSideMenuBot links.
|
2023-09-07 21:40:47 +03:00 |
|
levlam
|
a7d9da0229
|
Add internalLinkTypeSideMenuBot.
|
2023-09-07 19:23:07 +03:00 |
|
levlam
|
289c25fd93
|
Support non-added bots in the list of attachment menu bots.
|
2023-09-07 18:04:21 +03:00 |
|
levlam
|
3983615646
|
Support showing attachment menu bots in side menu.
|
2023-09-07 16:45:42 +03:00 |
|
levlam
|
604f39c295
|
Add foundWebApp.supports_settings.
|
2023-09-07 15:52:31 +03:00 |
|
levlam
|
280209a220
|
Self-destruct media in private chats when they expire on the other side.
|
2023-09-07 00:31:05 +03:00 |
|
levlam
|
5ebbda1c26
|
Add td_api::MessageSelfDestructType.
|
2023-09-06 21:27:45 +03:00 |
|
levlam
|
aec04a2d01
|
Support immediately disappearing photos and videos.
|
2023-09-06 20:45:15 +03:00 |
|
levlam
|
a5073593e5
|
Update layer to 163.
|
2023-09-06 19:02:17 +03:00 |
|
levlam
|
0ada45c361
|
Fix video story network statistics.
|
2023-09-11 17:02:58 +03:00 |
|
levlam
|
61eeab055a
|
Improve FileStats logging.
|
2023-09-11 16:56:21 +03:00 |
|
levlam
|
c3a985fade
|
Always fix video story file type in scan_fs.
|
2023-09-11 16:38:41 +03:00 |
|
levlam
|
622762f6ef
|
Move guess_file_type_by_path to FileType.cpp.
|
2023-09-11 16:34:00 +03:00 |
|
levlam
|
468f92d0e5
|
Always scan file database to get file statistics to fix file type of video stories.
|
2023-09-11 16:07:53 +03:00 |
|
levlam
|
6022b2ce77
|
Improve parameter names.
|
2023-09-11 15:55:46 +03:00 |
|
levlam
|
745adb7c52
|
Add some logging.
|
2023-09-11 15:09:24 +03:00 |
|
levlam
|
edb3d08757
|
Improve chatInviteLinkInfo.type documentation.
|
2023-09-11 00:29:09 +03:00 |
|
levlam
|
40973f0977
|
Start chat unload timer when the first message is added to the chat, if it is definitely not the last database message.
|
2023-09-11 00:14:58 +03:00 |
|
levlam
|
efba70c2ef
|
Unify names of PacketInfo variables.
|
2023-09-10 00:04:55 +03:00 |
|
levlam
|
d87cc2b143
|
Simplify mtproto::Transport::write usage.
|
2023-09-09 22:49:45 +03:00 |
|
levlam
|
00258ccb4c
|
Make call to should_restart_part safe.
|
2023-09-07 17:31:08 +03:00 |
|
levlam
|
edc528457f
|
Update version to 1.8.17.
|
2023-09-06 15:37:41 +03:00 |
|
levlam
|
de458452c9
|
Minor improvements.
|
2023-09-06 15:36:55 +03:00 |
|
levlam
|
0e1cd98869
|
Fix warning.
|
2023-09-04 17:11:00 +03:00 |
|
levlam
|
35ff6976d8
|
Add td_api::getAllStickerEmojis.
|
2023-09-04 16:17:36 +03:00 |
|
levlam
|
f4a8338232
|
Add more information in td_api::chatInviteLinkInfo.
|
2023-09-01 18:04:06 +03:00 |
|
levlam
|
89e2a29926
|
Add td_api::sendWebAppCustomRequest.
|
2023-08-25 18:26:05 +03:00 |
|
levlam
|
49c1764746
|
Add td_api::allowBotToSendMessages.
|
2023-08-25 18:06:56 +03:00 |
|
levlam
|
a08f54007e
|
Add td_api::canBotSendMessages.
|
2023-08-25 17:23:04 +03:00 |
|
levlam
|
249da789e7
|
Add messageBotWriteAccessAllowed.by_request.
|
2023-08-25 16:53:50 +03:00 |
|
levlam
|
0b7914bc18
|
Add storyViewers.total_reaction_count.
|
2023-08-16 13:45:10 +03:00 |
|
levlam
|
a1b08e2907
|
Add td_api::searchStringsByPrefix.
|
2023-08-16 13:39:59 +03:00 |
|
levlam
|
a554e9bb4e
|
Update layer to 162.
|
2023-08-15 22:45:37 +03:00 |
|
levlam
|
515c585a13
|
Make ContactsManager::get_user_has_unread_stories static.
|
2023-09-05 16:38:06 +03:00 |
|
levlam
|
917c9dc013
|
Add ForumTopicManager::read_forum_topic_messages.
|
2023-09-04 15:34:54 +03:00 |
|
levlam
|
d029d93f85
|
Split opened stories by chats in StoryManager::update_interaction_info.
|
2023-09-04 12:12:01 +03:00 |
|
levlam
|
83d9f84c5b
|
Improve new_session_created handling.
|
2023-09-03 02:07:12 +03:00 |
|
levlam
|
fc98363d95
|
Add StoryManager::on_update_dialog_has_pinned_stories/on_update_dialog_stories_hidden.
|
2023-09-02 23:23:38 +03:00 |
|
levlam
|
3a75502e77
|
Add StoryManager::on_update_dialog_max_read_story_id.
|
2023-09-02 23:13:52 +03:00 |
|
levlam
|
f7e5889408
|
Add StoryManager::on_update_dialog_max_story_ids.
|
2023-09-02 23:06:24 +03:00 |
|
levlam
|
049d84beed
|
Always call fetch_result on the whole NetQueryPtr.
|
2023-09-02 22:39:26 +03:00 |
|
levlam
|
ce2e7192d7
|
Improve NetQueryPtr variable names.
|
2023-09-02 22:20:05 +03:00 |
|
levlam
|
1f38e4d49f
|
Make AuthManager::on_current_query_error safer.
|
2023-09-02 22:11:01 +03:00 |
|
levlam
|
77baf0d770
|
Fetch result from NetQuery in AuthManager.
|
2023-09-02 02:47:06 +03:00 |
|
levlam
|
db8f41eacf
|
Automatically reset cancel_slot in NetQuery::set_message_id.
|
2023-09-01 16:53:15 +03:00 |
|
levlam
|
c432a24dd4
|
Simplify calls to Session::resend_query.
|
2023-09-01 16:48:25 +03:00 |
|
levlam
|
ba0d2408f2
|
Improve handling of new_session_created.
|
2023-09-01 16:40:19 +03:00 |
|
levlam
|
55e5b2395e
|
Mark sent_at_ as const.
|
2023-09-01 16:13:00 +03:00 |
|
levlam
|
5ce5ef6234
|
Save all state flags to ack_state_.
|
2023-09-01 16:11:21 +03:00 |
|
levlam
|
8b05c4f3ec
|
Improve ack state.
|
2023-08-31 23:59:46 +03:00 |
|
levlam
|
53b48b4ee8
|
Improve Session::Query field names.
|
2023-08-31 00:47:39 +03:00 |
|
levlam
|
b90bc7be4b
|
Remove unsafe non-const NetQuery accessors.
|
2023-08-30 18:25:26 +03:00 |
|
levlam
|
eb06c93532
|
Simplify NetQuery creation.
|
2023-08-30 18:13:35 +03:00 |
|
levlam
|
62eaa0b5a9
|
Improve NetQuery logging.
|
2023-08-30 17:58:37 +03:00 |
|
levlam
|
8f02cefcbd
|
Fix check in send_update_story.
|
2023-08-30 17:21:46 +03:00 |
|
levlam
|
1a2bfad094
|
Move message content self-destruct time checks to create_input_message_content.
|
2023-08-29 18:51:57 +03:00 |
|
levlam
|
43db9e4882
|
Improve PhotoSizeSource::parse.
|
2023-08-28 20:55:52 +03:00 |
|
levlam
|
0c0f0af52d
|
Remove unused PhotoSizeSource constructor.
|
2023-08-28 20:37:28 +03:00 |
|
levlam
|
04b376782c
|
Improve field name.
|
2023-08-27 02:48:18 +03:00 |
|
levlam
|
4b3750cefe
|
Simplify conditions in lambda.
|
2023-08-27 01:20:51 +03:00 |
|
levlam
|
1dcd78f1ed
|
Add source to have_dialog_info_force.
|
2023-08-26 05:00:15 +03:00 |
|
levlam
|
c83149661b
|
Remove useless checks.
|
2023-08-26 04:38:33 +03:00 |
|
levlam
|
b7ce94fc18
|
Add missing includes.
|
2023-08-26 03:34:00 +03:00 |
|
levlam
|
f7887181c4
|
Add NotificationObjectFullId class.
|
2023-08-26 03:13:39 +03:00 |
|
levlam
|
989dc3d8a6
|
Fix removal of notifications from pending updates.
|
2023-08-26 02:14:00 +03:00 |
|
levlam
|
432f77ae85
|
Use NotificationObjectId in NotificationGroupInfo.
|
2023-08-26 00:48:57 +03:00 |
|
levlam
|
fcf7748758
|
Improve method names.
|
2023-08-25 02:34:11 +03:00 |
|
levlam
|
4455255d9b
|
Add class NotificationObjectId.
|
2023-08-25 02:04:44 +03:00 |
|
levlam
|
c770f6058c
|
Add NotificationGroupType.cpp.
|
2023-08-25 01:06:59 +03:00 |
|
levlam
|
370bb0c93e
|
Add NotificationGroupType traits.
|
2023-08-25 00:45:28 +03:00 |
|
levlam
|
499c2002ed
|
Forcely create notification settings chat when adding a notification.
|
2023-08-24 17:39:09 +03:00 |
|
levlam
|
a85d3663bf
|
Add MessagesManager::reload_dialog_notification_settings.
|
2023-08-24 17:29:22 +03:00 |
|
levlam
|
470c36ceef
|
Fix DialogListId constructor.
|
2023-08-24 12:21:04 +03:00 |
|
levlam
|
1e6970e3fe
|
Add NotificationGroupFromDatabase struct.
|
2023-08-23 19:38:06 +03:00 |
|
levlam
|
fbc74dc8f4
|
Add and use NotificationManager::have_group_force.
|
2023-08-23 19:16:57 +03:00 |
|
levlam
|
2fc806785f
|
Use CHECK in MessagesManager::get_dialog_notification_group_id.
|
2023-08-23 18:54:03 +03:00 |
|
levlam
|
d1172d8530
|
Allow to use getTopChats without chat info database.
|
2023-08-23 18:28:07 +03:00 |
|
levlam
|
2e5caa9f13
|
Minor improvements.
|
2023-08-22 19:10:22 +03:00 |
|
levlam
|
d8472358dc
|
Add MessagesManager::get_story_notification_settings.
|
2023-08-22 18:55:59 +03:00 |
|
levlam
|
15c14e4983
|
Use object_id instead of message_id in NotificationGroupInfo.
|
2023-08-22 16:32:40 +03:00 |
|
levlam
|
ce1fdf097c
|
Add NotificationGroupInfo.has_group_id.
|
2023-08-22 02:34:26 +03:00 |
|
levlam
|
5144656f2b
|
Add MessagesManager::is_dialog_notification_group_id.
|
2023-08-22 02:31:47 +03:00 |
|
levlam
|
1289a62c16
|
Make the rest NotificationGroupInfo fields private.
|
2023-08-22 00:01:29 +03:00 |
|
levlam
|
db9ca1a847
|
Add NotificationGroupInfo::is_valid().
|
2023-08-21 23:03:55 +03:00 |
|
levlam
|
a93322ae32
|
Always remove unneeded last_notification_id_.
|
2023-08-21 22:40:17 +03:00 |
|
levlam
|
8116952371
|
Make NotificationGroupInfo.last_notification_date_ private.
|
2023-08-21 22:21:06 +03:00 |
|
levlam
|
800660aec6
|
Update NotificationGroupInfo.is_key_changed_ only if needed.
|
2023-08-21 22:16:42 +03:00 |
|
levlam
|
5450d2e53d
|
Make NotificationGroupInfo.::max_removed_notification_id_ private.
|
2023-08-21 22:13:19 +03:00 |
|
levlam
|
4e031ed7fd
|
Make NotificationGroupInfo.max_removed_message_id_ private.
|
2023-08-21 21:43:26 +03:00 |
|
levlam
|
c40b2b95d2
|
Add NotificationGroupInfo::is_removed_notification.
|
2023-08-21 21:37:52 +03:00 |
|
levlam
|
b73f8a060b
|
Make NotificationGroupInfo::is_changed_ private.
|
2023-08-21 20:14:53 +03:00 |
|
levlam
|
f933f5a25f
|
Add NotificationGroupInfo::set_max_removed_notification_id.
|
2023-08-21 20:12:30 +03:00 |
|
levlam
|
d22fbcaba6
|
Add NotificationGroupInfo constructors.
|
2023-08-21 19:54:12 +03:00 |
|
levlam
|
174f0ca5f5
|
Add MessagesManager::set_dialog_last_notification_checked.
|
2023-08-21 19:50:24 +03:00 |
|
levlam
|
e667e45985
|
Add NotificationGroupInfo::set_last_notification.
|
2023-08-21 19:46:09 +03:00 |
|
levlam
|
05b1bec6a9
|
Improve names of NotificationGroupInfo fields.
|
2023-08-21 19:36:43 +03:00 |
|
levlam
|
6c4545fb3f
|
Make NotificationGroupInfo::try_reuse_ private.
|
2023-08-21 19:28:05 +03:00 |
|
levlam
|
d2cf780a1f
|
Move class NotificationGroupInfo to a separate header.
|
2023-08-21 18:52:56 +03:00 |
|
levlam
|
08ead89f31
|
Check DialogListId identifier validness.
|
2023-08-21 16:23:11 +03:00 |
|
levlam
|
0e9b4be29f
|
Add auth_key_id to error messages.
|
2023-08-20 21:00:42 +03:00 |
|
levlam
|
4d1d22d6f4
|
Keep PendingPollAnswer until poll updates are applied.
|
2023-08-19 06:42:06 +03:00 |
|
levlam
|
74f0d49f8e
|
Support only Main and Archive folder identifiers.
|
2023-08-18 17:51:31 +03:00 |
|
levlam
|
c8cbef60cb
|
Save correct chat order even we aren't sure about chat folder.
|
2023-08-18 16:19:22 +03:00 |
|
levlam
|
770837bcd9
|
Update chat action bar only if folder_id is changed.
|
2023-08-18 15:56:12 +03:00 |
|
levlam
|
05589cff7b
|
Improve names of WebPage and WebPageInstantView fields.
|
2023-08-18 15:33:33 +03:00 |
|
levlam
|
203e8cf9c2
|
Add more checks for is_authorized.
|
2023-08-17 00:32:29 +03:00 |
|
levlam
|
f0f1cc19ed
|
Forcely add first active story for subscribed chats if previously sent updates about them.
|
2023-08-16 18:06:55 +03:00 |
|
levlam
|
84ac48405f
|
Add source to send_update_chat_active_stories.
|
2023-08-16 17:57:16 +03:00 |
|
levlam
|
9c42aeb575
|
Count yet unsent stories in updateStoryListChatCount.
|
2023-08-16 17:49:06 +03:00 |
|
levlam
|
5c63b80cce
|
Don't send updateChatActiveStories about chats with unknown active stories.
|
2023-08-16 17:34:36 +03:00 |
|
levlam
|
11f4af48e0
|
Send updateChatActiveStories when deleting non-loaded story.
|
2023-08-16 16:42:24 +03:00 |
|
levlam
|
89b2a51d2d
|
Add yet unsent stories to chat active stories.
|
2023-08-16 16:06:16 +03:00 |
|
levlam
|
a7b17b9e43
|
Support cancel of story upload.
|
2023-08-16 15:10:41 +03:00 |
|
levlam
|
d44617b4ea
|
Remove unused variable.
|
2023-08-15 20:17:27 +03:00 |
|
levlam
|
0605ea818e
|
Pass previous media areas if they aren't edited.
|
2023-08-15 19:51:11 +03:00 |
|
levlam
|
8d0627b014
|
Disallow story areas editing without content edit.
|
2023-08-15 19:39:59 +03:00 |
|
levlam
|
cde095db6c
|
Update version to 1.8.16.
|
2023-08-15 18:11:16 +03:00 |
|
levlam
|
5a60e62892
|
Add more checks.
|
2023-08-15 17:55:12 +03:00 |
|
levlam
|
a0990ef2fd
|
Various fixes.
|
2023-08-15 17:45:16 +03:00 |
|
levlam
|
9d9da813ec
|
tg_cli: add InputStoryAreas class.
|
2023-08-15 16:50:34 +03:00 |
|
levlam
|
ba527b7e5d
|
Create channel chat to apply an update, even the update will be ignored.
|
2023-08-15 15:03:13 +03:00 |
|
levlam
|
4f2ad215d3
|
Initialize PTS in channels from the first received update.
|
2023-08-15 14:53:14 +03:00 |
|
levlam
|
73bd67d88d
|
Don't reload chat active stories if have no read access to the chat.
|
2023-08-14 22:31:21 +03:00 |
|
levlam
|
1b8cb6a31f
|
Add updateStorySendFailed.error.
|
2023-08-14 22:13:40 +03:00 |
|
levlam
|
ccd77958ad
|
Ignore caption entities if can't use them.
|
2023-08-14 21:56:24 +03:00 |
|
levlam
|
a5735f13a0
|
Improve story.has_expired_viewers.
|
2023-08-14 20:35:39 +03:00 |
|
levlam
|
60501c25eb
|
Don't update recent viewers for stories with expired viewers.
|
2023-08-14 00:40:46 +03:00 |
|
levlam
|
a867badcaf
|
Always allow to get viewers of stories with reaction.
|
2023-08-14 00:37:39 +03:00 |
|
levlam
|
03c8bf0cd3
|
Support StoryInteractionInfo.has_viewers_.
|
2023-08-14 00:29:57 +03:00 |
|
levlam
|
a33ef5a055
|
Improve story.has_expired_viewers.
|
2023-08-12 21:55:30 +03:00 |
|
levlam
|
fd2df72321
|
Add td_api::canSendStory.
|
2023-08-11 19:43:26 +03:00 |
|
levlam
|
6d68de2c0c
|
Fix server_total_count after loading all chats from database.
|
2023-08-11 16:45:49 +03:00 |
|
levlam
|
155b447420
|
Add td_api::updateStorySendFailed.
|
2023-08-11 16:41:14 +03:00 |
|
levlam
|
732b006bf9
|
Add updateStorySendSucceeded.
|
2023-08-11 16:23:37 +03:00 |
|
levlam
|
a554859d80
|
Add story.is_being_sent.
|
2023-08-11 16:10:10 +03:00 |
|
levlam
|
cabd71c3c3
|
Add weekly and monthly limits for sent stories.
|
2023-08-11 15:35:13 +03:00 |
|
levlam
|
499cd02a0a
|
Assign temporary identifier to yet unsent stories.
|
2023-08-11 15:16:24 +03:00 |
|
levlam
|
760bdc0804
|
Dup story content in do_send_story.
|
2023-08-11 14:37:13 +03:00 |
|
levlam
|
7b6f0530c1
|
Fix storyPrivacySettingsEveryone in td_api::story.
|
2023-08-11 14:23:22 +03:00 |
|
levlam
|
02b4793ba2
|
Process telegram_api::updateStoryID.
|
2023-08-11 14:07:13 +03:00 |
|
levlam
|
a5ca926971
|
Split yet unsent stories by chats.
|
2023-08-10 23:29:48 +03:00 |
|
levlam
|
f4d035a01d
|
Update userFull.block_list when receive story viewer list.
|
2023-08-10 23:17:24 +03:00 |
|
levlam
|
8d8cfb93d3
|
Update allowed active_period values.
|
2023-08-10 21:36:12 +03:00 |
|
levlam
|
b12ade01f6
|
Add more checks for server StoryId.
|
2023-08-10 20:22:12 +03:00 |
|
levlam
|
7d06883668
|
Independently change is_is_mutual_contact_changed from is_is_contact_changed.
|
2023-08-10 15:49:16 +03:00 |
|
levlam
|
45cbe8260e
|
Fix include.
|
2023-08-09 15:53:45 +03:00 |
|
levlam
|
2cb463dceb
|
Add "can_use_text_entities_in_story_caption" option.
|
2023-08-09 15:27:28 +03:00 |
|
levlam
|
6c0878e738
|
Simplify condition.
|
2023-08-09 14:56:28 +03:00 |
|
levlam
|
dd023dba19
|
Add td_api::getStoryAvailableReactions.
|
2023-08-09 14:13:41 +03:00 |
|
levlam
|
ca78c82e36
|
Improve StoryManager::can_get_story_viewers.
|
2023-08-08 18:56:08 +03:00 |
|
levlam
|
23212a271a
|
Add stealth mode logging.
|
2023-08-08 01:31:09 +03:00 |
|
levlam
|
5c1be5a1e7
|
Send updateStoryStealthMode when it changes.
|
2023-08-08 01:18:33 +03:00 |
|
levlam
|
8a41582fab
|
Store and load stealth mode state.
|
2023-08-08 01:04:08 +03:00 |
|
levlam
|
2fdaf5fdbc
|
Detect recursive updates of chat info.
|
2023-08-07 23:19:28 +03:00 |
|
levlam
|
ad8d977a03
|
Reload chat active stories when is_mutual_contact changes.
|
2023-08-07 23:09:35 +03:00 |
|
levlam
|
32f6026278
|
Use send_closure_later to avoid cycles between ContactsManager and StoryManager.
|
2023-08-07 23:04:23 +03:00 |
|
levlam
|
c4f3dd013d
|
Reload story to repair can_get_viewers.
|
2023-08-07 22:03:26 +03:00 |
|
levlam
|
a228e2630b
|
Ensure strong ordering for story view and stealth mode requests.
|
2023-08-07 21:00:42 +03:00 |
|
levlam
|
a6f85a6390
|
Copy input_query_id/input_result_id along with previous venue.
|
2023-08-07 20:56:28 +03:00 |
|
levlam
|
3c620aa094
|
Validate total_reaction_count.
|
2023-08-07 20:52:48 +03:00 |
|
levlam
|
c926b59053
|
Add storyViewers.total_count.
|
2023-08-07 20:49:31 +03:00 |
|
levlam
|
3bc3ef3335
|
Update reaction count when get story viewers.
|
2023-08-07 20:04:06 +03:00 |
|
levlam
|
fdd44e8f9d
|
Support filters in getStoryViewers.
|
2023-08-07 19:56:55 +03:00 |
|
levlam
|
d72e9cc68f
|
Use string offset in getStoryViewers.
|
2023-08-07 19:40:15 +03:00 |
|
levlam
|
0eec3dda94
|
Add more fields to class StoryViewer.
|
2023-08-07 17:19:12 +03:00 |
|
levlam
|
de5718d0e5
|
Remove Viewer comparison operators.
|
2023-08-07 16:39:14 +03:00 |
|
levlam
|
511a9da2b2
|
Remove story viewer cache.
|
2023-08-07 16:24:31 +03:00 |
|
levlam
|
eb74e6eb2a
|
Add separate StoryViewer class.
|
2023-08-07 16:03:10 +03:00 |
|
levlam
|
665662a160
|
Add td_api::setStoryReaction.
|
2023-08-06 23:28:00 +03:00 |
|
levlam
|
f37a9e73ca
|
Support telegram_api::updateSentStoryReaction.
|
2023-08-04 19:18:27 +03:00 |
|
levlam
|
b36aee538b
|
Add story.chosen_reaction_type.
|
2023-08-04 18:56:53 +03:00 |
|
levlam
|
6acd85411f
|
Add storyInteractionInfo.reaction_count.
|
2023-08-04 15:32:24 +03:00 |
|
levlam
|
ea33e9f2d0
|
Add td_api::activateStoryStealthMode.
|
2023-08-04 15:23:51 +03:00 |
|
levlam
|
a9f6f897c6
|
Process story stealth mode updates.
|
2023-08-04 14:51:39 +03:00 |
|
levlam
|
3448c6f4ab
|
Add StoryStealthMode class.
|
2023-08-04 00:14:34 +03:00 |
|
levlam
|
086df4db4e
|
Add options related to stealth mode.
|
2023-08-03 17:38:56 +03:00 |
|
levlam
|
8c7076fe97
|
Add td_api::PremiumStoryFeature.
|
2023-08-02 14:50:54 +03:00 |
|
levlam
|
0f39a16321
|
Support "stories_venue_search_username" appConfig option.
|
2023-08-02 13:59:40 +03:00 |
|
levlam
|
0ba15e33dd
|
tg_cli: use as_user_ids in StoryPrivacySettings.
|
2023-08-02 13:52:33 +03:00 |
|
levlam
|
bed1b43b85
|
Add storyPrivacySettingsEveryone.except_user_ids.
|
2023-08-02 13:50:44 +03:00 |
|
levlam
|
63ba72dce4
|
Add editStory.areas.
|
2023-08-01 20:37:37 +03:00 |
|
levlam
|
f72ac41756
|
Add sendStory.areas.
|
2023-08-01 19:07:13 +03:00 |
|
levlam
|
7f4e614bfe
|
Add td_api::inputStoryArea.
|
2023-08-01 18:11:30 +03:00 |
|
levlam
|
8235b08fea
|
Add td_api::story.areas.
|
2023-08-01 16:15:30 +03:00 |
|
levlam
|
6deae588bf
|
Add td_api::storyArea.
|
2023-08-01 15:17:50 +03:00 |
|
levlam
|
92f69a228d
|
Add td_api::storyAreaPosition.
|
2023-08-01 14:20:42 +03:00 |
|
levlam
|
d65f9ad5f3
|
Add td_api::premiumFeatureUpgradedStories.
|
2023-07-30 12:42:24 +03:00 |
|
levlam
|
ec6c36e578
|
Add getBlockedMessageSenders.block_list.
|
2023-07-28 17:52:44 +03:00 |
|
levlam
|
3794e65b76
|
Add td_api::BlockList.
|
2023-07-28 17:33:47 +03:00 |
|
levlam
|
f0e59da1ff
|
Process blocked_my_stories_from flags.
|
2023-07-28 16:19:05 +03:00 |
|
levlam
|
840f2fd7cf
|
Add "active_story_count_max" option.
|
2023-07-21 17:26:50 +03:00 |
|
levlam
|
615ddd71e5
|
Support changes to "story_caption_length_max" option.
|
2023-07-21 16:38:24 +03:00 |
|
levlam
|
09aa2ec01e
|
Add td_api::premiumLimitTypeStoryCaptionLength.
|
2023-07-21 15:42:32 +03:00 |
|
levlam
|
1022cc6439
|
Update layer to 161.
|
2023-07-21 15:41:44 +03:00 |
|
levlam
|
53888437cf
|
Don't restrict client-side length of start parameter.
|
2023-08-13 23:06:21 +03:00 |
|
levlam
|
0824764b79
|
Remove "archive_all_stories" option.
|
2023-08-12 21:53:02 +03:00 |
|
levlam
|
99279ef13a
|
Simplify story identifiers updating for users.
|
2023-08-11 13:12:46 +03:00 |
|
levlam
|
5b6e1c60db
|
Minor improvements.
|
2023-08-09 13:31:34 +03:00 |
|
levlam
|
ce679e7b78
|
Move default reaction handling to ReactionManager.
|
2023-08-09 13:19:54 +03:00 |
|
levlam
|
441482c0c4
|
Remove now unneeded proxies to ReactionManager.
|
2023-08-09 13:10:06 +03:00 |
|
levlam
|
9dcfd9d66d
|
Add ReactionManager and move there all reaction-related methods from StickersManager.
|
2023-08-09 12:59:48 +03:00 |
|
levlam
|
d2add02ac9
|
Move get_sorted_available_reactions to StickersManager.
|
2023-08-09 12:07:13 +03:00 |
|
levlam
|
eaa77f76e5
|
Fix misprint.
|
2023-08-08 02:34:33 +03:00 |
|
levlam
|
ac74ecaad5
|
Improve lower bound for story_list.server_total_count_.
|
2023-08-07 01:12:48 +03:00 |
|
levlam
|
9c3ce17c2f
|
Decrease story_list.server_total_count when deleting chat active stories.
|
2023-08-07 01:07:55 +03:00 |
|
levlam
|
dc4114e235
|
Decrease server_total_count when load expired active stories from database.
|
2023-08-07 00:02:30 +03:00 |
|
levlam
|
672957a741
|
Fix sending of updateStoryListChatCount when full story list is loaded.
|
2023-08-06 23:38:55 +03:00 |
|
levlam
|
dabefc83fa
|
Fix use_sqlite_pmc check.
|
2023-08-06 14:37:51 +03:00 |
|
levlam
|
ced8764663
|
Move binlog handling to slow net scheduler if there is no SQLite database.
|
2023-08-06 14:29:43 +03:00 |
|
levlam
|
39103e07db
|
Add ChatReactions.hpp.
|
2023-08-06 02:32:09 +03:00 |
|
levlam
|
3fa863e98e
|
Fix misprint.
|
2023-08-06 01:57:08 +03:00 |
|
levlam
|
28961b7d0e
|
Add more common.h includes.
|
2023-08-05 16:09:36 +03:00 |
|
levlam
|
830da27abf
|
Minor improvements.
|
2023-08-05 15:31:42 +03:00 |
|
levlam
|
57b935f6a7
|
Move more functions to ReactionType.
|
2023-08-05 14:59:42 +03:00 |
|
levlam
|
905287f1ec
|
Improve ReactionType logging.
|
2023-08-04 18:44:54 +03:00 |
|
levlam
|
5558825d61
|
Add class ReactionType.
|
2023-08-04 18:39:07 +03:00 |
|
levlam
|
e695289557
|
Process updateReadStories for owned stories.
|
2023-08-04 14:33:42 +03:00 |
|
levlam
|
50a0c551cd
|
Remove duplicate check.
|
2023-08-03 15:06:44 +03:00 |
|
levlam
|
ff687167f8
|
Improve edit story logging.
|
2023-08-02 12:43:46 +03:00 |
|
levlam
|
fbec238210
|
Mark "restriction_add_platforms" option as internal.
|
2023-08-02 12:37:23 +03:00 |
|
levlam
|
7f556e4b9d
|
tg_cli: add class ReportReason.
|
2023-08-01 20:44:24 +03:00 |
|
levlam
|
a7b6f55d7a
|
Add and use JsonObject::foreach.
|
2023-07-31 19:38:53 +03:00 |
|
levlam
|
d19b659337
|
Simplify JSON object processing in NotificationManager.
|
2023-07-31 19:16:24 +03:00 |
|
levlam
|
3303c659bf
|
Use JsonOnject::extract_ if possible.
|
2023-07-31 18:27:10 +03:00 |
|
levlam
|
7a80136478
|
Use JsonObject::has_field.
|
2023-07-31 17:53:17 +03:00 |
|
levlam
|
58f15df705
|
Use JsonObject::get_.*_field if possible.
|
2023-07-31 17:17:52 +03:00 |
|
levlam
|
88f169b714
|
Use get_json_object_field_force to extract @extra.
|
2023-07-31 14:12:01 +03:00 |
|
levlam
|
43941c1e69
|
Add JsonObject::field_count.
|
2023-07-31 13:33:35 +03:00 |
|
levlam
|
59044294a8
|
Make JsonObject class.
|
2023-07-31 13:31:48 +03:00 |
|
levlam
|
564cbc0345
|
Don't log updates with slightly old PTS short after updates with very old PTS.
|
2023-07-29 15:37:15 +03:00 |
|
levlam
|
5ba7e14be0
|
Improve logging for PTS gaps.
|
2023-07-28 18:10:24 +03:00 |
|
levlam
|
ff3a8e446e
|
Add MessagesManager::load_last_dialog_message instead of get_history_from_the_end.
|
2023-07-28 14:33:54 +03:00 |
|
levlam
|
58a1ae8e8d
|
Directly call get_history_impl if appropriate.
|
2023-07-28 14:19:43 +03:00 |
|
levlam
|
f5a066f7ed
|
Support loading of history from the end in get_history_impl.
|
2023-07-28 14:12:22 +03:00 |
|
levlam
|
73d5b2dcbb
|
Simplify calls to load_messages.
|
2023-07-28 13:50:02 +03:00 |
|
levlam
|
c071678be1
|
Add source to MessagesManager::get_history_impl.
|
2023-07-28 13:32:07 +03:00 |
|
levlam
|
2dba29669f
|
Delete unused MessagesManager::get_history.
|
2023-07-28 13:22:52 +03:00 |
|
levlam
|
16183df0aa
|
Adjust offset and limit in get_history_impl.
|
2023-07-28 13:22:07 +03:00 |
|
levlam
|
bd0ca2d6fc
|
Combine all getChatHistory queries.
|
2023-07-28 03:36:21 +03:00 |
|
levlam
|
9618d58732
|
Combine get_history_from_the_end queries.
|
2023-07-27 20:40:56 +03:00 |
|
levlam
|
070399c89a
|
Add combine_hashes function.
|
2023-07-27 19:05:15 +03:00 |
|
levlam
|
5c8b12b105
|
Simplify limit initialization in get_history_from_the_end_impl.
|
2023-07-27 18:19:10 +03:00 |
|
levlam
|
0a7c87eb8b
|
Use FlatHashMap in SeqKeyValue.
|
2023-07-27 13:58:20 +03:00 |
|
levlam
|
1fbbecca9b
|
Don't register message users/channels for bots.
|
2023-07-27 13:16:48 +03:00 |
|
levlam
|
32043df840
|
Parse updates in another thread.
|
2023-07-27 12:52:29 +03:00 |
|
levlam
|
56adf14116
|
Improve PTS gap repair.
|
2023-07-26 22:04:57 +03:00 |
|
levlam
|
e6cd1989bf
|
Fix Global initialization.
|
2023-07-26 21:37:54 +03:00 |
|
levlam
|
35df6e3dfd
|
Optimize FileManager::get_file_object by moving implementation of getters to FileNode.
|
2023-07-26 18:07:33 +03:00 |
|
levlam
|
e12d66af4c
|
Cache remote_location.
|
2023-07-26 17:34:26 +03:00 |
|
levlam
|
bb1d0d244a
|
Optimize FileView const methods.
|
2023-07-26 17:09:08 +03:00 |
|
levlam
|
2cf1722b5b
|
Move get_persistent_file_id/get_unique_file_id to FileNode to speed up.
|
2023-07-26 16:57:32 +03:00 |
|
levlam
|
899197448e
|
Load unknown viewed stories.
|
2023-07-26 15:35:38 +03:00 |
|
levlam
|
f33dbfb97f
|
Optimize on_get_user.
|
2023-07-26 15:32:35 +03:00 |
|
levlam
|
38fe2d7cb2
|
Support NetQueryCreator without Scheduler.
|
2023-07-26 14:46:31 +03:00 |
|
levlam
|
5bc2634d12
|
Use FlatHashMap for random_id_to_message_id.
|
2023-07-26 13:38:10 +03:00 |
|
levlam
|
968bfc48df
|
Move main Session to database scheduler if there is no database.
|
2023-07-26 13:13:21 +03:00 |
|
levlam
|
06731d965d
|
Move get_database_scheduler_id to Global.
|
2023-07-26 13:05:34 +03:00 |
|
levlam
|
e8d92b0dcb
|
Make MtprotoHeader thread-safe.
|
2023-07-26 12:48:59 +03:00 |
|
levlam
|
1ab81f426c
|
Ensure that NetQueryCreator doesn't access Td from another thread.
|
2023-07-26 12:29:36 +03:00 |
|
levlam
|
c920536260
|
Optimize FullRemoteFileLocation comparison operators.
|
2023-07-25 21:47:51 +03:00 |
|
levlam
|
70db527023
|
Optimize PhotoSizeSource comparison.
|
2023-07-25 20:31:45 +03:00 |
|
levlam
|
a231b96a7b
|
Improve PTS gap logging.
|
2023-07-25 14:24:44 +03:00 |
|
levlam
|
0edd5b1651
|
Support "CHANNEL_INVALID" errors in response to channels.getDifference.
|
2023-07-25 14:12:58 +03:00 |
|
levlam
|
8c6f5ece88
|
Ignore updates of unneeded User fields by bots.
|
2023-07-25 13:45:55 +03:00 |
|
levlam
|
17d26321a5
|
Decrease gap fill wait time.
|
2023-07-25 13:06:59 +03:00 |
|
levlam
|
8893dc808f
|
Ignore getDifference responses with invalid polls.
|
2023-07-24 19:42:09 +03:00 |
|
levlam
|
5110a188b2
|
Improve MessageReplyInfo logging and updating.
|
2023-07-24 15:56:03 +03:00 |
|
levlam
|
62677720fc
|
Immediately unload messages in closed chats after updates.channelDifferenceTooLong.
|
2023-07-24 15:42:38 +03:00 |
|
levlam
|
53c7cfbf02
|
Reload chat/channel with delay after status has changed.
|
2023-07-24 13:43:21 +03:00 |
|
levlam
|
1f6342c88e
|
Retry loading of channel difference later if receive invalid poll in a message.
|
2023-07-23 20:42:30 +03:00 |
|
levlam
|
a0feba5761
|
Add source to on_update_active_stories.
|
2023-07-23 09:50:26 +03:00 |
|
levlam
|
4896962420
|
Remove outdated condition.
|
2023-07-23 09:46:22 +03:00 |
|
levlam
|
451c559539
|
Add various checks.
|
2023-07-23 01:41:59 +03:00 |
|
levlam
|
2f4b8ba8b3
|
Don't allow replies to supergroup creation message.
|
2023-07-22 23:07:51 +03:00 |
|
levlam
|
102222e64f
|
Add source to on_update_channel_max_unavailable_message_id.
|
2023-07-22 22:40:26 +03:00 |
|
levlam
|
21074688c3
|
Ignore "TOPIC_CLOSED" errors for SaveDraftMessageQuery.
|
2023-07-22 22:37:27 +03:00 |
|
levlam
|
ad5f37e99e
|
Fix applying of updates about pinned forum topics.
|
2023-07-22 21:53:32 +03:00 |
|
levlam
|
7498aad742
|
Improve handling of message reading up to unknown message.
|
2023-07-22 20:03:35 +03:00 |
|
levlam
|
ea848ff2e4
|
Fix MessagesManager::can_delete_dialog.
|
2023-07-22 19:58:26 +03:00 |
|
levlam
|
925f944743
|
Improve error logging.
|
2023-07-22 19:43:47 +03:00 |
|
levlam
|
9bebe6dff6
|
Skip updateChannelTooLong in unknown chats.
|
2023-07-22 19:17:55 +03:00 |
|
levlam
|
36ae033843
|
Improve logging.
|
2023-07-22 19:03:29 +03:00 |
|
levlam
|
ad8e887aae
|
Keep error logging for invalid unread count only if the counters are recalculated.
|
2023-07-22 18:58:01 +03:00 |
|
levlam
|
2eef3a459b
|
Add source to save_active_stories.
|
2023-07-22 18:19:05 +03:00 |
|
levlam
|
b5f1e6a772
|
Fix updating of active stories.
|
2023-07-22 18:10:51 +03:00 |
|
levlam
|
78d69a296e
|
Send update with 0 order before moving chatActiveStories to another story list.
|
2023-07-22 17:49:39 +03:00 |
|
levlam
|
b87dc811ba
|
Delete inaccessible stories.
|
2023-07-22 17:04:08 +03:00 |
|
levlam
|
02456042d6
|
Avoid expected error logging.
|
2023-07-22 16:38:56 +03:00 |
|
levlam
|
4984307f36
|
Improve logging.
|
2023-07-22 14:16:49 +03:00 |
|
levlam
|
f817d79b7d
|
Hide unneeded app config option "stories_export_nopublic_link".
|
2023-07-21 17:42:30 +03:00 |
|
levlam
|
8c69dbcaee
|
Fix "added_shareable_chat_folder_count_max" option.
|
2023-07-21 17:08:39 +03:00 |
|
levlam
|
c945709bf4
|
Mark various limit options as internal.
|
2023-07-21 16:57:11 +03:00 |
|
levlam
|
be9d779f5c
|
Fix "story_caption_length_max" option.
|
2023-07-21 16:33:39 +03:00 |
|
levlam
|
5ee046b259
|
Don't update max_active_story_id_next_reload_time if user stories aren't polled.
|
2023-07-21 15:23:28 +03:00 |
|
levlam
|
240fbe5f36
|
Fix via_bot_user_id.
|
2023-07-21 14:49:12 +03:00 |
|
levlam
|
2e5319ff36
|
Update version to 1.8.15.
|
2023-07-20 22:24:40 +03:00 |
|
levlam
|
ac1295496c
|
Unify stack traces for on_get_updates calls.
|
2023-07-20 21:03:05 +03:00 |
|
levlam
|
a3e277f7c0
|
Add source to get_user_force.
|
2023-07-20 20:38:25 +03:00 |
|
levlam
|
999aaaf610
|
Update username cache with usernames loaded from database.
|
2023-07-20 20:09:46 +03:00 |
|
levlam
|
02ef8b914d
|
Use send_closure_later to send requests in ClientActor to unify stack traces.
|
2023-07-20 19:38:27 +03:00 |
|
levlam
|
cb7088394e
|
Call Session::loop with send_closure_later to unify stack traces.
|
2023-07-20 19:12:59 +03:00 |
|
levlam
|
91accb8a78
|
Disable StoryLists for bots.
|
2023-07-20 14:14:34 +03:00 |
|
levlam
|
725d309eb1
|
Fix StoryManager::get_current_state.
|
2023-07-20 13:47:21 +03:00 |
|
levlam
|
abf32c44cc
|
Simplify capture by value.
|
2023-07-19 22:41:27 +03:00 |
|
levlam
|
bdcc79b418
|
Minor improvements.
|
2023-07-18 18:20:43 +03:00 |
|
levlam
|
6777ff5157
|
Don't mark owned stories as read.
|
2023-07-18 17:27:37 +03:00 |
|
levlam
|
a553447ac2
|
Make story.privacy_settings always non-null.
|
2023-07-18 16:19:11 +03:00 |
|
levlam
|
fc97956447
|
Add td_api::StoryPrivacySettings.
|
2023-07-18 16:00:06 +03:00 |
|
levlam
|
689960ddcb
|
Ensure that story_list.list_last_story_date_ never decrease.
|
2023-07-18 13:56:57 +03:00 |
|
levlam
|
b7551dab33
|
Poll maximum active story identifiers of non-contact users.
|
2023-07-18 13:53:22 +03:00 |
|
levlam
|
a023e80fb5
|
Add User.max_active_story_id_next_reload_time.
|
2023-07-17 20:05:35 +03:00 |
|
levlam
|
d6c5aa2ef3
|
Resend auth.dropTempAuthKeys with delay.
|
2023-07-17 19:37:52 +03:00 |
|
levlam
|
723d09ddee
|
Reduce refresh margin for persistent temp auth keys to speed up recover when the old key reregisters after auth.dropTempAuthKeys.
|
2023-07-17 19:21:18 +03:00 |
|
levlam
|
1b3d14a3f9
|
Add source to reload_user_full and reload_chat_full.
|
2023-07-17 18:22:41 +03:00 |
|
levlam
|
1485f85115
|
Fix saving empty active stories to database.
|
2023-07-17 17:43:19 +03:00 |
|
levlam
|
b6179eb4a0
|
Send updateStoryListChatCount on start.
|
2023-07-17 16:00:24 +03:00 |
|
levlam
|
6c39eabb09
|
Load active story lists from database.
|
2023-07-17 15:50:27 +03:00 |
|
levlam
|
308918f737
|
Improve field and function names.
|
2023-07-17 14:40:01 +03:00 |
|
levlam
|
35681157e0
|
Load active story list states from database.
|
2023-07-17 14:29:09 +03:00 |
|
levlam
|
784c88d598
|
Improve error message.
|
2023-07-17 00:50:12 +03:00 |
|
levlam
|
99d38d9fc6
|
Add StoryDb::get_active_story_list.
|
2023-07-16 23:15:38 +03:00 |
|
levlam
|
caaf0ce0dc
|
Improve database method names.
|
2023-07-16 22:43:42 +03:00 |
|
levlam
|
44c9e458eb
|
Save story list state to database.
|
2023-07-16 17:52:08 +03:00 |
|
levlam
|
3e23b08e79
|
Add active_story_lists table.
|
2023-07-16 17:03:20 +03:00 |
|
levlam
|
7624311ac6
|
Don't resave loaded active stories to database if they didn't change.
|
2023-07-16 16:36:35 +03:00 |
|
levlam
|
956e31810a
|
Add promise to StoryManager::on_get_user_stories.
|
2023-07-16 15:39:55 +03:00 |
|
levlam
|
7fb0bd5382
|
Fix resaving of users to database.
|
2023-07-16 13:56:28 +03:00 |
|
levlam
|
8f158004c4
|
Add more logging for updates of data about user stories.
|
2023-07-16 13:45:17 +03:00 |
|
levlam
|
99bef75da4
|
Don't try to load active stories from database multiple times.
|
2023-07-16 13:35:35 +03:00 |
|
levlam
|
2e78aea606
|
Add td_api::fileTypePhotoStory and td_api::fileTypeVideoStory.
|
2023-07-16 13:03:25 +03:00 |
|
levlam
|
7ac81f85fc
|
Improve log messages.
|
2023-07-16 12:52:11 +03:00 |
|
levlam
|
2eb8adc0f6
|
Don't reload the same inaccessible story too often.
|
2023-07-16 00:52:52 +03:00 |
|
levlam
|
5b00327ee9
|
Don't try to load the same story from database multiple times.
|
2023-07-15 23:35:05 +03:00 |
|
levlam
|
bf3337f21c
|
Fix get_story_force.
|
2023-07-15 03:46:25 +03:00 |
|
levlam
|
74e83d45ce
|
Add and use StoryManager::get_active_stories_force.
|
2023-07-15 03:36:18 +03:00 |
|
levlam
|
32a867ed8f
|
Add StoryManager::on_get_story_info.
|
2023-07-15 02:46:50 +03:00 |
|
levlam
|
887dbaf7ff
|
Save full information about active stories to database.
|
2023-07-15 02:25:01 +03:00 |
|
levlam
|
45da338329
|
Add StoryManager::StoryInfo.
|
2023-07-15 02:16:48 +03:00 |
|
levlam
|
cbdd558d3a
|
Fix archiveChatListSettings settings.
|
2023-07-14 18:51:47 +03:00 |
|
levlam
|
ea17b2ca46
|
Add more logging in StoryManager::parse_story.
|
2023-07-14 18:26:47 +03:00 |
|
levlam
|
4df51fdcdd
|
Add get_active_stories.
|
2023-07-14 18:03:49 +03:00 |
|
levlam
|
fe2e34d8bc
|
Save active stories to database.
|
2023-07-14 17:42:59 +03:00 |
|
levlam
|
755e600f0c
|
Add need_save_to_database to update_active_stories_order.
|
2023-07-14 17:26:09 +03:00 |
|
levlam
|
88832bb2c7
|
Improve send_update_chat_active_stories.
|
2023-07-14 16:30:49 +03:00 |
|
levlam
|
fecb4a2d23
|
Improve get_chat_active_stories_object.
|
2023-07-14 16:27:03 +03:00 |
|
levlam
|
b0510432a5
|
Add StoryDb::delete_active_stories.
|
2023-07-14 16:10:52 +03:00 |
|
levlam
|
6685bcfd7a
|
Remove "archive_and_mute_new_chats_from_unknown_users" option.
|
2023-07-14 15:41:38 +03:00 |
|
levlam
|
d5c8a68876
|
Hide EnableArchiveAndMuteNewChat suggested action when the corresponding setting is set.
|
2023-07-14 15:31:27 +03:00 |
|
levlam
|
0181baf1ad
|
Add td_api::setArchiveChatListSettings.
|
2023-07-14 15:25:32 +03:00 |
|
levlam
|
e067160876
|
Add td_api::getArchiveChatListSettings.
|
2023-07-14 14:54:35 +03:00 |
|
levlam
|
fa1e7a1eab
|
Fix get_message_content_min_user_ids.
|
2023-07-14 14:04:16 +03:00 |
|
levlam
|
fc6ef9d590
|
Avoid expected error logging.
|
2023-07-13 21:55:53 +03:00 |
|
levlam
|
c2999d8557
|
Minor improvements.
|
2023-07-13 19:32:54 +03:00 |
|
levlam
|
aa0b217a18
|
Fix call to set_pts.
|
2023-07-13 19:17:16 +03:00 |
|
levlam
|
6ece751ccd
|
Fix warning.
|
2023-07-13 18:15:06 +03:00 |
|
levlam
|
5941063b43
|
Add storyInfo.is_for_close_friends.
|
2023-07-13 17:56:49 +03:00 |
|
levlam
|
4f62b7693a
|
Add source to reload_stories.
|
2023-07-13 16:39:19 +03:00 |
|
levlam
|
514f5974d4
|
Improve logging for stories.
|
2023-07-13 16:36:42 +03:00 |
|
levlam
|
489337ecd9
|
Add logging for story timeouts.
|
2023-07-13 16:29:05 +03:00 |
|
levlam
|
cf67743311
|
Remove chat identifier logging from PhotoSizeSource.
|
2023-07-13 16:25:57 +03:00 |
|
levlam
|
6d4d8ad5f8
|
Improve logging in on_update_read_stories.
|
2023-07-13 16:21:43 +03:00 |
|
levlam
|
ae1870a0b7
|
Add StoryManager::get_story_list.
|
2023-07-13 15:53:40 +03:00 |
|
levlam
|
a108922b6f
|
Use StoryListId in load_active_stories.
|
2023-07-13 15:44:26 +03:00 |
|
levlam
|
39b0b53ae9
|
Simplify update_story_list_sent_total_count usage.
|
2023-07-13 15:37:11 +03:00 |
|
levlam
|
39eb3fdb0d
|
Improve name of update_story_list_sent_total_count function.
|
2023-07-13 15:34:53 +03:00 |
|
levlam
|
6b4586da9b
|
Fix deletion of active stories.
|
2023-07-13 15:34:08 +03:00 |
|
levlam
|
8d971da083
|
Fix MessageReaction creation.
|
2023-07-13 13:54:58 +03:00 |
|
levlam
|
961fe5fba7
|
Add database table for active stories.
|
2023-07-13 02:03:02 +03:00 |
|
levlam
|
1669f8d4b8
|
Init sessions if there are multiple sessions.
|
2023-07-12 21:08:01 +03:00 |
|
levlam
|
a9712d7afa
|
Use DelayDispatcher for video stories.
|
2023-07-12 20:41:44 +03:00 |
|
levlam
|
723b2d1fba
|
Send updateStory before returning the story to the app.
|
2023-07-12 16:28:20 +03:00 |
|
levlam
|
a4e4a20fb4
|
Add StoryManager::send_update_story.
|
2023-07-12 16:16:55 +03:00 |
|
levlam
|
b9473decc2
|
Always list actor_id first in lambda capture.
|
2023-07-11 17:53:43 +03:00 |
|
levlam
|
3b28485a3f
|
Always apply awaited sent messages.
|
2023-07-11 17:14:02 +03:00 |
|
levlam
|
07ece1faea
|
Improve PTS restore even more.
|
2023-07-11 16:20:35 +03:00 |
|
levlam
|
6b376a71e8
|
Improve updatePtsChanged handling by using getDifference instead of getState, which allows to get all pending updates.
|
2023-07-11 16:10:56 +03:00 |
|
levlam
|
00a6271edb
|
Restore PTS after overflow.
|
2023-07-11 15:50:50 +03:00 |
|
levlam
|
6217e8c8f2
|
Don't drop state on updatePtsChanged.
|
2023-07-11 15:23:35 +03:00 |
|
levlam
|
583f10706a
|
Improve logging on SessionConnection closure.
|
2023-07-11 13:42:47 +03:00 |
|
levlam
|
4b3de26c0c
|
Add getStory.only_local.
|
2023-07-11 12:29:10 +03:00 |
|
levlam
|
53ea5b0fa1
|
Add Story.is_being_edited.
|
2023-07-11 00:33:25 +03:00 |
|
levlam
|
989432d33e
|
Delete expired stories from database.
|
2023-07-10 19:43:26 +03:00 |
|
levlam
|
87591a0704
|
Add class StoryDbStory.
|
2023-07-10 18:50:03 +03:00 |
|
levlam
|
f031ddf102
|
Store edit generations outside of Story.
|
2023-07-10 17:45:16 +03:00 |
|
levlam
|
558305046c
|
Use get_story_force if appropriate.
|
2023-07-10 16:50:01 +03:00 |
|
levlam
|
82b524de0a
|
Create chats for received story identifiers.
|
2023-07-10 16:39:49 +03:00 |
|
levlam
|
2805ecaa66
|
Fix on_update_user_max_read_story_id usage.
|
2023-07-10 15:58:56 +03:00 |
|
levlam
|
79e09cc757
|
Ignore deleted stories in StoryManager::parse_story.
|
2023-07-10 15:47:56 +03:00 |
|
levlam
|
4ae098c3a8
|
Add StoryFullId to dependencies.
|
2023-07-10 15:36:38 +03:00 |
|
levlam
|
958aab66e6
|
Add StoryManager::get_story_force.
|
2023-07-10 14:56:39 +03:00 |
|
levlam
|
b9672dbf97
|
Don't create stories without content.
|
2023-07-10 14:14:12 +03:00 |
|
levlam
|
00172347d5
|
Delete stories from database.
|
2023-07-10 13:52:42 +03:00 |
|
levlam
|
7f5b42e165
|
Add stories to database.
|
2023-07-10 13:39:17 +03:00 |
|
levlam
|
e523a5b2f6
|
Add story database.
|
2023-07-10 13:18:32 +03:00 |
|
levlam
|
9d4087b101
|
Ensure that stories are sent in the correct order.
|
2023-07-09 16:01:14 +03:00 |
|
levlam
|
f8f6a0a5c9
|
Ensure ordering for StoryManager requests.
|
2023-07-09 15:24:20 +03:00 |
|
levlam
|
c15a9d2464
|
Add td_api::updateStoryListChatCount.
|
2023-07-08 18:50:58 +03:00 |
|
levlam
|
39b84d89ea
|
Improve method setChatActiveStoriesList name.
|
2023-07-08 16:53:29 +03:00 |
|
levlam
|
c6e5506f9a
|
tg_cli: add as_story_list.
|
2023-07-08 15:55:49 +03:00 |
|
levlam
|
a1038bb20c
|
Add class StoryListId.
|
2023-07-08 15:42:23 +03:00 |
|
levlam
|
186f496a54
|
Add story.has_expired_viewers.
|
2023-07-08 09:32:30 +03:00 |
|
levlam
|
5819c049a3
|
Consistently use American "expiration date".
|
2023-07-08 08:48:40 +03:00 |
|
levlam
|
3937eb7bdf
|
Add "story_viewers_expiration_delay" option.
|
2023-07-08 08:42:59 +03:00 |
|
levlam
|
dbed591a01
|
Improve storyListArchive name.
|
2023-07-08 02:40:19 +03:00 |
|
levlam
|
b5d513dba0
|
Fix has_unread_active_stories for self.
|
2023-07-07 19:46:38 +03:00 |
|
levlam
|
c28286d110
|
Fix get_chat_active_stories_object.
|
2023-07-07 19:30:31 +03:00 |
|
levlam
|
fdcec41c93
|
Add and use ContactsManager::on_update_user_max_read_story_id.
|
2023-07-07 18:35:47 +03:00 |
|
levlam
|
cb8418f840
|
Improve calls to on_update_user_has_stories.
|
2023-07-07 18:29:22 +03:00 |
|
levlam
|
f589137af4
|
Add user.has_unread_active_stories.
|
2023-07-07 18:25:24 +03:00 |
|
levlam
|
d40ea33796
|
Store max_active_story_id in User object.
|
2023-07-07 18:06:14 +03:00 |
|
levlam
|
288666c1fe
|
Load all read stories from time to time.
|
2023-07-07 17:41:30 +03:00 |
|
levlam
|
987faa7c6a
|
Rename activeStories to chatActiveStories.
|
2023-07-07 16:52:56 +03:00 |
|
levlam
|
00608a45a3
|
Return chat_id back to activeStories.
|
2023-07-07 16:51:14 +03:00 |
|
levlam
|
bd6e6f28bc
|
Fix handling of RegetDialogLogEvent.
|
2023-07-07 16:44:08 +03:00 |
|
levlam
|
e323256e65
|
Add more logging.
|
2023-07-07 16:22:12 +03:00 |
|
levlam
|
bf3f1c33ae
|
Return updateChatActiveStories in getCurrentState.
|
2023-07-07 16:18:18 +03:00 |
|
levlam
|
3afa9fb5f5
|
Improve update name.
|
2023-07-07 16:13:12 +03:00 |
|
levlam
|
5c3a15e266
|
Remove chat_id from activeStories.
|
2023-07-07 16:08:03 +03:00 |
|
levlam
|
e27ded859b
|
Send update when active stories are moved from one list to another.
|
2023-07-07 16:01:05 +03:00 |
|
levlam
|
7a3604d5b6
|
Add source to StoryManager::on_dialog_active_stories_order_updated.
|
2023-07-07 15:52:55 +03:00 |
|
levlam
|
1737fde5a5
|
Save StoryListId in ActiveStories.
|
2023-07-07 15:49:46 +03:00 |
|
levlam
|
03b0bc84e9
|
Fix StoryManager::update_active_stories_order.
|
2023-07-07 14:31:32 +03:00 |
|
levlam
|
0f8de6c91d
|
Fix warnings.
|
2023-07-06 20:55:02 +03:00 |
|
levlam
|
5130ec7760
|
Add emojiStatus.expiration_date.
|
2023-07-06 20:14:42 +03:00 |
|
levlam
|
565403e241
|
Return raw custom emoji identifiers in emojiStatuses.
|
2023-07-06 19:48:24 +03:00 |
|
levlam
|
5c3bbc7bb9
|
Add getStoryNotificationSettingsExceptions.
|
2023-07-06 19:15:00 +03:00 |
|
levlam
|
b1cb40b22f
|
Add scopeNotificationSettings.use_default_mute_stories.
|
2023-07-06 18:42:44 +03:00 |
|
levlam
|
25c73f32f5
|
Reload active story lists by timeout.
|
2023-07-06 18:22:20 +03:00 |
|
levlam
|
aff810db0d
|
Return back manual load_messages call if receive no messages from database to repair last message with a server-side request.
|
2023-07-06 01:20:34 +03:00 |
|
levlam
|
6ded199729
|
Load last chat messages if there are no known messages in the chat.
|
2023-07-06 01:09:32 +03:00 |
|
levlam
|
a8c1b24318
|
Improve error messages.
|
2023-07-05 16:18:45 +03:00 |
|
levlam
|
aed9823659
|
Fix dup_story_content.
|
2023-07-05 15:40:08 +03:00 |
|
levlam
|
e3625824f9
|
Forcely create chat owning story.
|
2023-07-05 14:48:53 +03:00 |
|
levlam
|
c827eaab6f
|
Support FILE_PART_INVALID errors for sendMedia.
|
2023-07-05 13:08:10 +03:00 |
|
levlam
|
ad193a389c
|
Add FileManager::get_missing_file_parts.
|
2023-07-05 10:55:16 +03:00 |
|
levlam
|
e3e1eda011
|
Completely drop partial remote location if part 0 is missing.
|
2023-07-05 01:13:46 +03:00 |
|
levlam
|
e5b31eb6bd
|
Improve on_story_replied.
|
2023-07-04 19:15:33 +03:00 |
|
levlam
|
88f04fe304
|
Add EditStoryLogEvent.
|
2023-07-04 18:42:43 +03:00 |
|
levlam
|
eb38a48d17
|
Don't compare story notification settings for chat notification settings exceptions.
|
2023-07-04 17:23:22 +03:00 |
|
levlam
|
6b010c0207
|
Add more checks for chat existence before scheduling channel difference.
|
2023-07-04 15:52:06 +03:00 |
|
levlam
|
8d7ba4da1b
|
Add source to schedule_get_channel_difference.
|
2023-07-04 15:23:39 +03:00 |
|
levlam
|
4898f42121
|
Clear more data about deleted stories.
|
2023-07-04 13:42:03 +03:00 |
|
levlam
|
c19cb9b623
|
Improve delete_pending_story.
|
2023-07-03 22:54:42 +03:00 |
|
levlam
|
93149d09fd
|
Add SendStoryLogEvent.
|
2023-07-03 22:03:29 +03:00 |
|
levlam
|
ce95433d54
|
Forcely create chats needed for received story.
|
2023-07-03 21:01:10 +03:00 |
|
levlam
|
13320e5c79
|
Add storer and parser for PendingStory.
|
2023-07-03 20:39:42 +03:00 |
|
levlam
|
9345dc2799
|
Add add_story_dependencies.
|
2023-07-03 20:03:26 +03:00 |
|
levlam
|
fac13ff3a3
|
Check parsed UserPrivacySettingRule for validness.
|
2023-07-03 19:30:50 +03:00 |
|
levlam
|
5ee4070d4e
|
Store DialogIds in UserPrivacySettingRule.
|
2023-07-03 19:20:41 +03:00 |
|
levlam
|
51547fba0e
|
Add StoryManager::delete_pending_story.
|
2023-07-03 18:01:25 +03:00 |
|
levlam
|
36518625c3
|
Add storer and parser for Story.
|
2023-07-03 16:03:28 +03:00 |
|
levlam
|
b04eeb4d87
|
Ignore parsed MessageContent of unknown type.
|
2023-07-03 15:46:31 +03:00 |
|
levlam
|
4dc1bd4988
|
Add storer/parser for StoryContent.
|
2023-07-03 15:42:42 +03:00 |
|
levlam
|
8bc4d800bb
|
Forcely create all chats needed for a message before adding it.
|
2023-07-03 14:09:17 +03:00 |
|
levlam
|
9da2c92ff0
|
Fix source in add_message_to_dialog_message_list.
|
2023-07-03 13:47:08 +03:00 |
|
levlam
|
063f1e8ff6
|
Improve config reloading on restart.
|
2023-07-03 11:26:32 +03:00 |
|
levlam
|
af9351bdfe
|
Reload viewers of replied stories.
|
2023-07-02 19:10:40 +03:00 |
|
levlam
|
312006a207
|
Various fixes.
|
2023-07-01 19:54:22 +03:00 |
|
levlam
|
0ea42c5054
|
Remove unneeded explicit api.h includes.
|
2023-07-01 19:46:10 +03:00 |
|
levlam
|
424de61fcf
|
Add explicit telegram_api.h includes.
|
2023-07-01 19:23:45 +03:00 |
|
levlam
|
7a7d62fd44
|
Fix misprint.
|
2023-07-01 19:13:17 +03:00 |
|
levlam
|
36792bf7b3
|
Make AuthManager::DbState private.
|
2023-07-01 18:40:19 +03:00 |
|
levlam
|
2bf47d0809
|
Minor fixes.
|
2023-07-01 16:22:01 +03:00 |
|
levlam
|
bcf9ff7d43
|
Explicitly include telegram_api.h in cpp files.
|
2023-07-01 14:53:04 +03:00 |
|
levlam
|
25e6e576e8
|
Pass const call to do_update_call.
|
2023-07-01 13:19:46 +03:00 |
|
levlam
|
d67d93e5af
|
Don't use downcast_call in simple cases.
|
2023-07-01 13:11:27 +03:00 |
|
levlam
|
6702a001f0
|
Remove unused api.hpp includes.
|
2023-07-01 12:20:39 +03:00 |
|
levlam
|
7981c4086d
|
Improve documentation.
|
2023-06-30 18:57:16 +03:00 |
|
levlam
|
a210f47062
|
Fix update_active_stories_order.
|
2023-06-30 18:21:15 +03:00 |
|
levlam
|
5a8f8fbe29
|
Drop unreceived active stories from the list.
|
2023-06-30 18:04:17 +03:00 |
|
levlam
|
88eadb56fb
|
Maintain ordered lists of all stories.
|
2023-06-30 17:12:19 +03:00 |
|
levlam
|
1e3aa30ed5
|
Add source to StoryManager::load_dialog_expiring_stories.
|
2023-06-30 16:20:09 +03:00 |
|
levlam
|
a6f2a8f9ae
|
Maintain last story date in the list.
|
2023-06-30 16:05:08 +03:00 |
|
levlam
|
00f88f65f6
|
Repair channel unread counts if the app wasn't launched for long time.
|
2023-06-30 15:16:04 +03:00 |
|
levlam
|
6bd9aea325
|
Update story order when user.is_premium changes.
|
2023-06-30 14:41:39 +03:00 |
|
levlam
|
ab04885dc4
|
Update active stories order.
|
2023-06-30 14:10:42 +03:00 |
|
levlam
|
6f8fbaebf8
|
Always show self stories in the main story list.
|
2023-06-29 16:49:48 +03:00 |
|
levlam
|
2ef550f661
|
Fix processing of active stories.
|
2023-06-29 16:43:06 +03:00 |
|
levlam
|
eb78cf1883
|
Add "story_caption_length_max" option.
|
2023-06-29 15:20:30 +03:00 |
|
levlam
|
cec0ab47b5
|
Add Story.is_edited flag.
|
2023-06-29 15:15:12 +03:00 |
|
levlam
|
b8849a2f81
|
Add td_api::loadActiveStories.
|
2023-06-29 14:22:50 +03:00 |
|
levlam
|
c157ffbfb5
|
Ensure that user_ids are valid in MessageViewers.
|
2023-06-28 21:40:15 +03:00 |
|
levlam
|
26a0d109c2
|
Make MessageViewers fields private.
|
2023-06-28 21:35:59 +03:00 |
|
levlam
|
3a3ae9eabf
|
Explicitly pass Td to Location constructor and don't register locations for bots.
|
2023-06-28 19:01:00 +03:00 |
|
levlam
|
40d11e7935
|
Show changelog stories in story lists.
|
2023-06-28 18:23:40 +03:00 |
|
levlam
|
a52bdbf79c
|
Add LoadDialogExpiringStoriesLogEvent.
|
2023-06-28 17:52:33 +03:00 |
|
levlam
|
ce9bce5994
|
Reload chat active stories when receive a new story.
|
2023-06-28 17:10:14 +03:00 |
|
levlam
|
ffdebbea1f
|
Hide story list for stories of non-contacts.
|
2023-06-28 16:56:17 +03:00 |
|
levlam
|
f8c5220aad
|
Improve function name.
|
2023-06-28 16:38:33 +03:00 |
|
levlam
|
01eac2d6d8
|
tg_cli: simplify addContact.
|
2023-06-28 16:29:20 +03:00 |
|
levlam
|
ebf478ddec
|
Improve get_json_value_long.
|
2023-06-28 16:29:04 +03:00 |
|
levlam
|
f023646c6d
|
Add class StoryList and activeStories.list.
|
2023-06-28 16:09:44 +03:00 |
|
levlam
|
5fd1d06948
|
Improve method names.
|
2023-06-27 22:45:01 +03:00 |
|
levlam
|
5e9d98abce
|
Improve td_api::toggleChatStoriesAreHidden and remove User.stories_are_hidden.
|
2023-06-27 22:40:34 +03:00 |
|
levlam
|
d3e0372b14
|
Use Chat as owner of stories in td_api.
|
2023-06-27 21:51:36 +03:00 |
|
levlam
|
34161cd627
|
Support more story chat notification settings.
|
2023-06-27 19:09:43 +03:00 |
|
levlam
|
b36ea8934b
|
Add more story scope notification settings.
|
2023-06-27 18:30:05 +03:00 |
|
levlam
|
b5020a8fef
|
Add autoDownloadSettings.preload_stories.
|
2023-06-27 17:37:48 +03:00 |
|
levlam
|
3854a8b872
|
Add story.can_be_replied.
|
2023-06-27 17:29:30 +03:00 |
|
levlam
|
09a30a4b3c
|
Support stories_changelog_user_id option.
|
2023-06-27 17:26:17 +03:00 |
|
levlam
|
47d30cc7dc
|
Add sendStory.protect_content.
|
2023-06-27 17:19:10 +03:00 |
|
levlam
|
7571f90a98
|
Add Story.can_be_forwarded.
|
2023-06-27 17:16:22 +03:00 |
|
levlam
|
288043556b
|
Fix CHECK.
|
2023-06-27 15:41:41 +03:00 |
|
levlam
|
37b7e2421a
|
Pass StoryFullId to on_delete_story.
|
2023-06-25 00:37:52 +03:00 |
|
levlam
|
6c4e6eb6ff
|
Explicitly pass Td to get_notification_type_object.
|
2023-06-25 00:09:48 +03:00 |
|
levlam
|
35a3a37e6b
|
Explicitly pass Td to get_push_message_content_object.
|
2023-06-24 23:53:50 +03:00 |
|
levlam
|
6f814dc513
|
Add Story.is_visible_only_for_self.
|
2023-06-24 23:15:05 +03:00 |
|
levlam
|
b8bccde43c
|
Improve method and field names.
|
2023-06-23 19:00:34 +03:00 |
|
levlam
|
2702d19dc4
|
Remove is_me from on_get_user.
|
2023-06-23 18:22:58 +03:00 |
|
levlam
|
a87a41f22d
|
Init True fields for some manually created telegram_api objects.
|
2023-06-23 17:53:38 +03:00 |
|
levlam
|
c3c8af9104
|
Correctly initialize boolean fields in messages from short updates.
|
2023-06-23 16:49:26 +03:00 |
|
levlam
|
8d7262836b
|
Remove incorrect "ignored" comments in conversion from secret chat objects.
|
2023-06-23 16:28:48 +03:00 |
|
levlam
|
c34b4c3ef7
|
Add storyVideo.is_animation.
|
2023-06-23 16:06:02 +03:00 |
|
levlam
|
fca432eb43
|
Don't reload message reactions for messages with being read reactions.
|
2023-06-23 14:39:07 +03:00 |
|
levlam
|
50fdce9ae1
|
Don't add empty promises to query list.
|
2023-06-23 13:50:39 +03:00 |
|
levlam
|
04c4e932fe
|
Reload stories from viewed messages once in 5 minutes.
|
2023-06-23 13:40:59 +03:00 |
|
levlam
|
ebac96e7ec
|
Add get_message_content_story_full_id.
|
2023-06-22 22:39:47 +03:00 |
|
levlam
|
d901f35d21
|
Reload opened stories once in a minute.
|
2023-06-22 22:23:24 +03:00 |
|
levlam
|
5353605f53
|
Use reload_story to get a story for the first time.
|
2023-06-22 22:03:56 +03:00 |
|
levlam
|
afe46a6743
|
Combine reload_story queries.
|
2023-06-22 21:53:03 +03:00 |
|
levlam
|
0f9f380509
|
Reload opened stories once a minute.
|
2023-06-22 21:40:34 +03:00 |
|
levlam
|
70e84101ac
|
Support READ_STORIES push notifications.
|
2023-06-22 21:24:44 +03:00 |
|
levlam
|
b151c1b8b2
|
Add td_api::pushMessageContentStory.
|
2023-06-22 21:18:04 +03:00 |
|
levlam
|
10c44c0cbf
|
Support shorter story links.
|
2023-06-22 20:42:48 +03:00 |
|
levlam
|
f39b906b28
|
Support STORY_DELETED push notification.
|
2023-06-22 15:56:34 +03:00 |
|
levlam
|
579eef5f10
|
Rename ChatReportReason to ReportReason.
|
2023-06-22 13:47:52 +03:00 |
|
levlam
|
26c8c0f4fa
|
Add td_api::reportStory.
|
2023-06-21 23:23:19 +03:00 |
|
levlam
|
0ac33fa9c0
|
Add comment about returning story viewers from cache.
|
2023-06-20 16:40:52 +03:00 |
|
levlam
|
11ae003562
|
Update recent story viewers from the full list.
|
2023-06-20 16:12:12 +03:00 |
|
levlam
|
4e2e6f6e61
|
Cache received story viewers.
|
2023-06-20 15:54:47 +03:00 |
|
levlam
|
c885e3f5fa
|
Add MessageViewer.is_empty().
|
2023-06-20 14:48:51 +03:00 |
|
levlam
|
f152098b92
|
Update Story.can_get_viewers by timeout.
|
2023-06-20 00:05:19 +03:00 |
|
levlam
|
a86b7538a7
|
Delete story from active stories or delete completely when it expires.
|
2023-06-19 20:45:58 +03:00 |
|
levlam
|
00494f8dc3
|
Add global identifiers to stories.
|
2023-06-19 20:13:44 +03:00 |
|
levlam
|
63495795c5
|
Return active stories from cache.
|
2023-06-19 19:55:30 +03:00 |
|
levlam
|
917b4dc1b6
|
Update active stories when a new active story s received.
|
2023-06-19 19:52:16 +03:00 |
|
levlam
|
ca8b80d198
|
Add Story.can_get_viewers.
|
2023-06-19 19:13:08 +03:00 |
|
levlam
|
2bf612c020
|
Add MessageViewers::get_sublist.
|
2023-06-19 18:45:56 +03:00 |
|
levlam
|
c9cd221d77
|
Delete outdated comments.
|
2023-06-19 17:48:12 +03:00 |
|
levlam
|
2ea17ff61a
|
Add td_api::getStoryViewers.
|
2023-06-18 23:25:50 +03:00 |
|
levlam
|
8cb17eb1c3
|
Update max_read_story_id from log events.
|
2023-06-17 23:27:19 +03:00 |
|
levlam
|
25bfb761d4
|
Allow to change "archive_all_stories" option.
|
2023-06-16 17:55:54 +03:00 |
|
levlam
|
4c1ee918b3
|
Add "archive_all_stories" option.
|
2023-06-16 14:58:06 +03:00 |
|
levlam
|
509dd95882
|
Allow IPv6 connections on watchOS.
|
2023-06-16 13:24:21 +03:00 |
|
levlam
|
ee8e2b1481
|
Avoid expected error logging on watchOS.
|
2023-06-16 13:08:50 +03:00 |
|
levlam
|
799531d506
|
Improve story active period checks.
|
2023-06-15 21:48:13 +03:00 |
|
levlam
|
7935fb183c
|
Add userFullInfo.has_pinned_stories.
|
2023-06-15 20:53:58 +03:00 |
|
levlam
|
cc14dbb8a1
|
Add td_api::premiumLimitTypeActiveStoryCount.
|
2023-06-15 20:38:46 +03:00 |
|
levlam
|
087765114a
|
Reload views of opened stories every 10 seconds.
|
2023-06-15 20:07:40 +03:00 |
|
levlam
|
77379bd20f
|
Update interaction info of opened owned stories.
|
2023-06-15 19:30:28 +03:00 |
|
levlam
|
e7c8b0cded
|
Add and use StoryId::get_input_story_ids.
|
2023-06-15 18:57:12 +03:00 |
|
levlam
|
37e5847cc3
|
Add td_api::closeStory and register opened owned stories.
|
2023-06-15 18:34:05 +03:00 |
|
levlam
|
541165e21f
|
Always treat sent stories as read.
|
2023-06-15 15:45:40 +03:00 |
|
levlam
|
2aeeb09b4d
|
Add log event for story reading.
|
2023-06-15 15:25:32 +03:00 |
|
levlam
|
d3a08e06dc
|
Read opened stories on server.
|
2023-06-15 14:51:41 +03:00 |
|
levlam
|
0daccb0850
|
Keep max_read_story_id, even ActiveStories are unknown.
|
2023-06-15 14:10:48 +03:00 |
|
levlam
|
fc878782b6
|
Add StoryManager::get_active_stories.
|
2023-06-15 13:49:23 +03:00 |
|
levlam
|
f4d8fddddd
|
Add td_api::updateActiveStories.
|
2023-06-15 13:47:48 +03:00 |
|
levlam
|
59477f8f98
|
Improve field names.
|
2023-06-15 13:44:09 +03:00 |
|
levlam
|
966eee8a07
|
Update active stories from UserFull.
|
2023-06-15 13:22:36 +03:00 |
|
levlam
|
56df91b265
|
Support updateReadStories.
|
2023-06-15 13:16:31 +03:00 |
|
levlam
|
e89cc266a0
|
Remove deleted stories from the list of active stories.
|
2023-06-15 13:10:02 +03:00 |
|
levlam
|
6af37fc003
|
Always re-check active stories before updating.
|
2023-06-15 12:46:26 +03:00 |
|
levlam
|
680bb80bad
|
Add ActiveStories cache.
|
2023-06-15 12:42:42 +03:00 |
|
levlam
|
2968141507
|
Add only active stories to the list of active stories.
|
2023-06-15 12:00:19 +03:00 |
|
levlam
|
c72a2161d1
|
Process telegram_api::storyItemDeleted everywhere.
|
2023-06-14 20:17:40 +03:00 |
|
levlam
|
26d8af58cc
|
Support storyItemSkipped.
|
2023-06-14 20:10:57 +03:00 |
|
levlam
|
eeefafc214
|
Add td_api::activeStories and return it from getUserActiveStories.
|
2023-06-14 19:27:08 +03:00 |
|
levlam
|
964471af8b
|
Remove redundant story fields.
|
2023-06-14 16:37:09 +03:00 |
|
levlam
|
a4bf0bffa8
|
Use webPage duration if story duration isn't available.
|
2023-06-14 16:19:58 +03:00 |
|
levlam
|
863ee6ac33
|
Send expired story views to the server.
|
2023-06-14 16:06:48 +03:00 |
|
levlam
|
e040b63fd8
|
Add td_api::openStory.
|
2023-06-14 15:17:24 +03:00 |
|
levlam
|
29a1b7e3d6
|
Support media timestamps in replies to stories.
|
2023-06-13 18:20:26 +03:00 |
|
levlam
|
f182e105eb
|
Register web page story sender users for UserFromMessage.
|
2023-06-13 17:14:19 +03:00 |
|
levlam
|
e4382ee206
|
Update message content when story from web page is changed.
|
2023-06-13 16:17:01 +03:00 |
|
levlam
|
62e7640701
|
Add information about Story to web page.
|
2023-06-13 15:45:10 +03:00 |
|
levlam
|
deee074e2f
|
Support min-stories.
|
2023-06-13 14:01:30 +03:00 |
|
levlam
|
64badee6f2
|
Add get_message_content_min_user_ids and register story sender.
|
2023-06-13 13:46:12 +03:00 |
|
levlam
|
55d33a8665
|
Never merge story content files.
|
2023-06-13 12:46:31 +03:00 |
|
levlam
|
b46d311130
|
Forward stories without header.
|
2023-06-12 20:11:41 +03:00 |
|
levlam
|
4b146ee33a
|
Add chatNotificationSettings.mute_stories/use_default_mute_stories.
|
2023-06-12 20:09:23 +03:00 |
|
levlam
|
0791baa6c1
|
Add scopeNotificationSettings.mute_stories.
|
2023-06-12 19:41:18 +03:00 |
|
levlam
|
686f0eabe6
|
Add td_api::messageStory and td_api::inputMessageStory.
|
2023-06-12 19:23:58 +03:00 |
|
levlam
|
9a8262f146
|
Add DialogNotificationSettings::get_input_peer_notify_settings.
|
2023-06-12 16:29:35 +03:00 |
|
levlam
|
3938aea03b
|
Improve method name.
|
2023-06-12 16:10:56 +03:00 |
|
levlam
|
289df57852
|
Update user.has_active_stories after receiving active stories from server.
|
2023-06-12 15:07:37 +03:00 |
|
levlam
|
ed4d6df307
|
Add user.has_active_stories.
|
2023-06-12 15:04:49 +03:00 |
|
levlam
|
20901b6ac5
|
Add td_api::getArchivedStories.
|
2023-06-09 17:21:34 +03:00 |
|
levlam
|
894e246d8f
|
Add sendStory.active_period.
|
2023-06-09 16:41:40 +03:00 |
|
levlam
|
bd4004e0be
|
Add and use ScopeNotificationSettings::get_input_peer_notify_settings.
|
2023-06-09 15:08:00 +03:00 |
|
levlam
|
d51ad4f4e9
|
Update media timestamps in replied messages when story changes.
|
2023-06-09 14:16:56 +03:00 |
|
levlam
|
0b842dec1e
|
Register media timestamp replies to stories.
|
2023-06-09 14:08:16 +03:00 |
|
levlam
|
7c386ca353
|
Support media timestamps in message that a replies to stories.
|
2023-06-09 13:25:52 +03:00 |
|
levlam
|
48f97c3216
|
Support dropping of the replied story.
|
2023-06-08 20:32:57 +03:00 |
|
levlam
|
607ffad07f
|
Ignore is_pinned flag for scheduled messages.
|
2023-06-08 19:13:53 +03:00 |
|
levlam
|
fa94abaccb
|
Allow to reply stories.
|
2023-06-08 17:27:24 +03:00 |
|
levlam
|
6116573a3b
|
Add td_api::MessageReplyTo.
|
2023-06-07 20:32:52 +03:00 |
|
levlam
|
b19b4a3e4f
|
Improve handling of expired messages.
|
2023-06-07 17:00:37 +03:00 |
|
levlam
|
3a20137c03
|
Use StoryFullId for replied story.
|
2023-06-07 15:10:46 +03:00 |
|
levlam
|
457511dca9
|
Add StoryManager::is_inaccessible_story.
|
2023-06-06 16:11:12 +03:00 |
|
levlam
|
f869eca9c4
|
Add StoryManager::get_story_duration.
|
2023-06-06 16:07:29 +03:00 |
|
levlam
|
f4a2dbde41
|
Add StoryManager::have_story.
|
2023-06-06 15:58:27 +03:00 |
|
levlam
|
114c92f365
|
Store replied story sender as DialogId.
|
2023-06-06 15:56:09 +03:00 |
|
levlam
|
56314c5c79
|
Add Message.replied_story_sender_user_id/replied_story_id.
|
2023-06-05 20:45:28 +03:00 |
|
levlam
|
e7ca635db9
|
Improve MessageReplyHeader field names.
|
2023-06-05 19:45:05 +03:00 |
|
levlam
|
2467633a74
|
Support replies to stories in UpdatesManager::is_acceptable_message_reply_header.
|
2023-06-05 19:29:38 +03:00 |
|
levlam
|
b82d711508
|
Ignore STORY_NOT_MODIFIED errors for regular users.
|
2023-06-05 18:28:21 +03:00 |
|
levlam
|
f57ab79f67
|
Add td_api::internalLinkTypeStory.
|
2023-06-05 17:56:16 +03:00 |
|
levlam
|
2fcdb02c39
|
Add td_api::getStory.
|
2023-06-05 16:55:06 +03:00 |
|
levlam
|
11c353dc7f
|
Add td_api::toggleUserStoriesAreArchived.
|
2023-06-05 16:07:44 +03:00 |
|
levlam
|
3adf6294dc
|
Fix chat info checks.
|
2023-06-05 15:30:56 +03:00 |
|
levlam
|
0823f5b169
|
Add user.stories_are_archived flag.
|
2023-06-05 15:20:24 +03:00 |
|
levlam
|
a4bd45bd53
|
Add separate class td_api::storyVideo.
|
2023-06-05 14:51:32 +03:00 |
|
levlam
|
71faaae22f
|
Support precise video duration.
|
2023-06-05 14:33:00 +03:00 |
|
levlam
|
dfeeaf8f87
|
Avoid restoring of deleted stories.
|
2023-06-02 16:46:10 +03:00 |
|
levlam
|
ede8911f05
|
Improve updateStpry updates during story edit.
|
2023-06-02 16:12:18 +03:00 |
|
levlam
|
970173b7f1
|
Add compare_story_contents function.
|
2023-06-02 15:54:43 +03:00 |
|
levlam
|
3501529a95
|
Add updateStoryDeleted,
|
2023-06-01 18:25:59 +03:00 |
|
levlam
|
7ca2061848
|
Add DeleteStoryOnServerLogEvent.
|
2023-06-01 17:41:46 +03:00 |
|
levlam
|
d929790bad
|
Add td_api::deleteStory.
|
2023-06-01 17:28:49 +03:00 |
|
levlam
|
eec9826dec
|
Process telegram_api::updateStory updates.
|
2023-06-01 16:27:00 +03:00 |
|
levlam
|
7bea5721bf
|
Add updateStory.
|
2023-06-01 13:55:11 +03:00 |
|
levlam
|
bf4694db65
|
Improve error messages.
|
2023-05-30 15:02:42 +03:00 |
|
levlam
|
0e2fcdde77
|
Destroy big StoryManager fields asynchronously.
|
2023-05-30 14:44:30 +03:00 |
|
levlam
|
3a6494dd65
|
Add td_api::editStory.
|
2023-05-30 14:41:36 +03:00 |
|
levlam
|
81053032d8
|
Add dup_story_content.
|
2023-05-29 23:00:32 +03:00 |
|
levlam
|
a0fd771da8
|
Add StoryId::is_server().
|
2023-05-29 21:43:03 +03:00 |
|
levlam
|
e169cfc7f7
|
Add copy_story_content function.
|
2023-05-29 20:48:31 +03:00 |
|
levlam
|
77ab0f45c1
|
Add td_api::toggleStoryIsPinned.
|
2023-05-26 14:21:36 +03:00 |
|
levlam
|
936c27577e
|
Check that input content is non-empty inside corresponding functions.
|
2023-05-25 21:25:16 +03:00 |
|
levlam
|
2684df5f01
|
Support story reupload in sendStory.
|
2023-05-25 21:21:10 +03:00 |
|
levlam
|
cdb36baa85
|
tg_cli: improve story sending.
|
2023-05-25 21:10:02 +03:00 |
|
levlam
|
dab66ef541
|
Pass PendingStory to do_send_story.
|
2023-05-25 21:09:31 +03:00 |
|
levlam
|
85e8116a4b
|
tg_cli: add class PrivacyRules.
|
2023-05-25 18:38:15 +03:00 |
|
levlam
|
eb1581a233
|
Add td_api::setStoryPrivacyRules.
|
2023-05-25 18:18:28 +03:00 |
|
levlam
|
173ba06d62
|
Support FILE_PART_MISSING errors for stories.
|
2023-05-25 15:46:04 +03:00 |
|
levlam
|
04764cbc2e
|
Delete partial remote location of uploaded stories.
|
2023-05-25 15:21:43 +03:00 |
|
levlam
|
c73ae5c781
|
Add td_api::sendStory.
|
2023-05-25 15:03:29 +03:00 |
|
levlam
|
b27b9caa89
|
Add FileType::VideoStory.
|
2023-05-25 14:19:54 +03:00 |
|
levlam
|
b88312dda1
|
Add FileType::PhotoStory.
|
2023-05-25 01:26:26 +03:00 |
|
levlam
|
d2ef7d67a7
|
Add get_story_content_input_media.
|
2023-05-24 19:35:45 +03:00 |
|
levlam
|
2b74fb9542
|
Add get_story_content_any_file_id.
|
2023-05-24 17:24:36 +03:00 |
|
levlam
|
41da14fd17
|
Add and use get_story_content_duration.
|
2023-05-24 16:23:05 +03:00 |
|
levlam
|
9610b06abc
|
Fix error logging.
|
2023-05-24 15:46:53 +03:00 |
|
levlam
|
0ef9365e02
|
Add td_api::InputStoryContent.
|
2023-05-23 16:05:04 +03:00 |
|
levlam
|
a049076797
|
Add td_api::getUserExpiringStories.
|
2023-05-21 12:39:53 +03:00 |
|
levlam
|
e763cb2803
|
Add td_api::getUserPinnedStories.
|
2023-05-20 23:24:36 +03:00 |
|
levlam
|
a247dd60ba
|
Support file reference repair for stories.
|
2023-05-20 01:23:33 +03:00 |
|
levlam
|
963091c0cf
|
Add StoryManager::reload_story.
|
2023-05-19 23:34:08 +03:00 |
|
levlam
|
0b8c71419f
|
Add StoryManager::on_get_stories.
|
2023-05-19 23:25:52 +03:00 |
|
levlam
|
8c9bf81359
|
Add StoryManager::delete_story_files.
|
2023-05-19 17:00:33 +03:00 |
|
levlam
|
88620d1347
|
Add G()->story_manager().
|
2023-05-19 16:20:19 +03:00 |
|
levlam
|
f5208dd8bd
|
Add video.preload_prefix_size.
|
2023-05-19 14:57:57 +03:00 |
|
levlam
|
0ec13a13e2
|
Add td_api::story.
|
2023-05-19 13:41:15 +03:00 |
|
levlam
|
c202439a04
|
Add class StoryFullId.
|
2023-05-18 19:57:50 +03:00 |
|
levlam
|
50a0ae50af
|
Add class StoryInteractionInfo.
|
2023-05-18 18:41:07 +03:00 |
|
levlam
|
17fc0c3a88
|
Add separate class for StoryContent.
|
2023-05-18 17:20:22 +03:00 |
|
levlam
|
0fb5916ea2
|
Support simultaneous setUserPrivacySettingRules queries.
|
2023-05-08 20:54:35 +03:00 |
|
levlam
|
59a1ab6cc1
|
Improve PrivacyInfo field names.
|
2023-05-08 20:35:47 +03:00 |
|
levlam
|
021aa7fac7
|
Add class Story.
|
2023-05-08 20:09:01 +03:00 |
|
levlam
|
76321fd9b4
|
Add storer for UserPrivacySettingRules.
|
2023-05-08 18:30:44 +03:00 |
|
levlam
|
a05940b705
|
Make PrivacyManager an ordinary manager.
|
2023-05-08 15:23:57 +03:00 |
|
levlam
|
65e01ad063
|
Ignore errors when processing telegram_api::PrivacyRule.
|
2023-05-08 14:54:57 +03:00 |
|
levlam
|
95f2961c9b
|
Move UserPrivacySetting to a separate header.
|
2023-05-08 14:41:08 +03:00 |
|
levlam
|
c4504af340
|
Explicitly pass Td to UserPrivacySettingRule.
|
2023-05-08 14:15:32 +03:00 |
|
levlam
|
586586d50c
|
Move UserPrivacySettingRule to a separate header.
|
2023-05-08 13:50:51 +03:00 |
|
levlam
|
0030ae30f8
|
Locally update close friends after changing them.
|
2023-05-04 18:42:18 +03:00 |
|
levlam
|
161cc91acf
|
Add td_api::setCloseFriends.
|
2023-05-04 18:27:03 +03:00 |
|
levlam
|
86946c6b1e
|
Reload once contacts to repair close friends.
|
2023-05-03 20:55:28 +03:00 |
|
levlam
|
fb57555f3d
|
Add td_api::getCloseFriends.
|
2023-05-03 20:42:47 +03:00 |
|
levlam
|
a65af73b90
|
Add User.is_close_friend.
|
2023-05-03 20:22:16 +03:00 |
|
levlam
|
d7f72e03b0
|
Add td_api::userPrivacySettingRuleAllowCloseFriends.
|
2023-05-03 19:42:36 +03:00 |
|
levlam
|
83dfdcd9ee
|
Add class StoryId.
|
2023-05-01 22:33:52 +03:00 |
|
levlam
|
b0ab122d91
|
Add StoryManager.
|
2023-05-01 22:19:16 +03:00 |
|
levlam
|
030e440757
|
Update layer to 160.
|
2023-05-01 21:07:01 +03:00 |
|
levlam
|
76e2ff1140
|
Add messageSponsorTypeWebsite.
|
2023-06-02 15:13:20 +03:00 |
|
levlam
|
2969f570b8
|
Add class td_api::messageSponsor.
|
2023-06-02 14:42:28 +03:00 |
|
levlam
|
6e011cb212
|
Add and use full_message_id variable.
|
2023-06-01 15:46:57 +03:00 |
|
levlam
|
24d012bc73
|
Add td_api::searchRecentlyFoundChat.
|
2023-05-16 21:41:19 +03:00 |
|
levlam
|
96da28d4fb
|
Remove supergroupFullInfo.can_set_username; chat username can be changed by its owner and only by the owner.
|
2023-05-10 17:17:26 +03:00 |
|
levlam
|
cdb3df8966
|
Log PTS and QTS gap statistics for each million events.
|
2023-05-09 12:53:48 +03:00 |
|
levlam
|
e8e1236e31
|
Allow clicking sponsored message after it was viewed.
|
2023-05-04 17:33:35 +03:00 |
|
levlam
|
1a5f81163d
|
Add td_api::clickSponsoredMessage.
|
2023-05-04 17:21:50 +03:00 |
|
levlam
|
10338c0490
|
Add privacy setting for bio.
|
2023-05-04 17:03:37 +03:00 |
|
levlam
|
f733cb56ce
|
Fix my_recent_chooser when removing reaction.
|
2023-05-01 18:28:06 +03:00 |
|
levlam
|
e4a15cc0ef
|
Fix MessageReaction::set_my_recent_chooser_dialog_id.
|
2023-05-01 18:09:27 +03:00 |
|
levlam
|
ac81a35283
|
Add td_api::getChatFolderChatCount.
|
2023-05-01 14:57:16 +03:00 |
|
levlam
|
29c0004bfd
|
Automatically send screenshot notification messages.
|
2023-04-30 16:00:20 +03:00 |
|
levlam
|
44d2b0af1e
|
Fix method name.
|
2023-04-29 22:27:31 +03:00 |
|
levlam
|
1b891ddc7b
|
Add chatFolderInfo.is_shareable.
|
2023-04-29 22:04:25 +03:00 |
|
levlam
|
1f8129e94f
|
Invalidate authentication codes from copied messages.
|
2023-04-28 16:36:07 +03:00 |
|
levlam
|
340312e3da
|
Add messageSourceScreenshot and notify about screenshotted codes.
|
2023-04-28 14:44:35 +03:00 |
|
levlam
|
da813f3ee9
|
Support updates.difference in on_get_pts_update.
|
2023-04-27 22:47:45 +03:00 |
|
levlam
|
797156bf11
|
Fast PTS gap repair.
|
2023-04-27 22:01:10 +03:00 |
|
levlam
|
b34955e7a9
|
Use separate request to confirm PTS and QTS.
|
2023-04-27 20:21:30 +03:00 |
|
levlam
|
601a216078
|
Add reactions on behalf of channels.
|
2023-04-27 19:31:31 +03:00 |
|
levlam
|
036a7cd539
|
Ensure that my_dialog_id is the same for all reactions.
|
2023-04-27 18:46:51 +03:00 |
|
levlam
|
b1c627a3be
|
Fix chosen reaction order in MessageReactions::update_from.
|
2023-04-27 17:26:26 +03:00 |
|
levlam
|
e528c85550
|
Remove now unneeded parameters from MessageReactions::remove_reaction.
|
2023-04-27 16:42:38 +03:00 |
|
levlam
|
89cd51b461
|
Add MessageReaction::update_from.
|
2023-04-27 16:37:15 +03:00 |
|
levlam
|
2d0fa11624
|
Support my_recent_chooser_dialog_id.
|
2023-04-27 16:20:54 +03:00 |
|
levlam
|
61e8e863d9
|
Update comment about recent voters.
|
2023-04-27 14:34:52 +03:00 |
|
levlam
|
aa42602701
|
Add td_api::suggestedActionRestorePremium.
|
2023-04-25 16:48:16 +03:00 |
|
levlam
|
38efb6d673
|
Support MessageSenders as poll voters.
|
2023-04-25 16:41:04 +03:00 |
|
levlam
|
48d72677d3
|
Update layer to 159.
|
2023-04-25 14:27:58 +03:00 |
|
levlam
|
e3256e7b4c
|
Use td::append if possible.
|
2023-06-10 23:14:03 +03:00 |
|