Inherits Object.
Describes an affiliate program that was connected to an affiliate.
Public Fields | |
string | url_ |
The link that can be used to refer users if the program is still active. | |
int53 | bot_user_id_ |
User identifier of the bot created the program. | |
object_ptr< affiliateProgramParameters > | parameters_ |
The parameters of the affiliate program. | |
int32 | connection_date_ |
Point in time (Unix timestamp) when the affiliate program was connected. | |
bool | is_disconnected_ |
True, if the program was canceled by the bot, or disconnected by the chat owner and isn't available anymore. | |
int64 | user_count_ |
The number of users that used the affiliate program. | |
int64 | revenue_star_count_ |
The number of Telegram Stars that were earned by the affiliate program. | |
Public Instance Methods | |
connectedAffiliateProgram () | |
connectedAffiliateProgram (string const &url_, int53 bot_user_id_, object_ptr< affiliateProgramParameters > &¶meters_, int32 connection_date_, bool is_disconnected_, int64 user_count_, int64 revenue_star_count_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1488942101 |
Identifier uniquely determining a type of the object. | |
Describes an affiliate program that was connected to an affiliate.
connectedAffiliateProgram | ( | string const & | url_, |
int53 | bot_user_id_, | ||
object_ptr< affiliateProgramParameters > && | parameters_, | ||
int32 | connection_date_, | ||
bool | is_disconnected_, | ||
int64 | user_count_, | ||
int64 | revenue_star_count_ | ||
) |
Describes an affiliate program that was connected to an affiliate.
[in] | url_ | The link that can be used to refer users if the program is still active. |
[in] | bot_user_id_ | User identifier of the bot created the program. |
[in] | parameters_ | The parameters of the affiliate program. |
[in] | connection_date_ | Point in time (Unix timestamp) when the affiliate program was connected. |
[in] | is_disconnected_ | True, if the program was canceled by the bot, or disconnected by the chat owner and isn't available anymore. |
[in] | user_count_ | The number of users that used the affiliate program. |
[in] | revenue_star_count_ | The number of Telegram Stars that were earned by the affiliate program. |
|
finalvirtual |