mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
31 lines
948 B
Markdown
31 lines
948 B
Markdown
|
---
|
||
|
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];
|
||
|
```
|