stats.GetStoryPublicForwards

class pyrogram.raw.functions.stats.GetStoryPublicForwards

Obtain forwards of a story as a message to public chats and reposts by public channels.

Details:
  • Layer: 227

  • ID: A6437EF6

Parameters:
  • peer (InputPeer) – Peer where the story was originally posted

  • id (int 32-bit) – Story ID

  • offset (str) – Offset for pagination, from stats.PublicForwards.next_offset.

  • limit (int 32-bit) – Maximum number of results to return, see pagination

Returns:

stats.PublicForwards

TL Schema

stats.getStoryPublicForwards#a6437ef6
peer:InputPeer
id:int
offset:string
limit:int

= stats.PublicForwards

Parameter Tree

GetStoryPublicForwards
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
├── id → int
├── offset → string
└── limit → int

Example

await app.invoke(
    GetStoryPublicForwards(
        peer=await app.resolve_peer(chat_id),
        id=0,
        offset="text",
        limit=0,
    )
)