resolveUsername method
Resolve Username.
ID: f93ccba3
.
Implementation
Future<Result<ContactsResolvedPeerBase>> resolveUsername({
required String username,
}) async {
// Preparing the request.
final request = ContactsResolveUsername(
username: username,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<ContactsResolvedPeerBase>();
}