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

Describes a service message about a payment refund for a suggested post. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<SuggestedPostRefunded>

Public Attributes

std::shared_ptr< MessagesuggestedPostMessage { }
 Optional. Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
std::string reason { }
 Reason for the refund. Currently, one of “post_deleted” if the post was deleted within 24 hours of being posted or removed from scheduled messages without being posted, or “payment_refunded” if the payer refunded their payment.

Detailed Description

Describes a service message about a payment refund for a suggested post.

Definition at line 13991 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 13992 of file Types.h.

Member Data Documentation

◆ reason

std::string TgBot::SuggestedPostRefunded::reason { }

Reason for the refund. Currently, one of “post_deleted” if the post was deleted within 24 hours of being posted or removed from scheduled messages without being posted, or “payment_refunded” if the payer refunded their payment.

Definition at line 14005 of file Types.h.

◆ suggestedPostMessage

std::shared_ptr<Message> TgBot::SuggestedPostRefunded::suggestedPostMessage { }

Optional. Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.

Definition at line 13998 of file Types.h.


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