#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -294102864 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes an affiliate program that was connected to an affiliate.
Definition at line 17060 of file td_api.h.
◆ connectedAffiliateProgram() [1/2]
| td::td_api::connectedAffiliateProgram::connectedAffiliateProgram |
( |
| ) |
|
Describes an affiliate program that was connected to an affiliate.
◆ connectedAffiliateProgram() [2/2]
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'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. |
◆ 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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ 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't available anymore.
Definition at line 17079 of file td_api.h.
◆ 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:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h