diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 6dd00d8a6..1335c5d98 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -5693,6 +5693,9 @@ updateStory story:story = Update; //@description A story became inaccessible @story_sender_user_id Identifier of the user that created the story @story_id Story identifier updateStoryDeleted story_sender_user_id:int53 story_id:int32 = Update; +//@description The list of active stories of a specific sender has changed @active_stories The new list of active stories +updateActiveStories active_stories:activeStories = Update; + //@description An option changed its value @name The option name @value The new option value updateOption name:string value:OptionValue = Update; diff --git a/td/telegram/StoryManager.cpp b/td/telegram/StoryManager.cpp index 6ced66077..1774674e3 100644 --- a/td/telegram/StoryManager.cpp +++ b/td/telegram/StoryManager.cpp @@ -1237,7 +1237,8 @@ void StoryManager::on_update_active_stories(DialogId owner_dialog_id, StoryId ma } void StoryManager::send_update_active_stories(DialogId owner_dialog_id) { - // TODO + send_closure(G()->td(), &Td::send_update, + td_api::make_object(get_active_stories_object(owner_dialog_id))); } void StoryManager::on_update_read_stories(DialogId owner_dialog_id, StoryId max_read_story_id) {