Story.edit_video()

Story.edit_video()

Bound method edit_video of Story.

Use as a shortcut for:

await client.edit_story(
    story_id=story.id,
    video="/path/to/video.mp4"
)

Example

await story.edit_video("/path/to/video.mp4")
Parameters:

video (str | BinaryIO) – New video of the story.

Returns:

On success, the edited Story is returned.

Raises:

RPCError – In case of a Telegram RPC error.