InputDialogPeer

class pyrogram.raw.base.InputDialogPeer

Peer, or all peers in a certain folder

Constructors:

This base type has 2 constructors available.

InputDialogPeer

A peer

InputDialogPeerFolder

All peers in a peer folder

TL Schema

inputDialogPeer#fcaafeb7
peer:InputPeer

= InputDialogPeer

Parameter Tree

InputDialogPeer
└── peer → InputPeer
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_id → long
├── InputPeerUser
│ ├── user_id → long
│ └── access_hash → long
│ ├── 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
├── msg_id → int
└── channel_id → long

Example

InputDialogPeer(
    peer=await app.resolve_peer(chat_id),
)