aboutsummaryrefslogtreecommitdiff
path: root/easy-tg.h
diff options
context:
space:
mode:
Diffstat (limited to 'easy-tg.h')
-rw-r--r--easy-tg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/easy-tg.h b/easy-tg.h
index 11370e6..c7ec68c 100644
--- a/easy-tg.h
+++ b/easy-tg.h
@@ -39,6 +39,7 @@
#define TG_REQ_SET_PARAMS "set_params"
#define TG_REQ_LOGIN_PHONE "login_phone"
+#define TG_REQ_LOGIN_TOKEN "login_token"
#define TG_REQ_LOGIN_CODE "login_code"
#define TG_REQ_LOGIN_PASS "login_pass"
@@ -96,6 +97,10 @@ int tg_login_phone(
const char *phone_number
);
/* MT-Safe */
+int tg_login_token(
+ const char *token
+ );
+/* MT-Safe */
int tg_login_code(
const char *code
);