Pyrogram v2.2.12#
Scheme layer used: 203#
Scheme layer used: 202#
Added the method
post_story()allowing bots to post a story on behalf of a managed business account.Added the method
edit_story()andedit_business_story(), allowing bots to edit stories they had previously posted on behalf of a managed business account.Added the methods
delete_stories()anddelete_business_story(), allowing bots to delete stories they had previously posted on behalf of a managed business account.Added the classes
InputStoryContentPhotoandInputStoryContentVideorepresenting the content of a story to post.Added the classes
StoryArea,StoryAreaPosition,LocationAddress,StoryAreaTypeLocation,StoryAreaTypeSuggestedReaction,StoryAreaTypeLink,StoryAreaTypeWeather,StoryAreaTypeUniqueGift,StoryAreaTypeFoundVenueandStoryAreaTypeMessagedescribing clickable active areas on stories.Added the classes
StoryPrivacySettings,StoryPrivacySettingsEveryone,StoryPrivacySettingsContacts,StoryPrivacySettingsCloseFriends,StoryPrivacySettingsSelectedUsersto describe the privacy settings of a story.Added the methods
can_post_story(),hide_my_story_view(),forward_story(),toggle_story_is_posted_to_chat_page(),get_chat_active_stories(),get_chat_archived_stories().Add support for parsing story links in
get_messages().