peyk.platforms.telegram.types.suggested_post_info¶
Classes
|
Contains information about a suggested post. |
- class peyk.platforms.telegram.types.suggested_post_info.SuggestedPostInfo(price: object | None = None, send_date: int | None = None, is_approved: bool | None = None, is_declined: bool | None = None, decline_comment: str | None = None, refund_reason: str | None = None)[source]¶
Bases:
objectContains information about a suggested post.
- Variables:
state – State of the suggested post. Currently, it can be one of ‘pending’, ‘approved’, ‘declined’.
price (object | None) – Proposed price of the post. If the field is omitted, then the post is unpaid.
send_date (int | None) – Proposed send date of the post. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user or administrator who approves it.
- price: object | None = None¶
- send_date: int | None = None¶
- is_approved: bool | None = None¶
- is_declined: bool | None = None¶
- decline_comment: str | None = None¶
- refund_reason: str | None = None¶
- classmethod from_dict(data: dict | None) SuggestedPostInfo | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.