diff options
| author | levlam <levlam@telegram.org> | 2024-12-11 16:21:39 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-12-11 16:21:39 +0300 |
| commit | 0fc79a5778dc7507146d4b2d6bbcc344f9e22634 (patch) | |
| tree | 7b7bc1ae28f54bb6e8c276de3b64c5f119d872cf /td/telegram/AffiliateType.cpp | |
| parent | da77fd9b77ec5a4681feebae9aac78a82c16f318 (diff) | |
Receive AffiliateType in affiliate program management methods.
Diffstat (limited to 'td/telegram/AffiliateType.cpp')
| -rw-r--r-- | td/telegram/AffiliateType.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/td/telegram/AffiliateType.cpp b/td/telegram/AffiliateType.cpp index fe876456a..3dae8f7e3 100644 --- a/td/telegram/AffiliateType.cpp +++ b/td/telegram/AffiliateType.cpp @@ -69,4 +69,8 @@ td_api::object_ptr<td_api::AffiliateType> AffiliateType::get_affiliate_type_obje } } +StringBuilder &operator<<(StringBuilder &string_builder, const AffiliateType &affiliate_type) { + return string_builder << "affiliate " << affiliate_type.get_dialog_id(); +} + } // namespace td |
