stories.EditStory

class pyrogram.raw.functions.stories.EditStory

Edit an uploaded story

Details:
  • Layer: 187

  • ID: B583BA46

Parameters:
  • peer (InputPeer) – Peer where the story was posted.

  • id (int 32-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.

Returns:

Updates