aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/BotCommand.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2021-06-21 04:01:13 +0300
committerlevlam <levlam@telegram.org>2021-06-21 04:01:13 +0300
commit1904aa77b13b2089d6018eac74e482d0a7b09097 (patch)
tree52de2f9b735fe19ad4f1877fd11e547b05ba6d5a /td/telegram/BotCommand.h
parent5f9fd502b701f17069ecf64fd797aa73366218cd (diff)
Add bot_commands to *Full.
Diffstat (limited to 'td/telegram/BotCommand.h')
-rw-r--r--td/telegram/BotCommand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/td/telegram/BotCommand.h b/td/telegram/BotCommand.h
index a0d48fd82..33444f3b5 100644
--- a/td/telegram/BotCommand.h
+++ b/td/telegram/BotCommand.h
@@ -62,6 +62,10 @@ class BotCommands {
td_api::object_ptr<td_api::botCommands> get_bot_commands_object(Td *td) const;
+ UserId get_bot_user_id() const {
+ return bot_user_id_;
+ }
+
template <class StorerT>
void store(StorerT &storer) const {
td::store(bot_user_id_, storer);