stats.getStoryPublicForwards #

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

Layer 223

stats.publicForwards#93037e20 flags:# count:int forwards:Vector<PublicForward> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = stats.PublicForwards;
---functions---
stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards;

Parameters #

NameTypeDescription
peerInputPeerPeer where the story was originally posted
idintStory ID
offsetstringOffset for pagination, from stats.PublicForwards.next_offset.
limitintMaximum number of results to return, see pagination

Result #

stats.PublicForwards

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

Telegram Stories #

Telegram users and channels can easily post and view stories through the API.

stats.publicForwards #

Contains info about the forwards of a story as a message to public chats and reposts by public channels.

Pagination in the API #

How to fetch results from large lists of objects.