stories.togglePeerStoriesHidden #

Hide the active stories of a user, preventing them from being displayed on the action bar on the homescreen, see here » for more info.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
stories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool;

Parameters #

NameTypeDescription
peerInputPeerPeer whose stories should be (un)hidden.
hiddenBoolWhether to hide or unhide stories.

Result #

Bool

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.