checkPaidAuth method
Check Paid Auth.
ID: 56e59f9c.
Implementation
Future<Result<AuthSentCodeBase>> checkPaidAuth({
required String phoneNumber,
required String phoneCodeHash,
required int formId,
}) async {
// Preparing the request.
final request = AuthCheckPaidAuth(
phoneNumber: phoneNumber,
phoneCodeHash: phoneCodeHash,
formId: formId,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<AuthSentCodeBase>();
}