Contains information about a suggested post.
More...
#include <Types.h>
|
| std::string | state { } |
| | State of the suggested post. Currently, it can be one of “pending”, “approved”, “declined”.
|
| std::shared_ptr< SuggestedPostPrice > | price { } |
| | Optional. Proposed price of the post. If the field is omitted, then the post is unpaid.
|
| std::optional< std::int32_t > | sendDate { } |
| | Optional. 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.
|
Contains information about a suggested post.
Definition at line 13878 of file Types.h.
◆ Ptr
◆ price
Optional. Proposed price of the post. If the field is omitted, then the post is unpaid.
Definition at line 13890 of file Types.h.
◆ sendDate
| std::optional<std::int32_t> TgBot::SuggestedPostInfo::sendDate { } |
Optional. 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.
Definition at line 13897 of file Types.h.
◆ state
| std::string TgBot::SuggestedPostInfo::state { } |
State of the suggested post. Currently, it can be one of “pending”, “approved”, “declined”.
Definition at line 13885 of file Types.h.
The documentation for this struct was generated from the following file: