PaidReactionPrivacyPeer

class pyrogram.raw.types.PaidReactionPrivacyPeer

Send paid reactions as the specified peer, fetched using channels.getSendAs.

Constructor of PaidReactionPrivacy.

Details:
  • Layer: 227

  • ID: DC6CFCF0

Parameters:

peer (InputPeer) – The peer to send reactions as.

TL Schema

paidReactionPrivacyPeer#dc6cfcf0
peer:InputPeer

= PaidReactionPrivacy

Parameter Tree

PaidReactionPrivacyPeer
└── 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

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