stories.GetStoriesViews
- class pyrogram.raw.functions.stories.GetStoriesViews
Obtain info about the view count, forward count, reactions and recent viewers of one or more stories.
- Details:
Layer:
223ID:
28E16CC8
- Parameters:
peer (
InputPeer) – Peer whose stories should be fetchedid (List of
int32-bit) – Story IDs
- Returns:
TL Schema
stories.getStoriesViews#28e16cc8
peer:InputPeer
id:Vector<int>
= stories.StoryViews
Parameter Tree
GetStoriesViews
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── 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 →
Vector < int >Example
await app.invoke(
GetStoriesViews(
peer=await app.resolve_peer(chat_id),
id=[0],
)
)