mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Update API scheme to layer 95.
This commit is contained in:
@@ -160,11 +160,12 @@ void PhoneWidget::submit() {
|
||||
//_sentRequest = MTP::send(MTPauth_CheckPhone(MTP_string(_sentPhone)), rpcDone(&PhoneWidget::phoneCheckDone), rpcFail(&PhoneWidget::phoneSubmitFail));
|
||||
_sentRequest = MTP::send(
|
||||
MTPauth_SendCode(
|
||||
MTP_flags(0),
|
||||
MTP_string(_sentPhone),
|
||||
MTPBool(),
|
||||
MTP_int(ApiId),
|
||||
MTP_string(ApiHash)),
|
||||
MTP_string(ApiHash),
|
||||
MTP_codeSettings(
|
||||
MTP_flags(0),
|
||||
MTPstring())),
|
||||
rpcDone(&PhoneWidget::phoneSubmitDone),
|
||||
rpcFail(&PhoneWidget::phoneSubmitFail));
|
||||
}
|
||||
|
Reference in New Issue
Block a user