aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/AffiliateType.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2024-12-11 16:21:39 +0300
committerlevlam <levlam@telegram.org>2024-12-11 16:21:39 +0300
commit0fc79a5778dc7507146d4b2d6bbcc344f9e22634 (patch)
tree7b7bc1ae28f54bb6e8c276de3b64c5f119d872cf /td/telegram/AffiliateType.cpp
parentda77fd9b77ec5a4681feebae9aac78a82c16f318 (diff)
Receive AffiliateType in affiliate program management methods.
Diffstat (limited to 'td/telegram/AffiliateType.cpp')
-rw-r--r--td/telegram/AffiliateType.cpp4
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