Layer 220
constructor
suggestedPost#e8e37e5 flags:# accepted:flags.1?true rejected:flags.2?true price:flags.3?StarsAmount schedule_date:flags.0?int = SuggestedPost;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Accepted flags.1?true Whether the suggested post was accepted.
Rejected flags.2?true Whether the suggested post was rejected.
Price flags.3?StarsAmount Price of the suggested post.
ScheduleDate flags.0?int Scheduling date.

Returns

SuggestedPost

Gogram Example

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

    // Optional fields:
    // Accepted: true,
    // Rejected: true,
    // Price: &tg.StarsAmount{},
    // ScheduleDate: 0,
}