Story.forward()
- Story.forward()
Bound method forward of
Message
.Use as a shortcut for:
await client.forward_story( from_chat_id='wulan17', from_story_id=1, caption='Hello guys.' )
- Parameters:
chat_id (
int
, optional) – Unique identifier (int) of the target channel. If you want to forward story to a channel.privacy (
StoriesPrivacyRules
, optional) – Story privacy. Defaults toPUBLIC
allowed_users (List of
int
, optional) – List of user_id whos allowed to view the story.denied_users (List of
int
, optional) – List of user_id whos denied to view the story.pinned (
bool
, optional) – if True, the story will be pinned. default to False.protect_content (
bool
, optional) – Protects the contents of the sent story from forwarding and saving. default to False.caption (
str
, optional) – Story caption, 0-1024 characters.parse_mode (
ParseMode
, optional) – By default, texts are parsed using both Markdown and HTML styles. You can combine both syntaxes together.caption_entities (List of
MessageEntity
) – List of special entities that appear in the caption, which can be specified instead of parse_mode.period (
int
, optional) – How long the story will posted, in secs. only for premium users.
- Returns:
Story
a single story is returned.- Raises:
ValueError – In case of invalid arguments.