Link Search Menu Expand Document

Constructor: messageActionSuggestedPostApproval

Back to constructors index

A suggested post » was approved or rejected.

Attributes:

NameTypeRequiredDescription
rejectedBoolOptionalWhether the suggested post was rejected.
balance_too_lowBoolOptionalIf set, the post was approved but the user’s balance is too low to pay for the suggested post.
reject_commentstringOptionalIf the suggested post was rejected, can optionally contain a rejection comment.
schedule_dateintOptionalScheduling date.
priceStarsAmountOptionalPrice for the suggested post.

Type: MessageAction

Example:

$messageActionSuggestedPostApproval = ['_' => 'messageActionSuggestedPostApproval', 'rejected' => Bool, 'balance_too_low' => Bool, 'reject_comment' => 'string', 'schedule_date' => int, 'price' => StarsAmount];