MessageActionSuggestedPostApproval

class pyrogram.raw.types.MessageActionSuggestedPostApproval

A suggested post » was approved or rejected.

Constructor of MessageAction.

Details:
  • Layer: 223

  • ID: EE7A1596

Parameters:
  • rejected (bool, optional) – Whether the suggested post was rejected.

  • balance_too_low (bool, optional) – If set, the post was approved but the user’s balance is too low to pay for the suggested post.

  • reject_comment (str, optional) – If the suggested post was rejected, can optionally contain a rejection comment.

  • schedule_date (int 32-bit, optional) – Scheduling date.

  • price (StarsAmount, optional) – Price for the suggested post.

TL Schema

messageActionSuggestedPostApproval#ee7a1596
flags:#
rejected:flags.0?true
balance_too_low:flags.1?true
reject_comment:flags.2?string
schedule_date:flags.3?int
price:flags.4?StarsAmount

= MessageAction

Parameter Tree

MessageActionSuggestedPostApproval
├── rejectedtrue (optional)
├── balance_too_lowtrue (optional)
├── reject_commentstring (optional)
├── schedule_dateint (optional)
└── priceStarsAmount (optional)
├── StarsAmount
│ ├── amountlong
│ └── nanosint
└── StarsTonAmount
└── amountlong

Example

MessageActionSuggestedPostApproval(
)