Story.forward()¶
- Story.forward()¶
Bound method forward of
Story.Use as a shortcut for:
await client.forward_story( chat_id=chat_id, from_chat_id=story.chat.id, story_id=story.id )
Example
await story.forward(chat_id)- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”. For a contact that exists in your Telegram address book you can use his phone number (str).message_thread_id (
int, optional) – Unique identifier of a message thread to which the message belongs. For supergroups only.disable_notification (
bool, optional) – Sends the message silently. Users will receive a notification with no sound.schedule_date (
datetime, optional) – Date when the message will be automatically sent.repeat_period (
int, optional) – Period after which the message will be sent again in seconds.paid_message_star_count (
int, optional) – The number of Telegram Stars the user agreed to pay to send the messages.
- Returns:
On success, the forwarded Message is returned.
- Raises:
RPCError – In case of a Telegram RPC error.