MadelineProtoDocs/docs/API_docs/constructors/publicForwardStory.md

31 lines
948 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "publicForwardStory"
description: "Contains info about a forward of a story as a repost by a public channel."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: publicForwardStory
[Back to constructors index](/API_docs/constructors/index.html)
Contains info about a forward of a [story](https://core.telegram.org/api/stories) as a repost by a public channel.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|peer|[long](/API_docs/types/long.html) | Yes|The channel that reposted the story.|
|story|[StoryItem](/API_docs/types/StoryItem.html) | Yes|The reposted story (may be different from the original story).|
### Type: [PublicForward](/API_docs/types/PublicForward.html)
### Example:
```
$publicForwardStory = ['_' => 'publicForwardStory', 'peer' => long, 'story' => StoryItem];
```