UpdateMonoForumNoPaidException

class pyrogram.raw.types.UpdateMonoForumNoPaidException

An admin has (un)exempted this monoforum topic » from payment to send messages using account.toggleNoPaidMessagesException.

Constructor of Update.

Details:
  • Layer: 223

  • ID: 9F812B08

Parameters:
  • channel_id (int 64-bit) – The monoforum ID.

  • saved_peer_id (Peer) – The peer/topic ID.

  • exception (bool, optional) – If set, an admin has exempted this peer, otherwise the peer was unexempted.

TL Schema

updateMonoForumNoPaidException#9f812b08
flags:#
exception:flags.0?true
channel_id:long
saved_peer_id:Peer

= Update

Parameter Tree

UpdateMonoForumNoPaidException
├── exceptiontrue (optional)
├── channel_idlong
└── saved_peer_idPeer
├── PeerUser
│ └── user_idlong
├── PeerChat
│ └── chat_idlong
└── PeerChannel
└── channel_idlong

Example

UpdateMonoForumNoPaidException(
    channel_id=0,
    saved_peer_id=PeerUser(user_id=0),
)