SuggestedPost
- class pyrogram.raw.types.SuggestedPost
Contains info about a suggested post ».
Constructor of
SuggestedPost.- Details:
Layer:
223ID:
E8E37E5
- Parameters:
accepted (
bool, optional) – Whether the suggested post was accepted.rejected (
bool, optional) – Whether the suggested post was rejected.price (
StarsAmount, optional) – Price of the suggested post.schedule_date (
int32-bit, optional) – Scheduling date.
TL Schema
suggestedPost#e8e37e5
flags:#
accepted:flags.1?true
rejected:flags.2?true
price:flags.3?StarsAmount
schedule_date:flags.0?int
= SuggestedPost
Parameter Tree
SuggestedPost
├── accepted →
true (optional)├── rejected →
true (optional)├── price →
StarsAmount (optional)│ ├──
StarsAmount│ │ ├── amount →
long│ │ └── nanos →
int│ └──
StarsTonAmount│ └── amount →
long└── schedule_date →
int (optional)Example
SuggestedPost(
)