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

Arguments for Api::approveSuggestedPost. More...

#include <Types.h>

Public Attributes

std::variant< std::int64_t, std::string > chatId { }
 Unique identifier for the target direct messages chat.
std::uint32_t messageId { }
 Identifier of a suggested post message to approve.
std::int32_t sendDate = 0
 Point in time (Unix timestamp) when the post is expected to be published; omit if the date has already been specified when the suggested post was created. If specified, then the date must be not more than 2678400 seconds (30 days) in the future.

Detailed Description

Arguments for Api::approveSuggestedPost.

Definition at line 15460 of file Types.h.

Member Data Documentation

◆ chatId

std::variant<std::int64_t, std::string> TgBot::ApproveSuggestedPostArgs::chatId { }

Unique identifier for the target direct messages chat.

Definition at line 15464 of file Types.h.

◆ messageId

std::uint32_t TgBot::ApproveSuggestedPostArgs::messageId { }

Identifier of a suggested post message to approve.

Definition at line 15469 of file Types.h.

◆ sendDate

std::int32_t TgBot::ApproveSuggestedPostArgs::sendDate = 0

Point in time (Unix timestamp) when the post is expected to be published; omit if the date has already been specified when the suggested post was created. If specified, then the date must be not more than 2678400 seconds (30 days) in the future.

Definition at line 15477 of file Types.h.


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