Commit Graph

10380 Commits

Author SHA1 Message Date
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
96fef663bb Improve inputStoryContentVideo documentation. 2023-06-12 16:25:31 +03:00
levlam
3938aea03b Improve method name. 2023-06-12 16:10:56 +03:00
levlam
c62c84665a Update sendMessage usages in tests and examples. 2023-06-12 15:30:07 +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