forward_story()#
- Client.forward_story()#
Send story.
Usable by Users Bots- 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).from_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).story_id (
int
) – Unique identifier of story.disable_notification (
bool
, optional) – Sends the message with story silently. Users will receive a notification with no sound.message_thread_id (
int
, optional) – Unique identifier for the target message thread (topic) of the forum. For supergroups only.schedule_date (
datetime
, optional) – Date when the message will be automatically sent.
- Returns:
Message
– On success, the sent story message is returned.
Example
# Send your story to chat_id await app.forward_story(to_chat, from_chat, 123)