InputReplyToStory

class pyrogram.raw.types.InputReplyToStory

Reply to a story.

Constructor of InputReplyTo.

Details:
  • Layer: 227

  • ID: 5881323A

Parameters:
  • peer (InputPeer) – Sender of the story

  • story_id (int 32-bit) – ID of the story to reply to.

TL Schema

inputReplyToStory#5881323a
peer:InputPeer
story_id:int

= InputReplyTo

Parameter Tree

InputReplyToStory
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
└── story_id → int

Example

InputReplyToStory(
    peer=await app.resolve_peer(chat_id),
    story_id=0,
)