aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/SendCodeHelper.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2019-03-15 16:52:55 +0300
committerlevlam <levlam@telegram.org>2019-03-15 16:52:55 +0300
commit3ecf990ad62d01c3d76d45d0152352438835a384 (patch)
tree17ad8a4859deb1d2bd62d5bc913fa1a58ac0a2d5 /td/telegram/SendCodeHelper.h
parent547720ccf6d4c2b9a364ac924fad1e855d0690f1 (diff)
Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
Diffstat (limited to 'td/telegram/SendCodeHelper.h')
-rw-r--r--td/telegram/SendCodeHelper.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/td/telegram/SendCodeHelper.h b/td/telegram/SendCodeHelper.h
index 421d47bba..4c32e6ec6 100644
--- a/td/telegram/SendCodeHelper.h
+++ b/td/telegram/SendCodeHelper.h
@@ -54,8 +54,6 @@ class SendCodeHelper {
void parse(ParserT &parser);
private:
- static constexpr int32 AUTH_SEND_CODE_FLAG_ALLOW_FLASH_CALL = 1 << 0;
-
static constexpr int32 SENT_CODE_FLAG_IS_USER_REGISTERED = 1 << 0;
static constexpr int32 SENT_CODE_FLAG_HAS_NEXT_TYPE = 1 << 1;
static constexpr int32 SENT_CODE_FLAG_HAS_TIMEOUT = 1 << 2;
@@ -90,8 +88,11 @@ class SendCodeHelper {
static AuthenticationCodeInfo get_authentication_code_info(
tl_object_ptr<telegram_api::auth_SentCodeType> &&sent_code_type_ptr);
- static tl_object_ptr<td_api::AuthenticationCodeType> get_authentication_code_type_object(
+ static td_api::object_ptr<td_api::AuthenticationCodeType> get_authentication_code_type_object(
const AuthenticationCodeInfo &authentication_code_info);
+
+ static telegram_api::object_ptr<telegram_api::codeSettings> get_input_code_settings(bool allow_flash_call,
+ bool is_current_phone_number);
};
} // namespace td