StoryItem
- class pyrogram.raw.types.StoryItem
Represents a story.
Constructor of
StoryItem
.- Details:
Layer:
194
ID:
79B26A24
- Parameters:
id (
int
32-bit
) – ID of the story.date (
int
32-bit
) – When was the story posted.expire_date (
int
32-bit
) – When does the story expire.media (
MessageMedia
) – Story media.pinned (
bool
, optional) – Whether this story is pinned on the user’s profilepublic (
bool
, optional) – Whether this story is public and can be viewed by everyoneclose_friends (
bool
, optional) – Whether this story can only be viewed by our close friends, see here » for more infomin (
bool
, optional) – Full information about this story was omitted for space and performance reasons; use stories.getStoriesByID to fetch full info about this story when and if needed.noforwards (
bool
, optional) – Whether this story is protected and thus cannot be forwarded; clients should also prevent users from saving attached media (i.e. videos should only be streamed, photos should be kept in RAM, et cetera).edited (
bool
, optional) – Indicates whether the story was edited.contacts (
bool
, optional) – Whether this story can only be viewed by our contactsselected_contacts (
bool
, optional) – Whether this story can only be viewed by a select list of our contactsout (
bool
, optional) – indicates whether we sent this story.from_id (
Peer
, optional)fwd_from (
StoryFwdHeader
, optional) – For reposted stories », contains info about the original story.caption (
str
, optional) – Story caption.entities (List of
MessageEntity
, optional) – Message entities for styled textmedia_areas (List of
MediaArea
, optional) – List of media areas, see here » for more info on media areas.privacy (List of
PrivacyRule
, optional) – Privacy rules indicating who can and can’t view this storyviews (
StoryViews
, optional) – View date and reaction informationsent_reaction (
Reaction
, optional) – The reaction we sent.