UpdateStory
- class pyrogram.raw.types.UpdateStory
A new story was posted.
Constructor of
Update.- Details:
Layer:
223ID:
75B3B798
TL Schema
updateStory#75b3b798
peer:Peer
story:StoryItem
= Update
Parameter Tree
UpdateStory
├── peer →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long└── story →
StoryItem├──
StoryItemDeleted│ └── id →
int├──
StoryItemSkipped│ ├── close_friends →
true (optional)│ ├── live →
true (optional)│ ├── id →
int│ ├── date →
int│ └── expire_date →
int└──
StoryItem├── pinned →
true (optional)├── public →
true (optional)├── close_friends →
true (optional)├── min →
true (optional)├── noforwards →
true (optional)├── edited →
true (optional)├── contacts →
true (optional)├── selected_contacts →
true (optional)├── out →
true (optional)├── id →
int├── date →
int├── from_id →
Peer (optional)│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── fwd_from →
StoryFwdHeader (optional)│ └──
StoryFwdHeader│ ├── modified →
true (optional)│ ├── from_peer →
Peer (optional)│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ ├── from_name →
string (optional)│ └── story_id →
int (optional)├── expire_date →
int├── caption →
string (optional)├── entities →
Vector < MessageEntity > (optional)│ ├──
MessageEntityUnknown│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityMention│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityHashtag│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityBotCommand│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityUrl│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityEmail│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityBold│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityItalic│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityCode│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityPre│ │ ├── offset →
int│ │ ├── length →
int│ │ └── language →
string│ ├──
MessageEntityTextUrl│ │ ├── offset →
int│ │ ├── length →
int│ │ └── url →
string│ ├──
MessageEntityMentionName│ │ ├── offset →
int│ │ ├── length →
int│ │ └── user_id →
long│ │ ├── offset →
int│ │ ├── length →
int│ │ └── user_id →
InputUser│ │ ├──
InputUserEmpty│ │ ├──
InputUserSelf│ │ ├──
InputUser│ │ └──
InputUserFromMessage│ ├──
MessageEntityPhone│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityCashtag│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityUnderline│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityStrike│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityBankCard│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntitySpoiler│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityCustomEmoji│ │ ├── offset →
int│ │ ├── length →
int│ │ └── document_id →
long│ ├──
MessageEntityBlockquote│ │ ├── collapsed →
true (optional)│ │ ├── offset →
int│ │ └── length →
int│ ├── relative →
true (optional)│ ├── short_time →
true (optional)│ ├── long_time →
true (optional)│ ├── short_date →
true (optional)│ ├── long_date →
true (optional)│ ├── day_of_week →
true (optional)│ ├── offset →
int│ ├── length →
int│ └── date →
int├── media →
MessageMedia│ ├──
MessageMediaEmpty│ ├──
MessageMediaPhoto│ │ ├── spoiler →
true (optional)│ │ ├── photo →
Photo (optional)│ │ │ ├──
PhotoEmpty│ │ │ └──
Photo│ │ └── ttl_seconds →
int (optional)│ ├──
MessageMediaGeo│ │ └── geo →
GeoPoint│ │ ├──
GeoPointEmpty│ │ └──
GeoPoint│ ├──
MessageMediaContact│ │ ├── phone_number →
string│ │ ├── first_name →
string│ │ ├── last_name →
string│ │ ├── vcard →
string│ │ └── user_id →
long│ ├──
MessageMediaUnsupported│ ├──
MessageMediaDocument│ │ ├── nopremium →
true (optional)│ │ ├── spoiler →
true (optional)│ │ ├── video →
true (optional)│ │ ├── round →
true (optional)│ │ ├── voice →
true (optional)│ │ ├── document →
Document (optional)│ │ │ ├──
DocumentEmpty│ │ │ └──
Document│ │ ├── alt_documents →
Vector < Document > (optional)│ │ │ ├──
DocumentEmpty│ │ │ └──
Document│ │ ├── video_cover →
Photo (optional)│ │ │ ├──
PhotoEmpty│ │ │ └──
Photo│ │ ├── video_timestamp →
int (optional)│ │ └── ttl_seconds →
int (optional)│ ├──
MessageMediaWebPage│ │ ├── force_large_media →
true (optional)│ │ ├── force_small_media →
true (optional)│ │ ├── manual →
true (optional)│ │ ├── safe →
true (optional)│ │ └── webpage →
WebPage│ │ ├──
WebPageEmpty│ │ ├──
WebPagePending│ │ ├──
WebPage│ │ └──
WebPageNotModified│ ├──
MessageMediaVenue│ │ ├── geo →
GeoPoint│ │ │ ├──
GeoPointEmpty│ │ │ └──
GeoPoint│ │ ├── title →
string│ │ ├── address →
string│ │ ├── provider →
string│ │ ├── venue_id →
string│ │ └── venue_type →
string│ ├──
MessageMediaGame│ │ └── game →
Game│ │ └──
Game│ ├──
MessageMediaInvoice│ │ ├── shipping_address_requested →
true (optional)│ │ ├── test →
true (optional)│ │ ├── title →
string│ │ ├── description →
string│ │ ├── photo →
WebDocument (optional)│ │ │ ├──
WebDocument│ │ │ └──
WebDocumentNoProxy│ │ ├── receipt_msg_id →
int (optional)│ │ ├── currency →
string│ │ ├── total_amount →
long│ │ ├── start_param →
string│ │ └── extended_media →
MessageExtendedMedia (optional)│ │ ├──
MessageExtendedMediaPreview│ │ └──
MessageExtendedMedia│ ├──
MessageMediaGeoLive│ │ ├── geo →
GeoPoint│ │ │ ├──
GeoPointEmpty│ │ │ └──
GeoPoint│ │ ├── heading →
int (optional)│ │ ├── period →
int│ │ └── proximity_notification_radius →
int (optional)│ ├──
MessageMediaPoll│ │ ├── poll →
Poll│ │ │ └──
Poll│ │ └── results →
PollResults│ │ └──
PollResults│ ├──
MessageMediaDice│ │ ├── value →
int│ │ ├── emoticon →
string│ │ └── game_outcome →
messages.EmojiGameOutcome (optional)│ │ └──
messages.EmojiGameOutcome│ ├──
MessageMediaStory│ │ ├── via_mention →
true (optional)│ │ ├── peer →
Peer│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── id →
int│ │ └── story →
StoryItem (optional)│ │ ├──
StoryItemDeleted│ │ ├──
StoryItemSkipped│ │ └──
StoryItem│ ├──
MessageMediaGiveaway│ │ ├── only_new_subscribers →
true (optional)│ │ ├── winners_are_visible →
true (optional)│ │ ├── channels →
Vector < long >│ │ ├── countries_iso2 →
Vector < string > (optional)│ │ ├── prize_description →
string (optional)│ │ ├── quantity →
int│ │ ├── months →
int (optional)│ │ ├── stars →
long (optional)│ │ └── until_date →
int│ │ ├── only_new_subscribers →
true (optional)│ │ ├── refunded →
true (optional)│ │ ├── channel_id →
long│ │ ├── additional_peers_count →
int (optional)│ │ ├── launch_msg_id →
int│ │ ├── winners_count →
int│ │ ├── unclaimed_count →
int│ │ ├── winners →
Vector < long >│ │ ├── months →
int (optional)│ │ ├── stars →
long (optional)│ │ ├── prize_description →
string (optional)│ │ └── until_date →
int│ ├──
MessageMediaPaidMedia│ │ ├── stars_amount →
long│ │ └── extended_media →
Vector < MessageExtendedMedia >│ │ ├──
MessageExtendedMediaPreview│ │ └──
MessageExtendedMedia│ ├──
MessageMediaToDo│ │ ├── todo →
TodoList│ │ │ └──
TodoList│ │ └── completions →
Vector < TodoCompletion > (optional)│ │ └──
TodoCompletion│ └──
MessageMediaVideoStream│ ├── rtmp_stream →
true (optional)│ └── call →
InputGroupCall│ ├──
InputGroupCall│ ├──
InputGroupCallSlug├── media_areas →
Vector < MediaArea > (optional)│ ├──
MediaAreaVenue│ │ ├── coordinates →
MediaAreaCoordinates│ │ │ └──
MediaAreaCoordinates│ │ ├── geo →
GeoPoint│ │ │ ├──
GeoPointEmpty│ │ │ └──
GeoPoint│ │ ├── title →
string│ │ ├── address →
string│ │ ├── provider →
string│ │ ├── venue_id →
string│ │ └── venue_type →
string│ ├──
InputMediaAreaVenue│ │ ├── coordinates →
MediaAreaCoordinates│ │ │ └──
MediaAreaCoordinates│ │ ├── query_id →
long│ │ └── result_id →
string│ ├──
MediaAreaGeoPoint│ │ ├── coordinates →
MediaAreaCoordinates│ │ │ └──
MediaAreaCoordinates│ │ ├── geo →
GeoPoint│ │ │ ├──
GeoPointEmpty│ │ │ └──
GeoPoint│ │ └── address →
GeoPointAddress (optional)│ │ └──
GeoPointAddress│ │ ├── dark →
true (optional)│ │ ├── flipped →
true (optional)│ │ ├── coordinates →
MediaAreaCoordinates│ │ │ └──
MediaAreaCoordinates│ │ └── reaction →
Reaction│ │ ├──
ReactionEmpty│ │ ├──
ReactionEmoji│ │ ├──
ReactionCustomEmoji│ │ └──
ReactionPaid│ ├──
MediaAreaChannelPost│ │ ├── coordinates →
MediaAreaCoordinates│ │ │ └──
MediaAreaCoordinates│ │ ├── channel_id →
long│ │ └── msg_id →
int│ │ ├── coordinates →
MediaAreaCoordinates│ │ │ └──
MediaAreaCoordinates│ │ ├── channel →
InputChannel│ │ │ ├──
InputChannelEmpty│ │ │ ├──
InputChannel│ │ │ └──
InputChannelFromMessage│ │ └── msg_id →
int│ ├──
MediaAreaUrl│ │ ├── coordinates →
MediaAreaCoordinates│ │ │ └──
MediaAreaCoordinates│ │ └── url →
string│ ├──
MediaAreaWeather│ │ ├── coordinates →
MediaAreaCoordinates│ │ │ └──
MediaAreaCoordinates│ │ ├── emoji →
string│ │ ├── temperature_c →
double│ │ └── color →
int│ └──
MediaAreaStarGift│ ├── coordinates →
MediaAreaCoordinates│ │ └──
MediaAreaCoordinates│ └── slug →
string├── privacy →
Vector < PrivacyRule > (optional)│ ├──
PrivacyValueAllowAll│ ├──
PrivacyValueAllowUsers│ │ └── users →
Vector < long >│ ├──
PrivacyValueDisallowAll│ │ └── users →
Vector < long >│ │ └── chats →
Vector < long >│ │ └── chats →
Vector < long >│ ├──
PrivacyValueAllowPremium│ ├──
PrivacyValueAllowBots│ └──
PrivacyValueDisallowBots├── views →
StoryViews (optional)│ └──
StoryViews│ ├── has_viewers →
true (optional)│ ├── views_count →
int│ ├── forwards_count →
int (optional)│ ├── reactions →
Vector < ReactionCount > (optional)│ │ └──
ReactionCount│ ├── reactions_count →
int (optional)│ └── recent_viewers →
Vector < long > (optional)├── sent_reaction →
Reaction (optional)│ ├──
ReactionEmpty│ ├──
ReactionEmoji│ │ └── emoticon →
string│ ├──
ReactionCustomEmoji│ │ └── document_id →
long│ └──
ReactionPaid└── albums →
Vector < int > (optional)Example
UpdateStory(
peer=PeerUser(user_id=0),
story=StoryItemDeleted(id=0),
)