Update to layer 95

This commit is contained in:
Lonami Exo
2019-02-21 12:40:47 +01:00
parent abadf3c789
commit 0934f71c02
2 changed files with 15 additions and 10 deletions

View File

@@ -403,7 +403,7 @@ class AuthMethods(MessageParseMethods, UserMethods):
if not phone_hash:
try:
result = await self(functions.auth.SendCodeRequest(
phone, self.api_id, self.api_hash))
phone, self.api_id, self.api_hash, types.CodeSettings()))
except errors.AuthRestartError:
return self.send_code_request(phone, force_sms=force_sms)