stories.EditStory#
- class pyrogram.raw.functions.stories.EditStory#
Edit an uploaded story May also be used in a business connection, not by wrapping the query in invokeWithBusinessConnection , but rather by specifying the ID of a controlled business user in peer: in this context, the method can only be used to edit stories posted by the same business bot on behalf of the user with stories.sendStory.
- Details:
Layer:
220ID:
B583BA46
- Parameters:
- peer (
InputPeer): Peer where the story was posted.
- id (
int32-bit): ID of story to edit.
- media (
InputMedia, optional): If specified, replaces the story media.
- media_areas (List of
MediaArea, optional): Media areas associated to the story, see here » for more info.
- caption (
str, optional): If specified, replaces the story caption.
- entities (List of
MessageEntity, optional): Message entities for styled text in the caption, if allowed by the stories_entities client configuration parameter ».
- privacy_rules (List of
InputPrivacyRule, optional): If specified, alters the privacy settings » of the story, changing who can or can’t view the story.
- peer (
- Returns: