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

Contains parameters of a post that is being suggested by the bot. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<SuggestedPostParameters>

Public Attributes

std::shared_ptr< SuggestedPostPriceprice { }
 Optional. Proposed price for 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 specified, then the date must be between 300 second and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it.

Detailed Description

Contains parameters of a post that is being suggested by the bot.

Definition at line 13942 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 13943 of file Types.h.

Member Data Documentation

◆ price

std::shared_ptr<SuggestedPostPrice> TgBot::SuggestedPostParameters::price { }

Optional. Proposed price for the post. If the field is omitted, then the post is unpaid.

Definition at line 13948 of file Types.h.

◆ sendDate

std::optional<std::int32_t> TgBot::SuggestedPostParameters::sendDate { }

Optional. Proposed send date of the post. If specified, then the date must be between 300 second and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it.

Definition at line 13956 of file Types.h.


The documentation for this struct was generated from the following file: