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: 223

  • 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
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── idint
├── offsetstring
└── limitint

Example

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