aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/BusinessGreetingMessage.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2024-03-20 19:26:17 +0300
committerlevlam <levlam@telegram.org>2024-03-20 19:26:17 +0300
commit0e4dc27542dea28c944be39c094066010ab45d2f (patch)
tree773f536d0eac9209a34c6b54fc4157f221974b0a /td/telegram/BusinessGreetingMessage.cpp
parent9913390bfe30fa76667028d36975516b146cc178 (diff)
Add BusinessInfo dependencies.
Diffstat (limited to 'td/telegram/BusinessGreetingMessage.cpp')
-rw-r--r--td/telegram/BusinessGreetingMessage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/td/telegram/BusinessGreetingMessage.cpp b/td/telegram/BusinessGreetingMessage.cpp
index f37f446fe..e34f3afe9 100644
--- a/td/telegram/BusinessGreetingMessage.cpp
+++ b/td/telegram/BusinessGreetingMessage.cpp
@@ -6,6 +6,8 @@
//
#include "td/telegram/BusinessGreetingMessage.h"
+#include "td/telegram/Dependencies.h"
+
#include "td/utils/misc.h"
namespace td {
@@ -49,6 +51,10 @@ BusinessGreetingMessage::get_input_business_greeting_message(Td *td) const {
shortcut_id_.get(), recipients_.get_input_business_recipients(td), inactivity_days_);
}
+void BusinessGreetingMessage::add_dependencies(Dependencies &dependencies) const {
+ recipients_.add_dependencies(dependencies);
+}
+
bool operator==(const BusinessGreetingMessage &lhs, const BusinessGreetingMessage &rhs) {
return lhs.shortcut_id_ == rhs.shortcut_id_ && lhs.recipients_ == rhs.recipients_ &&
lhs.inactivity_days_ == rhs.inactivity_days_;