From ffe6dc8660f44e37fef188426a75f59e89c16654 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 27 Jun 2017 09:34:02 +0200 Subject: [PATCH] Add some more constants --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index b273a13..264dc69 100644 --- a/main.cpp +++ b/main.cpp @@ -304,6 +304,9 @@ extern "C" { voip.constant("NET_TYPE_DIALUP", 10); voip.constant("NET_TYPE_OTHER_MOBILE", 11); + voip.constant("DATA_SAVING_NEVER", 0); + voip.constant("DATA_SAVING_MOBILE", 1); + voip.constant("DATA_SAVING_ALWAYS", 2); Php::Namespace danog("danog"); Php::Namespace MadelineProto("MadelineProto");