MadelineProtoDocs/docs/API_docs/constructors/storyFwdHeader.md
2024-05-01 14:53:46 +02:00

1.3 KiB

title description nav_exclude image
storyFwdHeader Contains info about the original poster of a reposted story. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: storyFwdHeader

Back to constructors index

Contains info about the original poster of a reposted story.

Attributes:

Name Type Required Description
modified Bool Optional Whether the story media was modified before reposting it (for example by overlaying a round video with a reaction).
from Peer Optional Peer that originally posted the story; will be empty for stories forwarded from a user with forwards privacy enabled, in which case from_name will be set, instead.
from_name string Optional Will be set for stories forwarded from a user with forwards privacy enabled, in which case from will also be empty.
story_id int Optional , contains the story ID

Type: StoryFwdHeader

Example:

$storyFwdHeader = ['_' => 'storyFwdHeader', 'modified' => Bool, 'from' => Peer, 'from_name' => 'string', 'story_id' => int];