PublicForwardStory

class pyrogram.raw.types.PublicForwardStory

Contains info about a forward of a story as a repost by a public channel.

Constructor of PublicForward.

Details:
  • Layer: 223

  • ID: EDF3ADD0

Parameters:
  • peer (Peer) – The channel that reposted the story.

  • story (StoryItem) – The reposted story (may be different from the original story).

TL Schema

publicForwardStory#edf3add0
peer:Peer
story:StoryItem

= PublicForward

Parameter Tree

PublicForwardStory
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
└── storyStoryItem
│ └── idint
│ ├── close_friendstrue (optional)
│ ├── livetrue (optional)
│ ├── idint
│ ├── dateint
│ └── expire_dateint
└── StoryItem
├── pinnedtrue (optional)
├── publictrue (optional)
├── close_friendstrue (optional)
├── mintrue (optional)
├── noforwardstrue (optional)
├── editedtrue (optional)
├── contactstrue (optional)
├── selected_contactstrue (optional)
├── outtrue (optional)
├── idint
├── dateint
├── from_idPeer (optional)
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── fwd_fromStoryFwdHeader (optional)
│ └── StoryFwdHeader
│ ├── modifiedtrue (optional)
│ ├── from_peerPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── from_namestring (optional)
│ └── story_idint (optional)
├── expire_dateint
├── captionstring (optional)
├── entitiesVector < MessageEntity > (optional)
│ ├── MessageEntityUnknown
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityMention
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityHashtag
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityUrl
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityEmail
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityBold
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityItalic
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityCode
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityPre
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── languagestring
│ ├── MessageEntityTextUrl
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── urlstring
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── user_idlong
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── user_idInputUser
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── MessageEntityPhone
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityCashtag
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityStrike
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityBankCard
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntitySpoiler
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── document_idlong
│ │ ├── collapsedtrue (optional)
│ │ ├── offsetint
│ │ └── lengthint
│ ├── relativetrue (optional)
│ ├── short_timetrue (optional)
│ ├── long_timetrue (optional)
│ ├── short_datetrue (optional)
│ ├── long_datetrue (optional)
│ ├── day_of_weektrue (optional)
│ ├── offsetint
│ ├── lengthint
│ └── dateint
├── mediaMessageMedia
│ ├── MessageMediaEmpty
│ ├── MessageMediaPhoto
│ │ ├── spoilertrue (optional)
│ │ ├── photoPhoto (optional)
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ └── ttl_secondsint (optional)
│ ├── MessageMediaGeo
│ │ └── geoGeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ ├── MessageMediaContact
│ │ ├── phone_numberstring
│ │ ├── first_namestring
│ │ ├── last_namestring
│ │ ├── vcardstring
│ │ └── user_idlong
│ ├── MessageMediaDocument
│ │ ├── nopremiumtrue (optional)
│ │ ├── spoilertrue (optional)
│ │ ├── videotrue (optional)
│ │ ├── roundtrue (optional)
│ │ ├── voicetrue (optional)
│ │ ├── documentDocument (optional)
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── alt_documentsVector < Document > (optional)
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── video_coverPhoto (optional)
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ ├── video_timestampint (optional)
│ │ └── ttl_secondsint (optional)
│ ├── MessageMediaWebPage
│ │ ├── force_large_mediatrue (optional)
│ │ ├── force_small_mediatrue (optional)
│ │ ├── manualtrue (optional)
│ │ ├── safetrue (optional)
│ │ └── webpageWebPage
│ │ ├── WebPageEmpty
│ │ ├── WebPagePending
│ │ ├── WebPage
│ │ └── WebPageNotModified
│ ├── MessageMediaVenue
│ │ ├── geoGeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ ├── titlestring
│ │ ├── addressstring
│ │ ├── providerstring
│ │ ├── venue_idstring
│ │ └── venue_typestring
│ ├── MessageMediaGame
│ │ └── gameGame
│ │ └── Game
│ ├── MessageMediaInvoice
│ │ ├── shipping_address_requestedtrue (optional)
│ │ ├── testtrue (optional)
│ │ ├── titlestring
│ │ ├── descriptionstring
│ │ ├── photoWebDocument (optional)
│ │ │ ├── WebDocument
│ │ │ └── WebDocumentNoProxy
│ │ ├── receipt_msg_idint (optional)
│ │ ├── currencystring
│ │ ├── total_amountlong
│ │ ├── start_paramstring
│ │ └── extended_mediaMessageExtendedMedia (optional)
│ │ ├── MessageExtendedMediaPreview
│ │ └── MessageExtendedMedia
│ ├── MessageMediaGeoLive
│ │ ├── geoGeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ ├── headingint (optional)
│ │ ├── periodint
│ │ └── proximity_notification_radiusint (optional)
│ ├── MessageMediaPoll
│ │ ├── pollPoll
│ │ │ └── Poll
│ │ └── resultsPollResults
│ │ └── PollResults
│ ├── MessageMediaDice
│ │ ├── valueint
│ │ ├── emoticonstring
│ │ └── game_outcomemessages.EmojiGameOutcome (optional)
│ │ └── messages.EmojiGameOutcome
│ ├── MessageMediaStory
│ │ ├── via_mentiontrue (optional)
│ │ ├── peerPeer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── idint
│ │ └── storyStoryItem (optional)
│ │ ├── StoryItemDeleted
│ │ ├── StoryItemSkipped
│ │ └── StoryItem
│ ├── MessageMediaGiveaway
│ │ ├── only_new_subscriberstrue (optional)
│ │ ├── winners_are_visibletrue (optional)
│ │ ├── channelsVector < long >
│ │ ├── countries_iso2Vector < string > (optional)
│ │ ├── prize_descriptionstring (optional)
│ │ ├── quantityint
│ │ ├── monthsint (optional)
│ │ ├── starslong (optional)
│ │ └── until_dateint
│ │ ├── only_new_subscriberstrue (optional)
│ │ ├── refundedtrue (optional)
│ │ ├── channel_idlong
│ │ ├── additional_peers_countint (optional)
│ │ ├── launch_msg_idint
│ │ ├── winners_countint
│ │ ├── unclaimed_countint
│ │ ├── winnersVector < long >
│ │ ├── monthsint (optional)
│ │ ├── starslong (optional)
│ │ ├── prize_descriptionstring (optional)
│ │ └── until_dateint
│ ├── MessageMediaPaidMedia
│ │ ├── stars_amountlong
│ │ └── extended_mediaVector < MessageExtendedMedia >
│ │ ├── MessageExtendedMediaPreview
│ │ └── MessageExtendedMedia
│ ├── MessageMediaToDo
│ │ ├── todoTodoList
│ │ │ └── TodoList
│ │ └── completionsVector < TodoCompletion > (optional)
│ │ └── TodoCompletion
│ ├── rtmp_streamtrue (optional)
│ └── callInputGroupCall
│ ├── InputGroupCall
│ ├── InputGroupCallSlug
├── media_areasVector < MediaArea > (optional)
│ ├── MediaAreaVenue
│ │ ├── coordinatesMediaAreaCoordinates
│ │ │ └── MediaAreaCoordinates
│ │ ├── geoGeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ ├── titlestring
│ │ ├── addressstring
│ │ ├── providerstring
│ │ ├── venue_idstring
│ │ └── venue_typestring
│ ├── InputMediaAreaVenue
│ │ ├── coordinatesMediaAreaCoordinates
│ │ │ └── MediaAreaCoordinates
│ │ ├── query_idlong
│ │ └── result_idstring
│ ├── MediaAreaGeoPoint
│ │ ├── coordinatesMediaAreaCoordinates
│ │ │ └── MediaAreaCoordinates
│ │ ├── geoGeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ └── addressGeoPointAddress (optional)
│ │ └── GeoPointAddress
│ │ ├── darktrue (optional)
│ │ ├── flippedtrue (optional)
│ │ ├── coordinatesMediaAreaCoordinates
│ │ │ └── MediaAreaCoordinates
│ │ └── reactionReaction
│ │ ├── ReactionEmpty
│ │ ├── ReactionEmoji
│ │ ├── ReactionCustomEmoji
│ │ └── ReactionPaid
│ ├── MediaAreaChannelPost
│ │ ├── coordinatesMediaAreaCoordinates
│ │ │ └── MediaAreaCoordinates
│ │ ├── channel_idlong
│ │ └── msg_idint
│ │ ├── coordinatesMediaAreaCoordinates
│ │ │ └── MediaAreaCoordinates
│ │ ├── channelInputChannel
│ │ │ ├── InputChannelEmpty
│ │ │ ├── InputChannel
│ │ │ └── InputChannelFromMessage
│ │ └── msg_idint
│ ├── MediaAreaUrl
│ │ ├── coordinatesMediaAreaCoordinates
│ │ │ └── MediaAreaCoordinates
│ │ └── urlstring
│ ├── MediaAreaWeather
│ │ ├── coordinatesMediaAreaCoordinates
│ │ │ └── MediaAreaCoordinates
│ │ ├── emojistring
│ │ ├── temperature_cdouble
│ │ └── colorint
│ └── MediaAreaStarGift
│ ├── coordinatesMediaAreaCoordinates
│ │ └── MediaAreaCoordinates
│ └── slugstring
├── privacyVector < PrivacyRule > (optional)
│ ├── PrivacyValueAllowAll
│ │ └── usersVector < long >
│ │ └── usersVector < long >
│ │ └── chatsVector < long >
│ │ └── chatsVector < long >
│ ├── PrivacyValueAllowBots
├── viewsStoryViews (optional)
│ └── StoryViews
│ ├── has_viewerstrue (optional)
│ ├── views_countint
│ ├── forwards_countint (optional)
│ ├── reactionsVector < ReactionCount > (optional)
│ │ └── ReactionCount
│ ├── reactions_countint (optional)
│ └── recent_viewersVector < long > (optional)
├── sent_reactionReaction (optional)
│ ├── ReactionEmpty
│ ├── ReactionEmoji
│ │ └── emoticonstring
│ ├── ReactionCustomEmoji
│ │ └── document_idlong
│ └── ReactionPaid
└── albumsVector < int > (optional)

Example

PublicForwardStory(
    peer=PeerUser(user_id=0),
    story=StoryItemDeleted(id=0),
)