tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::connectedAffiliateProgram Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::connectedAffiliateProgram:
td::td_api::Object td::TlObject

Public Member Functions

 connectedAffiliateProgram ()
 
 connectedAffiliateProgram (string const &url_, int53 bot_user_id_, object_ptr< affiliateProgramParameters > &&parameters_, int32 connection_date_, bool is_disconnected_, int64 user_count_, int53 revenue_star_count_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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< affiliateProgramParametersparameters_
 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&#x27;t available anymore.
 
int64 user_count_
 The number of users that used the affiliate program.
 
int53 revenue_star_count_
 The number of Telegram Stars that were earned by the affiliate program.
 

Static Public Attributes

static const std::int32_t ID = -294102864
 Identifier uniquely determining a type of the object.
 

Detailed Description

Describes an affiliate program that was connected to an affiliate.

Definition at line 17060 of file td_api.h.

Constructor & Destructor Documentation

◆ connectedAffiliateProgram() [1/2]

td::td_api::connectedAffiliateProgram::connectedAffiliateProgram ( )

Describes an affiliate program that was connected to an affiliate.

◆ connectedAffiliateProgram() [2/2]

td::td_api::connectedAffiliateProgram::connectedAffiliateProgram ( string const &  url_,
int53  bot_user_id_,
object_ptr< affiliateProgramParameters > &&  parameters_,
int32  connection_date_,
bool  is_disconnected_,
int64  user_count_,
int53  revenue_star_count_ 
)

Describes an affiliate program that was connected to an affiliate.

Parameters
[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&#x27;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.

Member Function Documentation

◆ store()

void td::td_api::connectedAffiliateProgram::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ bot_user_id_

int53 td::td_api::connectedAffiliateProgram::bot_user_id_

User identifier of the bot created the program.

Definition at line 17073 of file td_api.h.

◆ connection_date_

int32 td::td_api::connectedAffiliateProgram::connection_date_

Point in time (Unix timestamp) when the affiliate program was connected.

Definition at line 17077 of file td_api.h.

◆ ID

const std::int32_t td::td_api::connectedAffiliateProgram::ID = -294102864
static

Identifier uniquely determining a type of the object.

Definition at line 17104 of file td_api.h.

◆ is_disconnected_

bool td::td_api::connectedAffiliateProgram::is_disconnected_

True, if the program was canceled by the bot, or disconnected by the chat owner and isn&#x27;t available anymore.

Definition at line 17079 of file td_api.h.

◆ parameters_

object_ptr<affiliateProgramParameters> td::td_api::connectedAffiliateProgram::parameters_

The parameters of the affiliate program.

Definition at line 17075 of file td_api.h.

◆ revenue_star_count_

int53 td::td_api::connectedAffiliateProgram::revenue_star_count_

The number of Telegram Stars that were earned by the affiliate program.

Definition at line 17083 of file td_api.h.

◆ url_

string td::td_api::connectedAffiliateProgram::url_

The link that can be used to refer users if the program is still active.

Definition at line 17071 of file td_api.h.

◆ user_count_

int64 td::td_api::connectedAffiliateProgram::user_count_

The number of users that used the affiliate program.

Definition at line 17081 of file td_api.h.


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