Layer 224
SuggestedPostObj
Contains info about a suggested post.
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 |
|---|---|---|
| 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
SuggestedPostGogram Example
// Creating SuggestedPostObj constructor obj := &tg.SuggestedPostObj{ // Optional fields: // Accepted: true, // Rejected: true, // Price: &tg.StarsAmount{}, // ScheduleDate: 42, }