summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/td/telegram/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/tdlib/td/td/telegram/misc.h')
-rw-r--r--protocols/Telegram/tdlib/td/td/telegram/misc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/Telegram/tdlib/td/td/telegram/misc.h b/protocols/Telegram/tdlib/td/td/telegram/misc.h
index 934338f6d2..37c91b76e8 100644
--- a/protocols/Telegram/tdlib/td/td/telegram/misc.h
+++ b/protocols/Telegram/tdlib/td/td/telegram/misc.h
@@ -1,5 +1,5 @@
//
-// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022
+// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -8,6 +8,7 @@
#include "td/utils/common.h"
#include "td/utils/Slice.h"
+#include "td/utils/Status.h"
namespace td {
@@ -44,4 +45,7 @@ string get_emoji_fingerprint(uint64 num);
// checks whether currency amount is valid
bool check_currency_amount(int64 amount);
+// checks whether language code is valid for bot settings
+Status validate_bot_language_code(const string &language_code);
+
} // namespace td