Layer 220
constructor
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;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Rejected flags.0?true Whether the suggested post was rejected.
BalanceTooLow flags.1?true If set, the post was approved but the user's balance is too low to pay for the suggested post.
RejectComment flags.2?string If the suggested post was rejected, can optionally contain a rejection comment.
ScheduleDate flags.3?int Scheduling date.
Price flags.4?StarsAmount Price for the suggested post.

Returns

MessageAction

Gogram Example

// Creating MessageActionSuggestedPostApproval constructor
obj := &tg.MessageActionSuggestedPostApproval{

    // Optional fields:
    // Rejected: true,
    // BalanceTooLow: true,
    // RejectComment: "...",
    // ScheduleDate: 0,
    // ... more optional fields
}