ActorService class final

Represents app.bsky.actor.* service.

Available extensions

Constructors

ActorService.new(BlueskyServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPreferences({Map<String, String>? headers}) Future<XRPCResponse<Preferences>>
https://atprotodart.com/docs/lexicons/app/bsky/actor/getPreferences
getProfile({required String actor, Map<String, String>? headers}) Future<XRPCResponse<ActorProfile>>
https://atprotodart.com/docs/lexicons/app/bsky/actor/getProfile
getProfileRecord() Future<XRPCResponse<ProfileRecord>>

Available on ActorService, provided by the ActorServiceExtension extension

This is the easiest way to retrieve a profile record for authenticated users.
getProfiles({required List<String> actors, Map<String, String>? headers}) Future<XRPCResponse<ActorProfiles>>
https://atprotodart.com/docs/lexicons/app/bsky/actor/getProfiles
getSuggestions({int? limit, String? cursor, Map<String, String>? headers}) Future<XRPCResponse<Actors>>
https://atprotodart.com/docs/lexicons/app/bsky/actor/getSuggestions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
profile({String? displayName, String? description, Blob? avatar, Blob? banner, Labels? labels, StrongRef? joinedViaStarterPack, StrongRef? pinnedPost, DateTime? createdAt}) Future<XRPCResponse<StrongRef>>
https://atprotodart.com/docs/lexicons/app/bsky/actor/profile
putPreferences(List<Preference> preferences) Future<XRPCResponse<EmptyData>>
https://atprotodart.com/docs/lexicons/app/bsky/actor/putPreferences
searchActors({required String term, int? limit, String? cursor, Map<String, String>? headers}) Future<XRPCResponse<Actors>>
https://atprotodart.com/docs/lexicons/app/bsky/actor/searchActors
searchActorsTypeahead({required String term, int? limit, Map<String, String>? headers}) Future<XRPCResponse<ActorsTypeahead>>
https://atprotodart.com/docs/lexicons/app/bsky/actor/searchActorsTypeahead
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited