MessageActionSuggestedPostApproval
- class pyrogram.raw.types.MessageActionSuggestedPostApproval
A suggested post » was approved or rejected.
Constructor of
MessageAction.- Details:
Layer:
223ID:
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 (
int32-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
├── rejected →
true (optional)├── balance_too_low →
true (optional)├── reject_comment →
string (optional)├── schedule_date →
int (optional)└── price →
StarsAmount (optional)Example
MessageActionSuggestedPostApproval(
)