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

Arguments for Api::editUserStarSubscription. More...

#include <Types.h>

Public Attributes

bool isCanceled { }
 Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot.
std::string telegramPaymentChargeId { }
 Telegram payment identifier for the subscription.
std::int64_t userId { }
 Identifier of the user whose subscription will be edited.

Detailed Description

Arguments for Api::editUserStarSubscription.

Definition at line 16125 of file Types.h.

Member Data Documentation

◆ isCanceled

bool TgBot::EditUserStarSubscriptionArgs::isCanceled { }

Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot.

Definition at line 16132 of file Types.h.

◆ telegramPaymentChargeId

std::string TgBot::EditUserStarSubscriptionArgs::telegramPaymentChargeId { }

Telegram payment identifier for the subscription.

Definition at line 16137 of file Types.h.

◆ userId

std::int64_t TgBot::EditUserStarSubscriptionArgs::userId { }

Identifier of the user whose subscription will be edited.

Definition at line 16142 of file Types.h.


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