stories.IncrementStoryViews
- class pyrogram.raw.functions.stories.IncrementStoryViews
Increment the view counter of one or more stories.
- Details:
Layer:
223ID:
B2028AFB
- Parameters:
peer (
InputPeer) – Peer where the stories were posted.id (List of
int32-bit) – IDs of the stories (maximum 200 at a time).
- Returns:
bool
TL Schema
stories.incrementStoryViews#b2028afb
peer:InputPeer
id:Vector<int>
= Bool
Parameter Tree
IncrementStoryViews
├── 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(
IncrementStoryViews(
peer=await app.resolve_peer(chat_id),
id=[0],
)
)