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 |
|