tgbot-cpp
Loading...
Searching...
No Matches
TgBot::SuggestedPostInfo Struct Reference

Contains information about a suggested post. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<SuggestedPostInfo>

Public Attributes

std::string state { }
 State of the suggested post. Currently, it can be one of “pending”, “approved”, “declined”.
std::shared_ptr< SuggestedPostPriceprice { }
 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.

Detailed Description

Contains information about a suggested post.

Definition at line 13878 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 13879 of file Types.h.

Member Data Documentation

◆ price

std::shared_ptr<SuggestedPostPrice> TgBot::SuggestedPostInfo::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: