getAuthorizationForm method
Get Authorization Form.
ID: a929597a
.
Implementation
Future<Result<AccountAuthorizationFormBase>> getAuthorizationForm({
required int botId,
required String scope,
required String publicKey,
}) async {
// Preparing the request.
final request = AccountGetAuthorizationForm(
botId: botId,
scope: scope,
publicKey: publicKey,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<AccountAuthorizationFormBase>();
}