Layer 220
StatsGetStoryPublicForwards
Obtain forwards of a story as a message to public chats and reposts by public channels.
method
Users
stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Peer where the story was originally posted |
| Id | int | Story ID |
| Offset | string | Offset for pagination, from stats. Public Forwards. next_offset. |
| Limit | int | Maximum number of results to return, see pagination |
Returns
stats.PublicForwardsPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// StatsGetStoryPublicForwards - positional arguments result, err := client.StatsGetStoryPublicForwards(&tg.InputPeerUser{UserID: int64(123456789)}, 0, "...", 0) if err != nil { // handle error } // result is *tg.StatsPublicForwards