MessageMediaStory

class pyrogram.raw.types.MessageMediaStory

Represents a forwarded story or a story mention.

Constructor of MessageMedia.

Details:
  • Layer: 194

  • ID: 68CB6283

Parameters:
  • peer (Peer) – Peer that posted the story.

  • id (int 32-bit) – Story ID

  • via_mention (bool, optional) – If set, indicates that this someone has mentioned us in this story (i.e. by tagging us in the description) or vice versa, we have mentioned the other peer (if the message is outgoing).

  • story (StoryItem, optional) – The story itself, if absent fetch it using stories.getStoriesByID and the peer/id parameters specified above.

Functions:

This object can be returned by 3 functions.

messages.GetWebPagePreview

Get preview of webpage

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat)

messages.UploadImportedMedia

Upload a media file associated with an imported chat, click here for more info ».