Class BlueskyServer
- Namespace
- idunno.Bluesky
- Assembly
- idunno.Bluesky.dll
API wrappers for BlueskyAPIs.
public static class BlueskyServerInheritance
Inherited Members
Properties
BlueskyJsonSerializerOptions
Gets a System.Text.Json.JsonSerializerOptions which includes the Bluesky record types.
public static JsonSerializerOptions BlueskyJsonSerializerOptions { get; }Property Value
BlueskyJsonSerializerOptions
Gets a System.Text.Json.JsonSerializerOptions which includes the Bluesky record types.
public static JsonSerializerOptions BlueskyJsonSerializerOptions { get; }Property Value
BlueskyJsonSerializerOptions
Gets a System.Text.Json.JsonSerializerOptions which includes the Bluesky record types.
public static JsonSerializerOptions BlueskyJsonSerializerOptions { get; }Property Value
Methods
AbortUpload(string, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Abort an upload only while it is created, releasing its quota reservation immediately. Terminal sessions are unchanged and return their terminal outcome. A finishing session returns UploadNotReady.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AbortUploadResponse>> AbortUpload(string jobId, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to abort.
serviceUri-
The System.Uri of the service to send the abort request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AbortUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
AbortUpload(string, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Abort an upload only while it is created, releasing its quota reservation immediately. Terminal sessions are unchanged and return their terminal outcome. A finishing session returns UploadNotReady.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AbortUploadResponse>> AbortUpload(string jobId, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to abort.
serviceUri-
The System.Uri of the service to send the abort request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AbortUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
AbortUpload(string, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Abort an upload only while it is created, releasing its quota reservation immediately. Terminal sessions are unchanged and return their terminal outcome. A finishing session returns UploadNotReady.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AbortUploadResponse>> AbortUpload(string jobId, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to abort.
serviceUri-
The System.Uri of the service to send the abort request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AbortUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
AcceptConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Accepts the conversation specified by the conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AcceptConversationResponse>> AcceptConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to accept.
serviceUri-
The System.Uri of the service to accept the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AcceptConversationResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,accessCredentials,serviceorhttpClientare null.
AcceptConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Accepts the conversation specified by the conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AcceptConversationResponse>> AcceptConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to accept.
serviceUri-
The System.Uri of the service to accept the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AcceptConversationResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,accessCredentials,serviceorhttpClientare null.
AcceptConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Accepts the conversation specified by the conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AcceptConversationResponse>> AcceptConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to accept.
serviceUri-
The System.Uri of the service to accept the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AcceptConversationResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,accessCredentials,serviceorhttpClientare null.
AddMembersToGroup(string, IEnumerable<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Adds members to a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AddMembersResponse>> AddMembersToGroup(string conversationId, IEnumerable<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to add members to.
membersIEnumerable<Did>-
The idunno.AtProto.Dids of the members to add to the conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AddMembersResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,members,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
membersis empty.
AddMembersToGroup(string, IEnumerable<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Adds members to a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AddMembersResponse>> AddMembersToGroup(string conversationId, IEnumerable<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to add members to.
membersIEnumerable<Did>-
The idunno.AtProto.Dids of the members to add to the conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AddMembersResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,members,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
membersis empty.
AddMembersToGroup(string, IEnumerable<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Adds members to a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<AddMembersResponse>> AddMembersToGroup(string conversationId, IEnumerable<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to add members to.
membersIEnumerable<Did>-
The idunno.AtProto.Dids of the members to add to the conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AddMembersResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,members,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
membersis empty.
AddReaction(string, string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Adds a reaction to the message identified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> AddReaction(string conversationId, string messageId, string value, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to add the reaction to identified by
messageIdfrom. messageIdstring-
The message identifier to add the reaction to from
conversationId. valuestring-
The reaction to add.
serviceUri-
The System.Uri of the service to add the reaction on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationId,messageIdorvalueis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,messageId,value,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
valuehas a grapheme length that does not equal 1, or is longer than idunno.Bluesky.Maximum.ReactionLengthInBytes UTF-8 bytes.
AddReaction(string, string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Adds a reaction to the message identified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> AddReaction(string conversationId, string messageId, string value, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to add the reaction to identified by
messageIdfrom. messageIdstring-
The message identifier to add the reaction to from
conversationId. valuestring-
The reaction to add.
serviceUri-
The System.Uri of the service to add the reaction on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationId,messageIdorvalueis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,messageId,value,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
valuehas a grapheme length that does not equal 1, or is longer than idunno.Bluesky.Maximum.ReactionLengthInBytes UTF-8 bytes.
AddReaction(string, string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Adds a reaction to the message identified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> AddReaction(string conversationId, string messageId, string value, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to add the reaction to identified by
messageIdfrom. messageIdstring-
The message identifier to add the reaction to from
conversationId. valuestring-
The reaction to add.
serviceUri-
The System.Uri of the service to add the reaction on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationId,messageIdorvalueis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,messageId,value,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
valuehas a grapheme length that does not equal 1, or is longer than idunno.Bluesky.Maximum.ReactionLengthInBytes UTF-8 bytes.
ApproveJoinGroupRequest(string, Did, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Approves a join request for a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ApproveJoinResponse>> ApproveJoinGroupRequest(string conversationId, Did member, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to approve
memberfor. memberDid-
The idunno.AtProto.Did to approve the join for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ApproveJoinResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,member,service,accessCredentialsorhttpClientis null.
ApproveJoinGroupRequest(string, Did, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Approves a join request for a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ApproveJoinResponse>> ApproveJoinGroupRequest(string conversationId, Did member, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to approve
memberfor. memberDid-
The idunno.AtProto.Did to approve the join for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ApproveJoinResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,member,service,accessCredentialsorhttpClientis null.
ApproveJoinGroupRequest(string, Did, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Approves a join request for a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ApproveJoinResponse>> ApproveJoinGroupRequest(string conversationId, Did member, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to approve
memberfor. memberDid-
The idunno.AtProto.Did to approve the join for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ApproveJoinResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,member,service,accessCredentialsorhttpClientis null.
CreateBookmark(AtUri, Cid, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a bookmark on the specified account from the specified uri and cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> CreateBookmark(AtUri uri, Cid cid, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to bookmark.
cidCid-
The idunno.AtProto.Cid of the post to bookmark.
serviceUri-
The System.Uri of the service to add the bookmark to.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
uri,cid,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
uridoes not point to a post.
CreateBookmark(AtUri, Cid, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a bookmark on the specified account from the specified uri and cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> CreateBookmark(AtUri uri, Cid cid, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to bookmark.
cidCid-
The idunno.AtProto.Cid of the post to bookmark.
serviceUri-
The System.Uri of the service to add the bookmark to.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
uri,cid,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
uridoes not point to a post.
CreateBookmark(AtUri, Cid, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a bookmark on the specified account from the specified uri and cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> CreateBookmark(AtUri uri, Cid cid, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to bookmark.
cidCid-
The idunno.AtProto.Cid of the post to bookmark.
serviceUri-
The System.Uri of the service to add the bookmark to.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
uri,cid,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
uridoes not point to a post.
CreateDraft(Draft, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a new draft for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<TimestampIdentifier>> CreateDraft(Draft draft, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftDraft-
The idunno.Bluesky.Drafts.Draft to create.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<TimestampIdentifier>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draft,service,accessCredentialsorhttpClientare null.
CreateDraft(Draft, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a new draft for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<TimestampIdentifier>> CreateDraft(Draft draft, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftDraft-
The idunno.Bluesky.Drafts.Draft to create.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<TimestampIdentifier>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draft,service,accessCredentialsorhttpClientare null.
CreateDraft(Draft, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a new draft for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<TimestampIdentifier>> CreateDraft(Draft draft, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftDraft-
The idunno.Bluesky.Drafts.Draft to create.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<TimestampIdentifier>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draft,service,accessCredentialsorhttpClientare null.
CreateGroup(ICollection<Did>, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a group conversation and invites members to join it.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<CreateGroupResponse>> CreateGroup(ICollection<Did> members, string name, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
The members to add to the group. The owner is automatically added. Implementations may enforce a lower maximum than the 10,000-item schema limit; Bluesky currently supports up to 100 total members. If the owner is included in this list, the list may contain up to the implementation's total member limit. Otherwise, it may contain one fewer.
namestring-
The name of the group conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<CreateGroupResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
members,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
nameis null or empty. - ArgumentOutOfRangeException
-
Thrown when
membersis empty or exceeds the maximum number of members, or whennameexceeds the maximum length.
CreateGroup(ICollection<Did>, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a group conversation and invites members to join it.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<CreateGroupResponse>> CreateGroup(ICollection<Did> members, string name, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
The members to add to the group. The owner is automatically added. Implementations may enforce a lower maximum than the 10,000-item schema limit; Bluesky currently supports up to 100 total members. If the owner is included in this list, the list may contain up to the implementation's total member limit. Otherwise, it may contain one fewer.
namestring-
The name of the group conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<CreateGroupResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
members,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
nameis null or empty. - ArgumentOutOfRangeException
-
Thrown when
membersis empty or exceeds the maximum number of members, or whennameexceeds the maximum length.
CreateGroup(ICollection<Did>, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a group conversation and invites members to join it.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<CreateGroupResponse>> CreateGroup(ICollection<Did> members, string name, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
The members to add to the group. The owner is automatically added. Implementations may enforce a lower maximum than the 10,000-item schema limit; Bluesky currently supports up to 100 total members. If the owner is included in this list, the list may contain up to the implementation's total member limit. Otherwise, it may contain one fewer.
namestring-
The name of the group conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<CreateGroupResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
members,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
nameis null or empty. - ArgumentOutOfRangeException
-
Thrown when
membersis empty or exceeds the maximum number of members, or whennameexceeds the maximum length.
CreateJoinGroupLink(string, bool, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a join link for a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<CreateJoinLinkResponse>> CreateJoinGroupLink(string conversationId, bool requireApproval, string joinRule, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to create the link for.
requireApprovalbool-
Indicates whether approval is required to join the conversation.
joinRulestring-
The rule for joining the conversation. Known values are in idunno.Bluesky.Chat.Group.JoinRule
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<CreateJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,joinRule,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdorjoinRuleis empty.
CreateJoinGroupLink(string, bool, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a join link for a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<CreateJoinLinkResponse>> CreateJoinGroupLink(string conversationId, bool requireApproval, string joinRule, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to create the link for.
requireApprovalbool-
Indicates whether approval is required to join the conversation.
joinRulestring-
The rule for joining the conversation. Known values are in idunno.Bluesky.Chat.Group.JoinRule
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<CreateJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,joinRule,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdorjoinRuleis empty.
CreateJoinGroupLink(string, bool, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a join link for a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<CreateJoinLinkResponse>> CreateJoinGroupLink(string conversationId, bool requireApproval, string joinRule, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to create the link for.
requireApprovalbool-
Indicates whether approval is required to join the conversation.
joinRulestring-
The rule for joining the conversation. Known values are in idunno.Bluesky.Chat.Group.JoinRule
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<CreateJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,joinRule,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdorjoinRuleis empty.
DeleteBookmark(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes a bookmark on the specified account for the specified uri.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> DeleteBookmark(AtUri uri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to delete the bookmark for.
serviceUri-
The System.Uri of the service to delete the bookmark from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
uri,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
uridoes not point to a post.
DeleteBookmark(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes a bookmark on the specified account for the specified uri.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> DeleteBookmark(AtUri uri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to delete the bookmark for.
serviceUri-
The System.Uri of the service to delete the bookmark from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
uri,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
uridoes not point to a post.
DeleteBookmark(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes a bookmark on the specified account for the specified uri.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> DeleteBookmark(AtUri uri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to delete the bookmark for.
serviceUri-
The System.Uri of the service to delete the bookmark from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
uri,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
uridoes not point to a post.
DeleteDraft(TimestampIdentifier, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes a draft by ID.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> DeleteDraft(TimestampIdentifier draftId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftIdTimestampIdentifier-
The ID of the draft to delete.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draftId,service,accessCredentialsorhttpClientare null.
DeleteDraft(TimestampIdentifier, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes a draft by ID.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> DeleteDraft(TimestampIdentifier draftId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftIdTimestampIdentifier-
The ID of the draft to delete.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draftId,service,accessCredentialsorhttpClientare null.
DeleteDraft(TimestampIdentifier, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes a draft by ID.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> DeleteDraft(TimestampIdentifier draftId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftIdTimestampIdentifier-
The ID of the draft to delete.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draftId,service,accessCredentialsorhttpClientare null.
DeleteMessageForSelf(string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes the message specified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<DeletedMessageView>> DeleteMessageForSelf(string conversationId, string messageId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to delete the message identified by
messageIdfrom. messageIdstring-
The message identifier to delete from
conversationId. serviceUri-
The System.Uri of the service to delete the message from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<DeletedMessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdormessageIdis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,messageId,accessCredentials,serviceorhttpClientare null.
DeleteMessageForSelf(string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes the message specified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<DeletedMessageView>> DeleteMessageForSelf(string conversationId, string messageId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to delete the message identified by
messageIdfrom. messageIdstring-
The message identifier to delete from
conversationId. serviceUri-
The System.Uri of the service to delete the message from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<DeletedMessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdormessageIdis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,messageId,accessCredentials,serviceorhttpClientare null.
DeleteMessageForSelf(string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Deletes the message specified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<DeletedMessageView>> DeleteMessageForSelf(string conversationId, string messageId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to delete the message identified by
messageIdfrom. messageIdstring-
The message identifier to delete from
conversationId. serviceUri-
The System.Uri of the service to delete the message from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<DeletedMessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdormessageIdis whitespace. - ArgumentNullException
-
Thrown when any of
conversationId,messageId,accessCredentials,serviceorhttpClientare null.
DisableJoinGroupLink(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Disables the join link for a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<DisableJoinLinkResponse>> DisableJoinGroupLink(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to disable the join link for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<DisableJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null.
DisableJoinGroupLink(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Disables the join link for a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<DisableJoinLinkResponse>> DisableJoinGroupLink(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to disable the join link for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<DisableJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null.
DisableJoinGroupLink(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Disables the join link for a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<DisableJoinLinkResponse>> DisableJoinGroupLink(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to disable the join link for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<DisableJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null.
EditGroup(string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Edits the details of a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EditGroupResponse>> EditGroup(string conversationId, string name, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to edit.
namestring-
The new name of the group conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EditGroupResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,name,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdornameis empty. - ArgumentOutOfRangeException
-
Thrown when
nameexceeds the maximum allowed length.
EditGroup(string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Edits the details of a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EditGroupResponse>> EditGroup(string conversationId, string name, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to edit.
namestring-
The new name of the group conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EditGroupResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,name,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdornameis empty. - ArgumentOutOfRangeException
-
Thrown when
nameexceeds the maximum allowed length.
EditGroup(string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Edits the details of a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EditGroupResponse>> EditGroup(string conversationId, string name, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to edit.
namestring-
The new name of the group conversation.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EditGroupResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,name,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdornameis empty. - ArgumentOutOfRangeException
-
Thrown when
nameexceeds the maximum allowed length.
EditJoinGroupLink(string, bool?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Edits the join link properties for a conversation
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EditJoinLinkResponse>> EditJoinGroupLink(string conversationId, bool? requireApproval, string? joinRule, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to edit.
requireApprovalbool?-
Flag indicating whether the conversation owner needs to approve joins.
joinRulestring?-
The join rule for the conversation. Known values are in idunno.Bluesky.Chat.Group.JoinRule
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EditJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,joinRule,service,accessCredentialsorhttpClientis null.
EditJoinGroupLink(string, bool?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Edits the join link properties for a conversation
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EditJoinLinkResponse>> EditJoinGroupLink(string conversationId, bool? requireApproval, string? joinRule, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to edit.
requireApprovalbool?-
Flag indicating whether the conversation owner needs to approve joins.
joinRulestring?-
The join rule for the conversation. Known values are in idunno.Bluesky.Chat.Group.JoinRule
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EditJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,joinRule,service,accessCredentialsorhttpClientis null.
EditJoinGroupLink(string, bool?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Edits the join link properties for a conversation
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EditJoinLinkResponse>> EditJoinGroupLink(string conversationId, bool? requireApproval, string? joinRule, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to edit.
requireApprovalbool?-
Flag indicating whether the conversation owner needs to approve joins.
joinRulestring?-
The join rule for the conversation. Known values are in idunno.Bluesky.Chat.Group.JoinRule
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EditJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,joinRule,service,accessCredentialsorhttpClientis null.
EnableJoinGroupLink(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enable the join link for a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EnableJoinLinkResponse>> EnableJoinGroupLink(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to disable the join link for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EnableJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null.
EnableJoinGroupLink(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enable the join link for a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EnableJoinLinkResponse>> EnableJoinGroupLink(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to disable the join link for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EnableJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null.
EnableJoinGroupLink(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enable the join link for a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EnableJoinLinkResponse>> EnableJoinGroupLink(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to disable the join link for
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EnableJoinLinkResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null.
FinishUpload(string, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Finish an upload. This call is idempotent and safe to retry.
On deduplication the returned completedJobId may differ from the jobId;
Poll idunno.Bluesky.BlueskyServer.GetJobStatus(System.String,System.Uri,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken) with completedJobId.
Probe-based validation failures surface later as idunno.Bluesky.Video.JobState.Failed from idunno.Bluesky.BlueskyServer.GetJobStatus(System.String,System.Uri,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken),
not as errors from this call.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<FinishUploadResponse>> FinishUpload(string jobId, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to finish.
serviceUri-
The System.Uri of the service to send the finish request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FinishUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
FinishUpload(string, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Finish an upload. This call is idempotent and safe to retry.
On deduplication the returned completedJobId may differ from the jobId;
Poll idunno.Bluesky.BlueskyServer.GetJobStatus(System.String,System.Uri,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken) with completedJobId.
Probe-based validation failures surface later as idunno.Bluesky.Video.JobState.Failed from idunno.Bluesky.BlueskyServer.GetJobStatus(System.String,System.Uri,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken),
not as errors from this call.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<FinishUploadResponse>> FinishUpload(string jobId, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to finish.
serviceUri-
The System.Uri of the service to send the finish request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FinishUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
FinishUpload(string, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Finish an upload. This call is idempotent and safe to retry.
On deduplication the returned completedJobId may differ from the jobId;
Poll idunno.Bluesky.BlueskyServer.GetJobStatus(System.String,System.Uri,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken) with completedJobId.
Probe-based validation failures surface later as idunno.Bluesky.Video.JobState.Failed from idunno.Bluesky.BlueskyServer.GetJobStatus(System.String,System.Uri,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken),
not as errors from this call.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<FinishUploadResponse>> FinishUpload(string jobId, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to finish.
serviceUri-
The System.Uri of the service to send the finish request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FinishUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
GetActorChatStatus(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ChatStatus>> GetActorChatStatus(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to get the chat status from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ChatStatus>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetActorChatStatus(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ChatStatus>> GetActorChatStatus(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to get the chat status from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ChatStatus>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetActorChatStatus(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ChatStatus>> GetActorChatStatus(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to get the chat status from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ChatStatus>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetActorFeeds(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paginated list of feeds (feed generator records) created by the actor, in the actor's repo.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>> GetActorFeeds(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose feeds should be listed.
limitint?-
The maximum number of feeds to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetActorFeeds(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paginated list of feeds (feed generator records) created by the actor, in the actor's repo.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>> GetActorFeeds(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose feeds should be listed.
limitint?-
The maximum number of feeds to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetActorFeeds(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paginated list of feeds (feed generator records) created by the actor, in the actor's repo.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>> GetActorFeeds(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose feeds should be listed.
limitint?-
The maximum number of feeds to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetActorLikes(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of posts liked by an actor. Requires auth, actor must be the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetActorLikes(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose likes should be retrieved.
limitint?-
The maximum number of feeds to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,httpClientoraccessCredentialsis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetActorLikes(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of posts liked by an actor. Requires auth, actor must be the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetActorLikes(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose likes should be retrieved.
limitint?-
The maximum number of feeds to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,httpClientoraccessCredentialsis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetActorLikes(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of posts liked by an actor. Requires auth, actor must be the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetActorLikes(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose likes should be retrieved.
limitint?-
The maximum number of feeds to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,httpClientoraccessCredentialsis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetActorStarterPacks(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get a list of starter packs created by the actor.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>> GetActorStarterPacks(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose starter packs should be returned.
limitint?-
The maximum number of starter packs to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service remove the mute from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown any of
actor,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
GetActorStarterPacks(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get a list of starter packs created by the actor.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>> GetActorStarterPacks(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose starter packs should be returned.
limitint?-
The maximum number of starter packs to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service remove the mute from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown any of
actor,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
GetActorStarterPacks(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get a list of starter packs created by the actor.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>> GetActorStarterPacks(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose starter packs should be returned.
limitint?-
The maximum number of starter packs to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service remove the mute from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown any of
actor,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
GetAgeAssuranceState(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetAgeAssuranceState(System.Uri, idunno.AtProto.Authentication.AccessCredentials, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Gets the age assurance status for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<AgeAssuranceState>> GetAgeAssuranceState(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AgeAssuranceState>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetAgeAssuranceState(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetAgeAssuranceState(System.Uri, idunno.AtProto.Authentication.AccessCredentials, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Gets the age assurance status for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<AgeAssuranceState>> GetAgeAssuranceState(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AgeAssuranceState>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetAgeAssuranceState(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetAgeAssuranceState(System.Uri, idunno.AtProto.Authentication.AccessCredentials, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Gets the age assurance status for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<AgeAssuranceState>> GetAgeAssuranceState(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AgeAssuranceState>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetAuthorFeed(Did, int?, string?, FeedFilter?, bool?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a view of an actor's 'author feed' (post and reposts by the author).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetAuthorFeed(Did actor, int? limit, string? cursor, FeedFilter? filter, bool? includePins, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorDid-
The idunno.AtProto.Did of the actor whose feed should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
filterFeedFilter?-
Combinations of post/repost types to include in the results.
includePinsbool?-
Flag indicating whether to include pinned posts in the results.
serviceUri-
The System.Uri of the service to retrieve the feed from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetAuthorFeed(Did, int?, string?, FeedFilter?, bool?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a view of an actor's 'author feed' (post and reposts by the author).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetAuthorFeed(Did actor, int? limit, string? cursor, FeedFilter? filter, bool? includePins, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorDid-
The idunno.AtProto.Did of the actor whose feed should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
filterFeedFilter?-
Combinations of post/repost types to include in the results.
includePinsbool?-
Flag indicating whether to include pinned posts in the results.
serviceUri-
The System.Uri of the service to retrieve the feed from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetAuthorFeed(Did, int?, string?, FeedFilter?, bool?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a view of an actor's 'author feed' (post and reposts by the author).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetAuthorFeed(Did actor, int? limit, string? cursor, FeedFilter? filter, bool? includePins, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorDid-
The idunno.AtProto.Did of the actor whose feed should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
filterFeedFilter?-
Combinations of post/repost types to include in the results.
includePinsbool?-
Flag indicating whether to include pinned posts in the results.
serviceUri-
The System.Uri of the service to retrieve the feed from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetBlocks(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates which accounts the requesting account is currently blocking. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> GetBlocks(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of followers that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the blocks from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetBlocks(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates which accounts the requesting account is currently blocking. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> GetBlocks(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of followers that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the blocks from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetBlocks(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates which accounts the requesting account is currently blocking. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> GetBlocks(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of followers that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the blocks from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetBookmarks(string?, int?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a pageable list of the specified user's bookmarks.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<BookmarkView>>> GetBookmarks(string? cursor, int? limit, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
An optional cursor for pagination.
limitint?-
The maximum number of bookmarks to return.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<BookmarkView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <1 or >idunno.Bluesky.Maximum.Bookmarks.
GetBookmarks(string?, int?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a pageable list of the specified user's bookmarks.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<BookmarkView>>> GetBookmarks(string? cursor, int? limit, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
An optional cursor for pagination.
limitint?-
The maximum number of bookmarks to return.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<BookmarkView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <1 or >idunno.Bluesky.Maximum.Bookmarks.
GetBookmarks(string?, int?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a pageable list of the specified user's bookmarks.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<BookmarkView>>> GetBookmarks(string? cursor, int? limit, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
An optional cursor for pagination.
limitint?-
The maximum number of bookmarks to return.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<BookmarkView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <1 or >idunno.Bluesky.Maximum.Bookmarks.
GetChatNotificationPreferences(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the authenticated user's preferences for chat notifications.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> GetChatNotificationPreferences(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetChatNotificationPreferences(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the authenticated user's preferences for chat notifications.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> GetChatNotificationPreferences(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetChatNotificationPreferences(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the authenticated user's preferences for chat notifications.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> GetChatNotificationPreferences(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets a view over a conversation by its id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationView>> GetConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier.
serviceUri-
The System.Uri of the service to retrieve the conversation from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or whitespace. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null.
GetConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets a view over a conversation by its id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationView>> GetConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier.
serviceUri-
The System.Uri of the service to retrieve the conversation from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or whitespace. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null.
GetConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets a view over a conversation by its id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationView>> GetConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier.
serviceUri-
The System.Uri of the service to retrieve the conversation from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or whitespace. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null.
GetConversationAvailability(ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Check whether the current authenticated user and the other actors can start a 1-1 chat. Only applicable to direct (non-group) conversations. If an existing conversation is found for these members, it is returned. Does not create a new conversation if it doesn't exist.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationAvailability>> GetConversationAvailability(ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
A collection of idunno.AtProto.Did of actors to check availability for..
serviceUri-
The System.Uri of the service to the conversation availability from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationAvailability>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when
membersis empty or contains more than the maximum allowed members. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null.
GetConversationAvailability(ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Check whether the current authenticated user and the other actors can start a 1-1 chat. Only applicable to direct (non-group) conversations. If an existing conversation is found for these members, it is returned. Does not create a new conversation if it doesn't exist.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationAvailability>> GetConversationAvailability(ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
A collection of idunno.AtProto.Did of actors to check availability for..
serviceUri-
The System.Uri of the service to the conversation availability from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationAvailability>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when
membersis empty or contains more than the maximum allowed members. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null.
GetConversationAvailability(ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Check whether the current authenticated user and the other actors can start a 1-1 chat. Only applicable to direct (non-group) conversations. If an existing conversation is found for these members, it is returned. Does not create a new conversation if it doesn't exist.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationAvailability>> GetConversationAvailability(ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
A collection of idunno.AtProto.Did of actors to check availability for..
serviceUri-
The System.Uri of the service to the conversation availability from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationAvailability>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when
membersis empty or contains more than the maximum allowed members. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null.
GetConversationForMembers(ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets a view over a conversation between members.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationView>> GetConversationForMembers(ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
The idunno.AtProto.Dids of the conversation members.
serviceUri-
The System.Uri of the service to retrieve the conversation from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
members,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
membersis empty or has greater than the maximum number of conversation members.
GetConversationForMembers(ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets a view over a conversation between members.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationView>> GetConversationForMembers(ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
The idunno.AtProto.Dids of the conversation members.
serviceUri-
The System.Uri of the service to retrieve the conversation from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
members,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
membersis empty or has greater than the maximum number of conversation members.
GetConversationForMembers(ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets a view over a conversation between members.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ConversationView>> GetConversationForMembers(ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
membersICollection<Did>-
The idunno.AtProto.Dids of the conversation members.
serviceUri-
The System.Uri of the service to retrieve the conversation from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
members,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
membersis empty or has greater than the maximum number of conversation members.
GetConversationLog(string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the conversation log.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Logs>> GetConversationLog(string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation log from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetConversationLog(string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the conversation log.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Logs>> GetConversationLog(string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation log from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetConversationLog(string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the conversation log.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Logs>> GetConversationLog(string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation log from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetConversationMembers(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the members in a conversation
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>> GetConversationMembers(string id, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier whose members should be retrieved.
limitint?-
An optional limit on the number of members to retrieve in each page.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation members from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetConversationMembers(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the members in a conversation
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>> GetConversationMembers(string id, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier whose members should be retrieved.
limitint?-
An optional limit on the number of members to retrieve in each page.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation members from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetConversationMembers(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the members in a conversation
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>> GetConversationMembers(string id, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier whose members should be retrieved.
limitint?-
An optional limit on the number of members to retrieve in each page.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation members from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetDrafts(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get a paged list of suggested drafts for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<DraftView>>> GetDrafts(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of drafts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<DraftView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
GetDrafts(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get a paged list of suggested drafts for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<DraftView>>> GetDrafts(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of drafts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<DraftView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
GetDrafts(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get a paged list of suggested drafts for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<DraftView>>> GetDrafts(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of drafts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<DraftView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
GetEmbedExternalView(Uri, AtUri[], Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Resolve one or more idunno.AtProto.AtUris into the data needed to render an enhanced external embed.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmbeddedExternalView>> GetEmbedExternalView(Uri url, AtUri[] uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urlUri-
The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's uri. May be used for validation in the future.
urisAtUri[]-
An array of AT-URIs to resolve into the data needed for the embed.
serviceUri-
The service URI to use for the request.
accessCredentialsAccessCredentials?-
Optional access credentials for authentication.
httpClientHttpClient-
The HTTP client to use for the request.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
Optional callback for when credentials are updated.
loggerFactoryILoggerFactory?-
Optional logger factory for logging.
subscribedLabelersIEnumerable<Did>?-
Optional list of subscribed labelers.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
Optional cancellation token.
Returns
- Task<AtProtoHttpResult<EmbeddedExternalView>>
-
The task object representing the asynchronous operation.
Remarks
Only the hydrated view is returned. The associated references the service echoes back are the ones supplied in uris,
and the raw associated records are not surfaced.
The service returns an empty response when no records were resolvable, or when validation determined the resolved records do not actually
back the requested url. That case is reported as an unsuccessful result whose
idunno.AtProto.AtProtoHttpResult`1.StatusCode is System.Net.HttpStatusCode.NoContent and whose
idunno.AtProto.AtProtoHttpResult`1.AtErrorDetail is null. Callers should fall back to their own link card rendering in that
case and skip writing strong references to the post.
Exceptions
- ArgumentNullException
-
Thrown when a required argument is null.
- ArgumentOutOfRangeException
-
Thrown when
urisis empty or has more than idunno.Bluesky.Maximum.EmbedExternalViewUris elements.
GetEmbedExternalView(Uri, AtUri[], Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Resolve one or more idunno.AtProto.AtUris into the data needed to render an enhanced external embed.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmbeddedExternalView>> GetEmbedExternalView(Uri url, AtUri[] uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urlUri-
The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's uri. May be used for validation in the future.
urisAtUri[]-
An array of AT-URIs to resolve into the data needed for the embed.
serviceUri-
The service URI to use for the request.
accessCredentialsAccessCredentials?-
Optional access credentials for authentication.
httpClientHttpClient-
The HTTP client to use for the request.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
Optional callback for when credentials are updated.
loggerFactoryILoggerFactory?-
Optional logger factory for logging.
subscribedLabelersIEnumerable<Did>?-
Optional list of subscribed labelers.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
Optional cancellation token.
Returns
- Task<AtProtoHttpResult<EmbeddedExternalView>>
-
The task object representing the asynchronous operation.
Remarks
Only the hydrated view is returned. The associated references the service echoes back are the ones supplied in uris,
and the raw associated records are not surfaced.
The service returns an empty response when no records were resolvable, or when validation determined the resolved records do not actually
back the requested url. That case is reported as an unsuccessful result whose
idunno.AtProto.AtProtoHttpResult`1.StatusCode is System.Net.HttpStatusCode.NoContent and whose
idunno.AtProto.AtProtoHttpResult`1.AtErrorDetail is null. Callers should fall back to their own link card rendering in that
case and skip writing strong references to the post.
Exceptions
- ArgumentNullException
-
Thrown when a required argument is null.
- ArgumentOutOfRangeException
-
Thrown when
urisis empty or has more than idunno.Bluesky.Maximum.EmbedExternalViewUris elements.
GetEmbedExternalView(Uri, AtUri[], Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Resolve one or more idunno.AtProto.AtUris into the data needed to render an enhanced external embed.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmbeddedExternalView>> GetEmbedExternalView(Uri url, AtUri[] uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urlUri-
The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's uri. May be used for validation in the future.
urisAtUri[]-
An array of AT-URIs to resolve into the data needed for the embed.
serviceUri-
The service URI to use for the request.
accessCredentialsAccessCredentials?-
Optional access credentials for authentication.
httpClientHttpClient-
The HTTP client to use for the request.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
Optional callback for when credentials are updated.
loggerFactoryILoggerFactory?-
Optional logger factory for logging.
subscribedLabelersIEnumerable<Did>?-
Optional list of subscribed labelers.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
Optional cancellation token.
Returns
- Task<AtProtoHttpResult<EmbeddedExternalView>>
-
The task object representing the asynchronous operation.
Remarks
Only the hydrated view is returned. The associated references the service echoes back are the ones supplied in uris,
and the raw associated records are not surfaced.
The service returns an empty response when no records were resolvable, or when validation determined the resolved records do not actually
back the requested url. That case is reported as an unsuccessful result whose
idunno.AtProto.AtProtoHttpResult`1.StatusCode is System.Net.HttpStatusCode.NoContent and whose
idunno.AtProto.AtProtoHttpResult`1.AtErrorDetail is null. Callers should fall back to their own link card rendering in that
case and skip writing strong references to the post.
Exceptions
- ArgumentNullException
-
Thrown when a required argument is null.
- ArgumentOutOfRangeException
-
Thrown when
urisis empty or has more than idunno.Bluesky.Maximum.EmbedExternalViewUris elements.
GetFeed(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, ICollection<NameValueHeaderValue>?, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a hydrated feed from an actor's selected feed generator.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetFeed(AtUri feed, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, ICollection<NameValueHeaderValue>? headers = null, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedAtUri-
The idunno.AtProto.AtIdentifier of the feed to be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the feed from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. headersICollection<NameValueHeaderValue>?-
A collection of HTTP headers to send with the request.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feed,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetFeed(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, ICollection<NameValueHeaderValue>?, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a hydrated feed from an actor's selected feed generator.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetFeed(AtUri feed, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, ICollection<NameValueHeaderValue>? headers = null, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedAtUri-
The idunno.AtProto.AtIdentifier of the feed to be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the feed from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. headersICollection<NameValueHeaderValue>?-
A collection of HTTP headers to send with the request.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feed,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetFeed(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, ICollection<NameValueHeaderValue>?, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a hydrated feed from an actor's selected feed generator.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetFeed(AtUri feed, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, ICollection<NameValueHeaderValue>? headers = null, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedAtUri-
The idunno.AtProto.AtIdentifier of the feed to be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the feed from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. headersICollection<NameValueHeaderValue>?-
A collection of HTTP headers to send with the request.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feed,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetFeedGenerator(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets information about the specified feed generator.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<FeedGenerator>> GetFeedGenerator(AtUri feed, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedAtUri-
The idunno.AtProto.AtUri of the feed generator whose information should be retrieved.
serviceUri-
The System.Uri of the service to retrieve the information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FeedGenerator>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feed,serviceorhttpClientis null.
GetFeedGenerator(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets information about the specified feed generator.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<FeedGenerator>> GetFeedGenerator(AtUri feed, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedAtUri-
The idunno.AtProto.AtUri of the feed generator whose information should be retrieved.
serviceUri-
The System.Uri of the service to retrieve the information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FeedGenerator>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feed,serviceorhttpClientis null.
GetFeedGenerator(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets information about the specified feed generator.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<FeedGenerator>> GetFeedGenerator(AtUri feed, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedAtUri-
The idunno.AtProto.AtUri of the feed generator whose information should be retrieved.
serviceUri-
The System.Uri of the service to retrieve the information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FeedGenerator>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feed,serviceorhttpClientis null.
GetFeedGeneratorDescription(Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets a description for the feed generator at generatorUri.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<FeedGeneratorDescription>> GetFeedGeneratorDescription(Uri generatorUri, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
generatorUriUri-
The System.Uri of the generator whose description should be retrieved.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FeedGeneratorDescription>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
generatorUriorhttpClientis null.
GetFeedGeneratorDescription(Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets a description for the feed generator at generatorUri.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<FeedGeneratorDescription>> GetFeedGeneratorDescription(Uri generatorUri, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
generatorUriUri-
The System.Uri of the generator whose description should be retrieved.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FeedGeneratorDescription>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
generatorUriorhttpClientis null.
GetFeedGeneratorDescription(Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets a description for the feed generator at generatorUri.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<FeedGeneratorDescription>> GetFeedGeneratorDescription(Uri generatorUri, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
generatorUriUri-
The System.Uri of the generator whose description should be retrieved.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<FeedGeneratorDescription>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
generatorUriorhttpClientis null.
GetFeedGenerators(IEnumerable<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets information about the specified feed generators.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<GeneratorView>>> GetFeedGenerators(IEnumerable<AtUri> feeds, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedsIEnumerable<AtUri>-
A collection of idunno.AtProto.AtUris of the feed generators whose information should be retrieved.
serviceUri-
The System.Uri of the service to retrieve the information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feeds,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
feedscontains no items.
GetFeedGenerators(IEnumerable<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets information about the specified feed generators.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<GeneratorView>>> GetFeedGenerators(IEnumerable<AtUri> feeds, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedsIEnumerable<AtUri>-
A collection of idunno.AtProto.AtUris of the feed generators whose information should be retrieved.
serviceUri-
The System.Uri of the service to retrieve the information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feeds,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
feedscontains no items.
GetFeedGenerators(IEnumerable<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets information about the specified feed generators.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<GeneratorView>>> GetFeedGenerators(IEnumerable<AtUri> feeds, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
feedsIEnumerable<AtUri>-
A collection of idunno.AtProto.AtUris of the feed generators whose information should be retrieved.
serviceUri-
The System.Uri of the service to retrieve the information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
feeds,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
feedscontains no items.
GetFollowers(AtIdentifier, int?, string?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates accounts which follow a specified account (actor).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Followers>> GetFollowers(AtIdentifier actor, int? limit, string? cursor, string? sort, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose followers should be enumerated.
limitint?-
The maximum number of followers that should be returned in a page.
cursorstring?-
An optional cursor for pagination.
sortstring?-
An optional sort order. Known values are "latest" and "top".
serviceUri-
The System.Uri of the service to retrieve the followers from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetFollowers(AtIdentifier, int?, string?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates accounts which follow a specified account (actor).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Followers>> GetFollowers(AtIdentifier actor, int? limit, string? cursor, string? sort, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose followers should be enumerated.
limitint?-
The maximum number of followers that should be returned in a page.
cursorstring?-
An optional cursor for pagination.
sortstring?-
An optional sort order. Known values are "latest" and "top".
serviceUri-
The System.Uri of the service to retrieve the followers from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetFollowers(AtIdentifier, int?, string?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates accounts which follow a specified account (actor).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Followers>> GetFollowers(AtIdentifier actor, int? limit, string? cursor, string? sort, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose followers should be enumerated.
limitint?-
The maximum number of followers that should be returned in a page.
cursorstring?-
An optional cursor for pagination.
sortstring?-
An optional sort order. Known values are "latest" and "top".
serviceUri-
The System.Uri of the service to retrieve the followers from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetFollows(AtIdentifier, int?, string?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a paged list of accounts whom an actor follows.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Follows>> GetFollows(AtIdentifier actor, int? limit, string? cursor, string? sort, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose follows should be enumerated.
limitint?-
The maximum number of follows that should be returned in a page.
cursorstring?-
An optional cursor for pagination.
sortstring?-
An optional sort order. Known values are "latest" and "top".
serviceUri-
The System.Uri of the service to retrieve the follows from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetFollows(AtIdentifier, int?, string?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a paged list of accounts whom an actor follows.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Follows>> GetFollows(AtIdentifier actor, int? limit, string? cursor, string? sort, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose follows should be enumerated.
limitint?-
The maximum number of follows that should be returned in a page.
cursorstring?-
An optional cursor for pagination.
sortstring?-
An optional sort order. Known values are "latest" and "top".
serviceUri-
The System.Uri of the service to retrieve the follows from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetFollows(AtIdentifier, int?, string?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a paged list of accounts whom an actor follows.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Follows>> GetFollows(AtIdentifier actor, int? limit, string? cursor, string? sort, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose follows should be enumerated.
limitint?-
The maximum number of follows that should be returned in a page.
cursorstring?-
An optional cursor for pagination.
sortstring?-
An optional sort order. Known values are "latest" and "top".
serviceUri-
The System.Uri of the service to retrieve the follows from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetJobStatus(string, Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets the status details for the specified single part video processing job.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<JobStatus>> GetJobStatus(string jobId, Uri service, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id whose status should be queried.
serviceUri-
The System.Uri of the service to query the status against.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetJobStatus(string, Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets the status details for the specified single part video processing job.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<JobStatus>> GetJobStatus(string jobId, Uri service, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id whose status should be queried.
serviceUri-
The System.Uri of the service to query the status against.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetJobStatus(string, Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets the status details for the specified single part video processing job.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<JobStatus>> GetJobStatus(string jobId, Uri service, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id whose status should be queried.
serviceUri-
The System.Uri of the service to query the status against.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetJoinGroupLinkPreviews(ICollection<string>, AccessCredentials, Uri, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<GetJoinLinkPreviewsResponse>> GetJoinGroupLinkPreviews(ICollection<string> codes, AccessCredentials accessCredentials, Uri service, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
codesICollection<string>-
The codes of the group conversations to get join link previews for.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to the service.
serviceUri-
The System.Uri of the service to use when making a request.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the service.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<GetJoinLinkPreviewsResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
codes,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
codesis empty. - ArgumentOutOfRangeException
-
Thrown when
codescontains more than idunno.Bluesky.Maximum.JoinLinkPreviewCodes items.
GetJoinGroupLinkPreviews(ICollection<string>, AccessCredentials, Uri, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<GetJoinLinkPreviewsResponse>> GetJoinGroupLinkPreviews(ICollection<string> codes, AccessCredentials accessCredentials, Uri service, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
codesICollection<string>-
The codes of the group conversations to get join link previews for.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to the service.
serviceUri-
The System.Uri of the service to use when making a request.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the service.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<GetJoinLinkPreviewsResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
codes,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
codesis empty. - ArgumentOutOfRangeException
-
Thrown when
codescontains more than idunno.Bluesky.Maximum.JoinLinkPreviewCodes items.
GetJoinGroupLinkPreviews(ICollection<string>, AccessCredentials, Uri, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<GetJoinLinkPreviewsResponse>> GetJoinGroupLinkPreviews(ICollection<string> codes, AccessCredentials accessCredentials, Uri service, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
codesICollection<string>-
The codes of the group conversations to get join link previews for.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to the service.
serviceUri-
The System.Uri of the service to use when making a request.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the service.
onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<GetJoinLinkPreviewsResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
codes,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
codesis empty. - ArgumentOutOfRangeException
-
Thrown when
codescontains more than idunno.Bluesky.Maximum.JoinLinkPreviewCodes items.
GetKnownFollowers(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a paged list of accounts which follow a specified account (actor) and are followed by the viewer. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Followers>> GetKnownFollowers(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose follows should be enumerated.
limitint?-
The maximum number of followers that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the known followers from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetKnownFollowers(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a paged list of accounts which follow a specified account (actor) and are followed by the viewer. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Followers>> GetKnownFollowers(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose follows should be enumerated.
limitint?-
The maximum number of followers that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the known followers from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetKnownFollowers(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a paged list of accounts which follow a specified account (actor) and are followed by the viewer. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Followers>> GetKnownFollowers(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor whose follows should be enumerated.
limitint?-
The maximum number of followers that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the known followers from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetLabelerServices(IEnumerable<Did>, bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets information about the labeller services identified by the specified dids.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ICollection<LabelerView>>> GetLabelerServices(IEnumerable<Did> dids, bool getDetailedViews, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
didsIEnumerable<Did>-
A collection of idunno.AtProto.Dids for the labellers whose service views should be returned
getDetailedViewsbool-
Flag indicating whether a detailed view for each service should be returned.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<LabelerView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
dids,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
didsis empty.
GetLabelerServices(IEnumerable<Did>, bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets information about the labeller services identified by the specified dids.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ICollection<LabelerView>>> GetLabelerServices(IEnumerable<Did> dids, bool getDetailedViews, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
didsIEnumerable<Did>-
A collection of idunno.AtProto.Dids for the labellers whose service views should be returned
getDetailedViewsbool-
Flag indicating whether a detailed view for each service should be returned.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<LabelerView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
dids,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
didsis empty.
GetLabelerServices(IEnumerable<Did>, bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets information about the labeller services identified by the specified dids.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ICollection<LabelerView>>> GetLabelerServices(IEnumerable<Did> dids, bool getDetailedViews, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
didsIEnumerable<Did>-
A collection of idunno.AtProto.Dids for the labellers whose service views should be returned
getDetailedViewsbool-
Flag indicating whether a detailed view for each service should be returned.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<LabelerView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
dids,service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
didsis empty.
GetLikes(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get like records which reference a subject, by uri and, optionally, cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<LikesCollection>> GetLikes(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the subject whose likes should be retrieved.
cidCid?-
The idunno.AtProto.Cid of the subject whose likes should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<LikesCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetLikes(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get like records which reference a subject, by uri and, optionally, cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<LikesCollection>> GetLikes(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the subject whose likes should be retrieved.
cidCid?-
The idunno.AtProto.Cid of the subject whose likes should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<LikesCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetLikes(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Get like records which reference a subject, by uri and, optionally, cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<LikesCollection>> GetLikes(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the subject whose likes should be retrieved.
cidCid?-
The idunno.AtProto.Cid of the subject whose likes should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<LikesCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetList(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a idunno.Bluesky.Graph.ListView of a Bluesky list and a paginated collection of idunno.Bluesky.Graph.ListItemViews of its items.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ListViewWithItems>> GetList(AtUri list, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list to get.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, if any. Pass null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ListViewWithItems>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
list,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetList(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a idunno.Bluesky.Graph.ListView of a Bluesky list and a paginated collection of idunno.Bluesky.Graph.ListItemViews of its items.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ListViewWithItems>> GetList(AtUri list, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list to get.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, if any. Pass null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ListViewWithItems>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
list,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetList(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a idunno.Bluesky.Graph.ListView of a Bluesky list and a paginated collection of idunno.Bluesky.Graph.ListItemViews of its items.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ListViewWithItems>> GetList(AtUri list, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list to get.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, if any. Pass null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ListViewWithItems>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
list,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListBlocks(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of mod lists that the requesting account (actor) is blocking. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetListBlocks(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list blocks from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListBlocks(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of mod lists that the requesting account (actor) is blocking. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetListBlocks(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list blocks from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListBlocks(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of mod lists that the requesting account (actor) is blocking. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetListBlocks(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list blocks from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListFeed(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a feed of recent posts from a list (posts and reposts from any actors on the list).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetListFeed(AtUri list, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list whose recent posts should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
list,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListFeed(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a feed of recent posts from a list (posts and reposts from any actors on the list).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetListFeed(AtUri list, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list whose recent posts should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
list,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListFeed(AtUri, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a feed of recent posts from a list (posts and reposts from any actors on the list).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>> GetListFeed(AtUri list, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listAtUri-
The idunno.AtProto.AtUri of the list whose recent posts should be retrieved.
limitint?-
The maximum number of items to return from the api.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<FeedViewPost>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
list,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListMutes(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of mod lists that the requesting account (actor) is muting. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetListMutes(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListMutes(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of mod lists that the requesting account (actor) is muting. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetListMutes(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListMutes(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of mod lists that the requesting account (actor) is muting. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetListMutes(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the list mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetLists(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of lists that created by the specified actor.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetLists(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The actor whose lists to enumerate.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the lists from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetLists(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of lists that created by the specified actor.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetLists(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The actor whose lists to enumerate.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the lists from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetLists(AtIdentifier, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a paged list of lists that created by the specified actor.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>> GetLists(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The actor whose lists to enumerate.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the lists from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListsWithMembership(AtIdentifier, int?, string?, string[]?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates the lists created by the session user, and includes membership information about actor in those lists. Only supports curation and moderation lists (no reference lists, used in starter packs). Requires auth.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListWithMembership>>> GetListsWithMembership(AtIdentifier actor, int? limit, string? cursor, string[]? purposes, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account (actor) to check for membership.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
purposesstring[]?-
Optional filter by list purpose. If not specified, all supported types are returned. Possible values: [modlist, curatelist]
serviceUri-
The System.Uri of the service to retrieve the lists from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListWithMembership>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,accessCredentials, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListsWithMembership(AtIdentifier, int?, string?, string[]?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates the lists created by the session user, and includes membership information about actor in those lists. Only supports curation and moderation lists (no reference lists, used in starter packs). Requires auth.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListWithMembership>>> GetListsWithMembership(AtIdentifier actor, int? limit, string? cursor, string[]? purposes, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account (actor) to check for membership.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
purposesstring[]?-
Optional filter by list purpose. If not specified, all supported types are returned. Possible values: [modlist, curatelist]
serviceUri-
The System.Uri of the service to retrieve the lists from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListWithMembership>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,accessCredentials, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetListsWithMembership(AtIdentifier, int?, string?, string[]?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates the lists created by the session user, and includes membership information about actor in those lists. Only supports curation and moderation lists (no reference lists, used in starter packs). Requires auth.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListWithMembership>>> GetListsWithMembership(AtIdentifier actor, int? limit, string? cursor, string[]? purposes, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account (actor) to check for membership.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
purposesstring[]?-
Optional filter by list purpose. If not specified, all supported types are returned. Possible values: [modlist, curatelist]
serviceUri-
The System.Uri of the service to retrieve the lists from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ListWithMembership>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,accessCredentials, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetMessages(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the messages in a conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Messages>> GetMessages(string id, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier whose messages should be retrieved.
limitint?-
An optional limit on the number of messages to retrieve in each page.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation messages from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetMessages(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the messages in a conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Messages>> GetMessages(string id, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier whose messages should be retrieved.
limitint?-
An optional limit on the number of messages to retrieve in each page.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation messages from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetMessages(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the messages in a conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Messages>> GetMessages(string id, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier whose messages should be retrieved.
limitint?-
An optional limit on the number of messages to retrieve in each page.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to retrieve the conversation messages from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetMutes(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates accounts that the requesting account (actor) currently has fully muted. Mutes scoped to specific kinds of content (only reposts, only quote posts) are not included. Responses may contain more items than the requested limit. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> GetMutes(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetMutes(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates accounts that the requesting account (actor) currently has fully muted. Mutes scoped to specific kinds of content (only reposts, only quote posts) are not included. Responses may contain more items than the requested limit. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> GetMutes(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetMutes(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates accounts that the requesting account (actor) currently has fully muted. Mutes scoped to specific kinds of content (only reposts, only quote posts) are not included. Responses may contain more items than the requested limit. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> GetMutes(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or > 100.
GetNotificationPreferences(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the notification preferences for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Preferences>> GetNotificationPreferences(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetNotificationPreferences(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the notification preferences for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Preferences>> GetNotificationPreferences(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetNotificationPreferences(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the notification preferences for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Preferences>> GetNotificationPreferences(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetNotificationUnreadCount(DateTimeOffset?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the number of unread notifications for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<int?>> GetNotificationUnreadCount(DateTimeOffset? seenAt, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
seenAtDateTimeOffset?-
The date and time notifications were last checked.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetNotificationUnreadCount(DateTimeOffset?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the number of unread notifications for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<int?>> GetNotificationUnreadCount(DateTimeOffset? seenAt, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
seenAtDateTimeOffset?-
The date and time notifications were last checked.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetNotificationUnreadCount(DateTimeOffset?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the number of unread notifications for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<int?>> GetNotificationUnreadCount(DateTimeOffset? seenAt, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
seenAtDateTimeOffset?-
The date and time notifications were last checked.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetPopularFeedGenerators(string?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPopularFeedGenerators(string?, int?, string?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get an unspecced, paged list of views over globally popular feed generators.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>> GetPopularFeedGenerators(string? query, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
querystring?-
Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of feed generators to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >100.
GetPopularFeedGenerators(string?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPopularFeedGenerators(string?, int?, string?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get an unspecced, paged list of views over globally popular feed generators.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>> GetPopularFeedGenerators(string? query, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
querystring?-
Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of feed generators to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >100.
GetPopularFeedGenerators(string?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPopularFeedGenerators(string?, int?, string?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get an unspecced, paged list of views over globally popular feed generators.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>> GetPopularFeedGenerators(string? query, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
querystring?-
Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of feed generators to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<GeneratorView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >100.
GetPostRecord(AtUri, Cid?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the record for the idunno.Bluesky.Post identified by uri and, optional cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<AtProtoRepositoryRecord<Post>>> GetPostRecord(AtUri uri, Cid? cid, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to return hydrated views for.
cidCid?-
An optional idunno.AtProto.Cid of the post to return hydrated views for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AtProtoRepositoryRecord<Post>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
urior its RecordKey property is null.
GetPostRecord(AtUri, Cid?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the record for the idunno.Bluesky.Post identified by uri and, optional cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<AtProtoRepositoryRecord<Post>>> GetPostRecord(AtUri uri, Cid? cid, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to return hydrated views for.
cidCid?-
An optional idunno.AtProto.Cid of the post to return hydrated views for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AtProtoRepositoryRecord<Post>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
urior its RecordKey property is null.
GetPostRecord(AtUri, Cid?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the record for the idunno.Bluesky.Post identified by uri and, optional cid.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<AtProtoRepositoryRecord<Post>>> GetPostRecord(AtUri uri, Cid? cid, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post to return hydrated views for.
cidCid?-
An optional idunno.AtProto.Cid of the post to return hydrated views for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<AtProtoRepositoryRecord<Post>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
urior its RecordKey property is null.
GetPostThread(AtUri, int?, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get posts in a thread. Does not require authentication, but additional metadata and filtering will be applied for authenticated requests.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PostThread>> GetPostThread(AtUri uri, int? depth, int? parentHeight, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post record whose thread should be retrieved.
depthint?-
How many levels of reply depth should be included in response.
parentHeightint?-
How many levels of parent (and grandparent, etc) post to include.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PostThread>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
parentHeightordepthis < 0 or > 1000.
GetPostThread(AtUri, int?, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get posts in a thread. Does not require authentication, but additional metadata and filtering will be applied for authenticated requests.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PostThread>> GetPostThread(AtUri uri, int? depth, int? parentHeight, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post record whose thread should be retrieved.
depthint?-
How many levels of reply depth should be included in response.
parentHeightint?-
How many levels of parent (and grandparent, etc) post to include.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PostThread>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
parentHeightordepthis < 0 or > 1000.
GetPostThread(AtUri, int?, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get posts in a thread. Does not require authentication, but additional metadata and filtering will be applied for authenticated requests.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PostThread>> GetPostThread(AtUri uri, int? depth, int? parentHeight, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the post record whose thread should be retrieved.
depthint?-
How many levels of reply depth should be included in response.
parentHeightint?-
How many levels of parent (and grandparent, etc) post to include.
serviceUri-
The System.Uri of the service to retrieve the likes from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PostThread>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
parentHeightordepthis < 0 or > 1000.
GetPostThreadOtherV2(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPostThreadOtherV2(idunno.AtProto.AtUri, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. This should be called after exhausting idunno.Bluesky.BlueskyServer.GetPostThreadV2(idunno.AtProto.AtUri,System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Int32},System.String,System.Uri,idunno.AtProto.Authentication.AccessCredentials,System.Net.Http.HttpClient,System.Func{idunno.AtProto.Authentication.AtProtoCredential,System.Threading.CancellationToken,System.Threading.Tasks.Task},Microsoft.Extensions.Logging.ILoggerFactory,System.Collections.Generic.IEnumerable{idunno.AtProto.Did},System.Int32,System.Threading.CancellationToken). Does not require authentication, but additional metadata and filtering will be applied for authed requests.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<ThreadItem>>> GetPostThreadOtherV2(AtUri anchor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
anchorAtUri-
Reference idunno.AtProto.AtUri to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<ThreadItem>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
anchor,accessCredentials,serviceorhttpClientare null.
GetPostThreadOtherV2(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPostThreadOtherV2(idunno.AtProto.AtUri, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. This should be called after exhausting idunno.Bluesky.BlueskyServer.GetPostThreadV2(idunno.AtProto.AtUri,System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Int32},System.String,System.Uri,idunno.AtProto.Authentication.AccessCredentials,System.Net.Http.HttpClient,System.Func{idunno.AtProto.Authentication.AtProtoCredential,System.Threading.CancellationToken,System.Threading.Tasks.Task},Microsoft.Extensions.Logging.ILoggerFactory,System.Collections.Generic.IEnumerable{idunno.AtProto.Did},System.Int32,System.Threading.CancellationToken). Does not require authentication, but additional metadata and filtering will be applied for authed requests.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<ThreadItem>>> GetPostThreadOtherV2(AtUri anchor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
anchorAtUri-
Reference idunno.AtProto.AtUri to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<ThreadItem>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
anchor,accessCredentials,serviceorhttpClientare null.
GetPostThreadOtherV2(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPostThreadOtherV2(idunno.AtProto.AtUri, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. This should be called after exhausting idunno.Bluesky.BlueskyServer.GetPostThreadV2(idunno.AtProto.AtUri,System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Int32},System.String,System.Uri,idunno.AtProto.Authentication.AccessCredentials,System.Net.Http.HttpClient,System.Func{idunno.AtProto.Authentication.AtProtoCredential,System.Threading.CancellationToken,System.Threading.Tasks.Task},Microsoft.Extensions.Logging.ILoggerFactory,System.Collections.Generic.IEnumerable{idunno.AtProto.Did},System.Int32,System.Threading.CancellationToken). Does not require authentication, but additional metadata and filtering will be applied for authed requests.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<ThreadItem>>> GetPostThreadOtherV2(AtUri anchor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
anchorAtUri-
Reference idunno.AtProto.AtUri to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<ThreadItem>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
anchor,accessCredentials,serviceorhttpClientare null.
GetPostThreadV2(AtUri, bool?, int?, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPostThreadV2(idunno.AtProto.AtUri, bool?, int?, int?, string?, System.Uri, idunno.AtProto.Authentication.AccessCredentials, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get posts in a thread. It is based in an anchor post at any depth of the tree, and returns posts above it (recursively resolving the parent, without further branching to their replies) and below it
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<PostThreadV2>> GetPostThreadV2(AtUri anchor, bool? above, int? below, int? branchingFactor, string? sort, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
anchorAtUri-
Reference idunno.AtProto.AtUri to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.
abovebool?-
Flag indicating whether to include parents above the anchor.
belowint?-
How many levels to include below the anchor.
branchingFactorint?-
Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated).
sortstring?-
The sort order for the thread.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PostThreadV2>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
anchor,accessCredentials,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
beloworbranchingFactorare negative or greater than their maximum permitted values.
GetPostThreadV2(AtUri, bool?, int?, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPostThreadV2(idunno.AtProto.AtUri, bool?, int?, int?, string?, System.Uri, idunno.AtProto.Authentication.AccessCredentials, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get posts in a thread. It is based in an anchor post at any depth of the tree, and returns posts above it (recursively resolving the parent, without further branching to their replies) and below it
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<PostThreadV2>> GetPostThreadV2(AtUri anchor, bool? above, int? below, int? branchingFactor, string? sort, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
anchorAtUri-
Reference idunno.AtProto.AtUri to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.
abovebool?-
Flag indicating whether to include parents above the anchor.
belowint?-
How many levels to include below the anchor.
branchingFactorint?-
Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated).
sortstring?-
The sort order for the thread.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PostThreadV2>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
anchor,accessCredentials,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
beloworbranchingFactorare negative or greater than their maximum permitted values.
GetPostThreadV2(AtUri, bool?, int?, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetPostThreadV2(idunno.AtProto.AtUri, bool?, int?, int?, string?, System.Uri, idunno.AtProto.Authentication.AccessCredentials, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get posts in a thread. It is based in an anchor post at any depth of the tree, and returns posts above it (recursively resolving the parent, without further branching to their replies) and below it
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<PostThreadV2>> GetPostThreadV2(AtUri anchor, bool? above, int? below, int? branchingFactor, string? sort, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
anchorAtUri-
Reference idunno.AtProto.AtUri to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.
abovebool?-
Flag indicating whether to include parents above the anchor.
belowint?-
How many levels to include below the anchor.
branchingFactorint?-
Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated).
sortstring?-
The sort order for the thread.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PostThreadV2>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
anchor,accessCredentials,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
beloworbranchingFactorare negative or greater than their maximum permitted values.
GetPosts(IEnumerable<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the post views for a specified list of posts (by idunno.AtProto.AtUri).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<PostView>>> GetPosts(IEnumerable<AtUri> uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urisIEnumerable<AtUri>-
List of post idunno.AtProto.AtUri to return hydrated views for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<PostView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uris,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
urisdoes not contain any idunno.AtProto.AtUris or has > 25 idunno.AtProto.AtUris.
GetPosts(IEnumerable<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the post views for a specified list of posts (by idunno.AtProto.AtUri).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<PostView>>> GetPosts(IEnumerable<AtUri> uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urisIEnumerable<AtUri>-
List of post idunno.AtProto.AtUri to return hydrated views for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<PostView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uris,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
urisdoes not contain any idunno.AtProto.AtUris or has > 25 idunno.AtProto.AtUris.
GetPosts(IEnumerable<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the post views for a specified list of posts (by idunno.AtProto.AtUri).
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<PostView>>> GetPosts(IEnumerable<AtUri> uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urisIEnumerable<AtUri>-
List of post idunno.AtProto.AtUri to return hydrated views for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<PostView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uris,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
urisdoes not contain any idunno.AtProto.AtUris or has > 25 idunno.AtProto.AtUris.
GetPreferences(bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the preferences for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Preferences>> GetPreferences(bool includeBlueskyModerationLabeler, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
includeBlueskyModerationLabelerbool-
Flag indicating whether the Bluesky moderation service should be returned as part of the labeler subscriptions.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetPreferences(bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the preferences for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Preferences>> GetPreferences(bool includeBlueskyModerationLabeler, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
includeBlueskyModerationLabelerbool-
Flag indicating whether the Bluesky moderation service should be returned as part of the labeler subscriptions.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetPreferences(bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the preferences for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Preferences>> GetPreferences(bool includeBlueskyModerationLabeler, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
includeBlueskyModerationLabelerbool-
Flag indicating whether the Bluesky moderation service should be returned as part of the labeler subscriptions.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
GetProfile(AtIdentifier, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a detailed profile view of an account. Does not require authentication, but if an access token is provided will contain relevant metadata about the requesting actor's relationship to the requested account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ProfileViewDetailed>> GetProfile(AtIdentifier actor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The handle or DID of the account to fetch profile of.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ProfileViewDetailed>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,serviceorhttpClientare null.
GetProfile(AtIdentifier, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a detailed profile view of an account. Does not require authentication, but if an access token is provided will contain relevant metadata about the requesting actor's relationship to the requested account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ProfileViewDetailed>> GetProfile(AtIdentifier actor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The handle or DID of the account to fetch profile of.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ProfileViewDetailed>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,serviceorhttpClientare null.
GetProfile(AtIdentifier, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a detailed profile view of an account. Does not require authentication, but if an access token is provided will contain relevant metadata about the requesting actor's relationship to the requested account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<ProfileViewDetailed>> GetProfile(AtIdentifier actor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The handle or DID of the account to fetch profile of.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ProfileViewDetailed>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,serviceorhttpClientare null.
GetProfiles(IEnumerable<AtIdentifier>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a detailed profile view of accounts. Does not require authentication, but if an access token is provided will contain relevant metadata about the requesting actor's relationship to the requested account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<ProfileViewDetailed>>> GetProfiles(IEnumerable<AtIdentifier> actors, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorsIEnumerable<AtIdentifier>-
The handle or DID of the accounts to fetch profiles for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<ProfileViewDetailed>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actors,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
actorsis an empty collection or if it contains >25 handles.
GetProfiles(IEnumerable<AtIdentifier>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a detailed profile view of accounts. Does not require authentication, but if an access token is provided will contain relevant metadata about the requesting actor's relationship to the requested account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<ProfileViewDetailed>>> GetProfiles(IEnumerable<AtIdentifier> actors, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorsIEnumerable<AtIdentifier>-
The handle or DID of the accounts to fetch profiles for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<ProfileViewDetailed>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actors,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
actorsis an empty collection or if it contains >25 handles.
GetProfiles(IEnumerable<AtIdentifier>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a detailed profile view of accounts. Does not require authentication, but if an access token is provided will contain relevant metadata about the requesting actor's relationship to the requested account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyCollection<ProfileViewDetailed>>> GetProfiles(IEnumerable<AtIdentifier> actors, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorsIEnumerable<AtIdentifier>-
The handle or DID of the accounts to fetch profiles for.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyCollection<ProfileViewDetailed>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actors,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
actorsis an empty collection or if it contains >25 handles.
GetQuotes(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of quotes for a given post.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<QuotesCollection>> GetQuotes(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
idunno.AtProto.AtUri of post record whose quotes should be retrieved.
cidCid?-
If supplied, filters to quotes of specific version (by content identifier) of the post record.
limitint?-
The maximum number of posts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, or null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<QuotesCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetQuotes(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of quotes for a given post.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<QuotesCollection>> GetQuotes(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
idunno.AtProto.AtUri of post record whose quotes should be retrieved.
cidCid?-
If supplied, filters to quotes of specific version (by content identifier) of the post record.
limitint?-
The maximum number of posts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, or null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<QuotesCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetQuotes(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of quotes for a given post.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<QuotesCollection>> GetQuotes(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
idunno.AtProto.AtUri of post record whose quotes should be retrieved.
cidCid?-
If supplied, filters to quotes of specific version (by content identifier) of the post record.
limitint?-
The maximum number of posts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, or null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<QuotesCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetRelationships(AtIdentifier, ICollection<AtIdentifier>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates public relationships between one account, and a list of other accounts.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RelationshipMap>> GetRelationships(AtIdentifier actor, ICollection<AtIdentifier> others, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
Primary account requesting relationships for.
othersICollection<AtIdentifier>-
List of 'other' accounts to be related back to the primary.
serviceUri-
The System.Uri of the service to get relationships from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RelationshipMap>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,others,service,httpClient. - ArgumentException
-
Thrown when
othersis empty or contains more than 30 identifers.
GetRelationships(AtIdentifier, ICollection<AtIdentifier>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates public relationships between one account, and a list of other accounts.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RelationshipMap>> GetRelationships(AtIdentifier actor, ICollection<AtIdentifier> others, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
Primary account requesting relationships for.
othersICollection<AtIdentifier>-
List of 'other' accounts to be related back to the primary.
serviceUri-
The System.Uri of the service to get relationships from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RelationshipMap>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,others,service,httpClient. - ArgumentException
-
Thrown when
othersis empty or contains more than 30 identifers.
GetRelationships(AtIdentifier, ICollection<AtIdentifier>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates public relationships between one account, and a list of other accounts.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RelationshipMap>> GetRelationships(AtIdentifier actor, ICollection<AtIdentifier> others, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
Primary account requesting relationships for.
othersICollection<AtIdentifier>-
List of 'other' accounts to be related back to the primary.
serviceUri-
The System.Uri of the service to get relationships from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RelationshipMap>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,others,service,httpClient. - ArgumentException
-
Thrown when
othersis empty or contains more than 30 identifers.
GetRepostedBy(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of profiles who reposted the specified post.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<RepostedBy>> GetRepostedBy(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
idunno.AtProto.AtUri of post record whose repost authors should be retrieved.
cidCid?-
If supplied, filters to quotes of specific version (by content identifier) of the post record.
limitint?-
The maximum number of posts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RepostedBy>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetRepostedBy(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of profiles who reposted the specified post.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<RepostedBy>> GetRepostedBy(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
idunno.AtProto.AtUri of post record whose repost authors should be retrieved.
cidCid?-
If supplied, filters to quotes of specific version (by content identifier) of the post record.
limitint?-
The maximum number of posts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RepostedBy>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetRepostedBy(AtUri, Cid?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of profiles who reposted the specified post.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<RepostedBy>> GetRepostedBy(AtUri uri, Cid? cid, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
idunno.AtProto.AtUri of post record whose repost authors should be retrieved.
cidCid?-
If supplied, filters to quotes of specific version (by content identifier) of the post record.
limitint?-
The maximum number of posts to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RepostedBy>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetStarterPack(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a view of a starter pack.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<StarterPackView>> GetStarterPack(AtUri uri, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the starter pack to view.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<StarterPackView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null.
GetStarterPack(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a view of a starter pack.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<StarterPackView>> GetStarterPack(AtUri uri, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the starter pack to view.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<StarterPackView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null.
GetStarterPack(AtUri, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a view of a starter pack.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<StarterPackView>> GetStarterPack(AtUri uri, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
uriAtUri-
The idunno.AtProto.AtUri of the starter pack to view.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<StarterPackView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uri,serviceorhttpClientis null.
GetStarterPacks(ICollection<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a basic view of the specified starter packs.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyList<StarterPackViewBasic>>> GetStarterPacks(ICollection<AtUri> uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urisICollection<AtUri>-
A collection of idunno.AtProto.AtUris for the starter packs to view.
serviceUri-
The System.Uri of the service to retrieve the starter packs from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyList<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uris,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when number
urisis < 1 or > 25.
GetStarterPacks(ICollection<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a basic view of the specified starter packs.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyList<StarterPackViewBasic>>> GetStarterPacks(ICollection<AtUri> uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urisICollection<AtUri>-
A collection of idunno.AtProto.AtUris for the starter packs to view.
serviceUri-
The System.Uri of the service to retrieve the starter packs from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyList<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uris,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when number
urisis < 1 or > 25.
GetStarterPacks(ICollection<AtUri>, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets a basic view of the specified starter packs.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<IReadOnlyList<StarterPackViewBasic>>> GetStarterPacks(ICollection<AtUri> uris, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
urisICollection<AtUri>-
A collection of idunno.AtProto.AtUris for the starter packs to view.
serviceUri-
The System.Uri of the service to retrieve the starter packs from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<IReadOnlyList<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
uris,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when number
urisis < 1 or > 25.
GetStarterPacksWithMembership(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the starter packs created by the authenticated user, and includes membership information about actor in those starter packs. Requires auth.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackWithMembership>>> GetStarterPacksWithMembership(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account (actor) to check for membership.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to get starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackWithMembership>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,httpClient. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
GetStarterPacksWithMembership(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the starter packs created by the authenticated user, and includes membership information about actor in those starter packs. Requires auth.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackWithMembership>>> GetStarterPacksWithMembership(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account (actor) to check for membership.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to get starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackWithMembership>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,httpClient. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
GetStarterPacksWithMembership(AtIdentifier, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates the starter packs created by the authenticated user, and includes membership information about actor in those starter packs. Requires auth.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackWithMembership>>> GetStarterPacksWithMembership(AtIdentifier actor, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account (actor) to check for membership.
limitint?-
The maximum number of lists that should be return in a page.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to get starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackWithMembership>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,service,httpClient. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
GetSuggestedFeeds(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of suggested feeds for the user whose access token is supplied.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedFeeds>> GetSuggestedFeeds(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedFeeds>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
GetSuggestedFeeds(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of suggested feeds for the user whose access token is supplied.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedFeeds>> GetSuggestedFeeds(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedFeeds>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
GetSuggestedFeeds(Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of suggested feeds for the user whose access token is supplied.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedFeeds>> GetSuggestedFeeds(Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedFeeds>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
GetSuggestedFollowsByActor(AtIdentifier, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedActors>> GetSuggestedFollowsByActor(AtIdentifier actor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account to enumerate suggested follows for.
serviceUri-
The System.Uri of the service to retrieve the follows from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedActors>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null.
GetSuggestedFollowsByActor(AtIdentifier, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedActors>> GetSuggestedFollowsByActor(AtIdentifier actor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account to enumerate suggested follows for.
serviceUri-
The System.Uri of the service to retrieve the follows from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedActors>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null.
GetSuggestedFollowsByActor(AtIdentifier, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedActors>> GetSuggestedFollowsByActor(AtIdentifier actor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The account to enumerate suggested follows for.
serviceUri-
The System.Uri of the service to retrieve the follows from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedActors>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
actor,serviceorhttpClientis null.
GetSuggestedStarterPacks(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetSuggestedStarterPacks(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of suggested idunno.Bluesky.Graph.StarterPackViews.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<ICollection<StarterPackView>>> GetSuggestedStarterPacks(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of starter packs to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<StarterPackView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetSuggestedStarterPacks(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetSuggestedStarterPacks(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of suggested idunno.Bluesky.Graph.StarterPackViews.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<ICollection<StarterPackView>>> GetSuggestedStarterPacks(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of starter packs to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<StarterPackView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetSuggestedStarterPacks(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetSuggestedStarterPacks(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of suggested idunno.Bluesky.Graph.StarterPackViews.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<ICollection<StarterPackView>>> GetSuggestedStarterPacks(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of starter packs to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<StarterPackView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetSuggestedUsers(string?, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetSuggestedUsers(string?, int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a idunno.AtProto.PagedReadOnlyCollection`1 of idunno.Bluesky.Actor.ProfileViews of suggested actors.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<RecommendationReadOnlyCollection<ProfileView>>> GetSuggestedUsers(string? category, int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
categorystring?-
An optional category of users to get suggestions for.
limitint?-
The number of topics to return. Must be between 1 and 50.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RecommendationReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >50.
GetSuggestedUsers(string?, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetSuggestedUsers(string?, int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a idunno.AtProto.PagedReadOnlyCollection`1 of idunno.Bluesky.Actor.ProfileViews of suggested actors.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<RecommendationReadOnlyCollection<ProfileView>>> GetSuggestedUsers(string? category, int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
categorystring?-
An optional category of users to get suggestions for.
limitint?-
The number of topics to return. Must be between 1 and 50.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RecommendationReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >50.
GetSuggestedUsers(string?, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetSuggestedUsers(string?, int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a idunno.AtProto.PagedReadOnlyCollection`1 of idunno.Bluesky.Actor.ProfileViews of suggested actors.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<RecommendationReadOnlyCollection<ProfileView>>> GetSuggestedUsers(string? category, int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
categorystring?-
An optional category of users to get suggestions for.
limitint?-
The number of topics to return. Must be between 1 and 50.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RecommendationReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >50.
GetSuggestions(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of suggested actors for the authenticated user. The expected use is discovery of accounts to follow during new account onboarding.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedProfiles>> GetSuggestions(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of suggested actors to return. Defaults to 50 if null.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedProfiles>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
GetSuggestions(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of suggested actors for the authenticated user. The expected use is discovery of accounts to follow during new account onboarding.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedProfiles>> GetSuggestions(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of suggested actors to return. Defaults to 50 if null.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedProfiles>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
GetSuggestions(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a list of suggested actors for the authenticated user. The expected use is discovery of accounts to follow during new account onboarding.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SuggestedProfiles>> GetSuggestions(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of suggested actors to return. Defaults to 50 if null.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SuggestedProfiles>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
GetTaggedSuggestions(ICollection<KeyValuePair<string, object>>?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTaggedSuggestions(System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object>>?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of tagged suggestions.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<ICollection<Suggestion>>> GetTaggedSuggestions(ICollection<KeyValuePair<string, object>>? parameters, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
parametersICollection<KeyValuePair<string, object>>?-
Any parameters to send to the endpoint. Parameter values will automatically be query string encoded.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<Suggestion>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetTaggedSuggestions(ICollection<KeyValuePair<string, object>>?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTaggedSuggestions(System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object>>?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of tagged suggestions.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<ICollection<Suggestion>>> GetTaggedSuggestions(ICollection<KeyValuePair<string, object>>? parameters, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
parametersICollection<KeyValuePair<string, object>>?-
Any parameters to send to the endpoint. Parameter values will automatically be query string encoded.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<Suggestion>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetTaggedSuggestions(ICollection<KeyValuePair<string, object>>?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTaggedSuggestions(System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object>>?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of tagged suggestions.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<ICollection<Suggestion>>> GetTaggedSuggestions(ICollection<KeyValuePair<string, object>>? parameters, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
parametersICollection<KeyValuePair<string, object>>?-
Any parameters to send to the endpoint. Parameter values will automatically be query string encoded.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<Suggestion>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetTimeline(string?, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Timeline>> GetTimeline(string? algorithm, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
algorithmstring?-
Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism.
limitint?-
The maximum number of post views to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetTimeline(string?, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Timeline>> GetTimeline(string? algorithm, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
algorithmstring?-
Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism.
limitint?-
The maximum number of post views to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetTimeline(string?, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Timeline>> GetTimeline(string? algorithm, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
algorithmstring?-
Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism.
limitint?-
The maximum number of post views to return.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
GetTrendingTopics(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTrendingTopics(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of trending topics
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<TrendingTopics>> GetTrendingTopics(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of topics to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<TrendingTopics>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetTrendingTopics(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTrendingTopics(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of trending topics
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<TrendingTopics>> GetTrendingTopics(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of topics to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<TrendingTopics>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetTrendingTopics(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTrendingTopics(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of trending topics
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<TrendingTopics>> GetTrendingTopics(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of topics to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<TrendingTopics>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetTrends(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTrends(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of trends
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<RecommendationReadOnlyCollection<TrendView>>> GetTrends(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of trends to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RecommendationReadOnlyCollection<TrendView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetTrends(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTrends(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of trends
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<RecommendationReadOnlyCollection<TrendView>>> GetTrends(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of trends to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RecommendationReadOnlyCollection<TrendView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetTrends(int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken) Preview
BSKYUnspecced: 'idunno.Bluesky.BlueskyServer.GetTrends(int?, System.Uri, idunno.AtProto.Authentication.AccessCredentials?, System.Net.Http.HttpClient, System.Func<idunno.AtProto.Authentication.AtProtoCredential, System.Threading.CancellationToken, System.Threading.Tasks.Task>?, Microsoft.Extensions.Logging.ILoggerFactory?, System.Collections.Generic.IEnumerable<idunno.AtProto.Did>?, int, System.Threading.CancellationToken)' is for evaluation purposes only and is subject to change or removal in future updates.
Get a collection of trends
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public static Task<AtProtoHttpResult<RecommendationReadOnlyCollection<TrendView>>> GetTrends(int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of trends to return. Must be between 1 and 25.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RecommendationReadOnlyCollection<TrendView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis < 1 or >25.
GetUnreadCounts(bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the count of unread conversations for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UnreadConversationCounts>> GetUnreadCounts(bool includeGroupChats, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
includeGroupChatsbool-
Flag indicating whether to include group conversations. When false, group conversations are excluded from the counts.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UnreadConversationCounts>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetUnreadCounts(bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the count of unread conversations for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UnreadConversationCounts>> GetUnreadCounts(bool includeGroupChats, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
includeGroupChatsbool-
Flag indicating whether to include group conversations. When false, group conversations are excluded from the counts.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UnreadConversationCounts>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetUnreadCounts(bool, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Gets the count of unread conversations for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UnreadConversationCounts>> GetUnreadCounts(bool includeGroupChats, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
includeGroupChatsbool-
Flag indicating whether to include group conversations. When false, group conversations are excluded from the counts.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UnreadConversationCounts>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
GetUploadLimits(Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets the upload limits for authenticated user, specified by the serviceCredential.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UploadLimits>> GetUploadLimits(Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to send the abort request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadLimits>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
GetUploadLimits(Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets the upload limits for authenticated user, specified by the serviceCredential.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UploadLimits>> GetUploadLimits(Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to send the abort request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadLimits>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
GetUploadLimits(Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Gets the upload limits for authenticated user, specified by the serviceCredential.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UploadLimits>> GetUploadLimits(Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
serviceUri-
The System.Uri of the service to send the abort request to.
serviceCredentialServiceCredential-
The credentials to use for the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadLimits>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,serviceCredential, orhttpClientare null.
GetUploadStatus(string, Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Get the authoritative status of the upload phase of a multi part video upload.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<UploadStatus>> GetUploadStatus(string jobId, Uri service, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id whose status should be queried.
serviceUri-
The System.Uri of the service to query the status against.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadStatus>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetUploadStatus(string, Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Get the authoritative status of the upload phase of a multi part video upload.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<UploadStatus>> GetUploadStatus(string jobId, Uri service, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id whose status should be queried.
serviceUri-
The System.Uri of the service to query the status against.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadStatus>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
GetUploadStatus(string, Uri, HttpClient, ILoggerFactory?, int, CancellationToken)
Get the authoritative status of the upload phase of a multi part video upload.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<UploadStatus>> GetUploadStatus(string jobId, Uri service, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id whose status should be queried.
serviceUri-
The System.Uri of the service to query the status against.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadStatus>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
jobIdis null or whitespace. - ArgumentNullException
-
Thrown when
serviceorhttpClientare null.
LeaveConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Leaves the conversation identified by id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationReference>> LeaveConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier to leave.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationReference>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
LeaveConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Leaves the conversation identified by id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationReference>> LeaveConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier to leave.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationReference>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
LeaveConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Leaves the conversation identified by id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationReference>> LeaveConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier to leave.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationReference>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
ListActivitySubscriptions(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the activity subscriptions for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> ListActivitySubscriptions(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of activity subscriptions to return. If specified this should be greater than 1 and less than or equal to 100.
cursorstring?-
An optional cursor. See https://atproto.com/specs/xrpc#cursors-and-pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
A optional list of labeler idunno.AtProto.Dids to accept labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
ListActivitySubscriptions(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the activity subscriptions for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> ListActivitySubscriptions(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of activity subscriptions to return. If specified this should be greater than 1 and less than or equal to 100.
cursorstring?-
An optional cursor. See https://atproto.com/specs/xrpc#cursors-and-pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
A optional list of labeler idunno.AtProto.Dids to accept labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
ListActivitySubscriptions(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the activity subscriptions for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> ListActivitySubscriptions(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of activity subscriptions to return. If specified this should be greater than 1 and less than or equal to 100.
cursorstring?-
An optional cursor. See https://atproto.com/specs/xrpc#cursors-and-pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
A optional list of labeler idunno.AtProto.Dids to accept labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
ListConversationRequests(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Returns a page of incoming conversation requests for the user. Direct conversation requests are returned as idunno.Bluesky.Chat.ConversationView; group join requests made by the user are returned as idunno.Bluesky.Chat.Group.JoinRequestConversationView.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationViewBase>>> ListConversationRequests(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of requests to return. Must be between 1 and 100.
cursorstring?-
The cursor to use for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationViewBase>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentials, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis out of range.
ListConversationRequests(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Returns a page of incoming conversation requests for the user. Direct conversation requests are returned as idunno.Bluesky.Chat.ConversationView; group join requests made by the user are returned as idunno.Bluesky.Chat.Group.JoinRequestConversationView.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationViewBase>>> ListConversationRequests(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of requests to return. Must be between 1 and 100.
cursorstring?-
The cursor to use for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationViewBase>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentials, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis out of range.
ListConversationRequests(int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Returns a page of incoming conversation requests for the user. Direct conversation requests are returned as idunno.Bluesky.Chat.ConversationView; group join requests made by the user are returned as idunno.Bluesky.Chat.Group.JoinRequestConversationView.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationViewBase>>> ListConversationRequests(int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of requests to return. Must be between 1 and 100.
cursorstring?-
The cursor to use for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationViewBase>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
service,accessCredentials, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis out of range.
ListConversations(int?, string?, string?, string?, string?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates a list of conversations the current user is a part of.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Conversations>> ListConversations(int? limit, string? cursor, string? readState, string? status, string? kind, string? lockStatus, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of conversations to return.
cursorstring?-
A cursor used for pagination.
readStatestring?-
An optional filter limiting the results to conversations in the specified read state. Known values are defined in idunno.Bluesky.Chat.ConversationReadState.
statusstring?-
An optional filter limiting the results to conversations with the specified status. Known values are defined in idunno.Bluesky.Chat.ConversationStatus.
kindstring?-
An optional filter limiting the results to conversations of the specified kind. Known values are defined in idunno.Bluesky.Chat.ConversationKind.
lockStatusstring?-
An optional filter limiting the results to conversations with the specified lock status. Known values are defined in idunno.Bluesky.Chat.ConversationLockStatus.
serviceUri-
The System.Uri of the service to retrieve the conversations from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Conversations>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when any of
readState,status,kindorlockStatusis specified and is whitespace. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <1 or > the maximum number of conversations to list.
ListConversations(int?, string?, string?, string?, string?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates a list of conversations the current user is a part of.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Conversations>> ListConversations(int? limit, string? cursor, string? readState, string? status, string? kind, string? lockStatus, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of conversations to return.
cursorstring?-
A cursor used for pagination.
readStatestring?-
An optional filter limiting the results to conversations in the specified read state. Known values are defined in idunno.Bluesky.Chat.ConversationReadState.
statusstring?-
An optional filter limiting the results to conversations with the specified status. Known values are defined in idunno.Bluesky.Chat.ConversationStatus.
kindstring?-
An optional filter limiting the results to conversations of the specified kind. Known values are defined in idunno.Bluesky.Chat.ConversationKind.
lockStatusstring?-
An optional filter limiting the results to conversations with the specified lock status. Known values are defined in idunno.Bluesky.Chat.ConversationLockStatus.
serviceUri-
The System.Uri of the service to retrieve the conversations from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Conversations>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when any of
readState,status,kindorlockStatusis specified and is whitespace. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <1 or > the maximum number of conversations to list.
ListConversations(int?, string?, string?, string?, string?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Enumerates a list of conversations the current user is a part of.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<Conversations>> ListConversations(int? limit, string? cursor, string? readState, string? status, string? kind, string? lockStatus, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The number of conversations to return.
cursorstring?-
A cursor used for pagination.
readStatestring?-
An optional filter limiting the results to conversations in the specified read state. Known values are defined in idunno.Bluesky.Chat.ConversationReadState.
statusstring?-
An optional filter limiting the results to conversations with the specified status. Known values are defined in idunno.Bluesky.Chat.ConversationStatus.
kindstring?-
An optional filter limiting the results to conversations of the specified kind. Known values are defined in idunno.Bluesky.Chat.ConversationKind.
lockStatusstring?-
An optional filter limiting the results to conversations with the specified lock status. Known values are defined in idunno.Bluesky.Chat.ConversationLockStatus.
serviceUri-
The System.Uri of the service to retrieve the conversations from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Conversations>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when any of
readState,status,kindorlockStatusis specified and is whitespace. - ArgumentNullException
-
Thrown when any of
accessCredentials,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis <1 or > the maximum number of conversations to list.
ListJoinGroupRequests(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Lists a page of requests as a idunno.Bluesky.PagedViewReadOnlyCollection`1 to join a group (via join link) the user owns. Shows the data from the owner's point of view.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<JoinRequestView>>> ListJoinGroupRequests(string conversationId, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to list join requests for.
limitint?-
The maximum number of join requests to return. Must be between 1 and 100.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<JoinRequestView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis empty. - ArgumentOutOfRangeException
-
Thrown when
limitis out of range.
ListJoinGroupRequests(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Lists a page of requests as a idunno.Bluesky.PagedViewReadOnlyCollection`1 to join a group (via join link) the user owns. Shows the data from the owner's point of view.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<JoinRequestView>>> ListJoinGroupRequests(string conversationId, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to list join requests for.
limitint?-
The maximum number of join requests to return. Must be between 1 and 100.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<JoinRequestView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis empty. - ArgumentOutOfRangeException
-
Thrown when
limitis out of range.
ListJoinGroupRequests(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Lists a page of requests as a idunno.Bluesky.PagedViewReadOnlyCollection`1 to join a group (via join link) the user owns. Shows the data from the owner's point of view.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<JoinRequestView>>> ListJoinGroupRequests(string conversationId, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the conversation to list join requests for.
limitint?-
The maximum number of join requests to return. Must be between 1 and 100.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<JoinRequestView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,service,accessCredentialsorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis empty. - ArgumentOutOfRangeException
-
Thrown when
limitis out of range.
ListMutualGroups(Did, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Lists a page of mutual groups as a idunno.Bluesky.PagedViewReadOnlyCollection`1 for the specified user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationView>>> ListMutualGroups(Did subject, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
subjectDid-
The idunno.AtProto.Did of the user to list mutual groups for.
limitint?-
An optional limit for the number of items to return.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
subject,service,accessCredentialsorhttpClientis null.
ListMutualGroups(Did, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Lists a page of mutual groups as a idunno.Bluesky.PagedViewReadOnlyCollection`1 for the specified user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationView>>> ListMutualGroups(Did subject, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
subjectDid-
The idunno.AtProto.Did of the user to list mutual groups for.
limitint?-
An optional limit for the number of items to return.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
subject,service,accessCredentialsorhttpClientis null.
ListMutualGroups(Did, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Lists a page of mutual groups as a idunno.Bluesky.PagedViewReadOnlyCollection`1 for the specified user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationView>>> ListMutualGroups(Did subject, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
subjectDid-
The idunno.AtProto.Did of the user to list mutual groups for.
limitint?-
An optional limit for the number of items to return.
cursorstring?-
An optional cursor used for pagination.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ConversationView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
subject,service,accessCredentialsorhttpClientis null.
ListNotifications(int?, string?, IEnumerable<NotificationReason>?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the notifications for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<NotificationCollection>> ListNotifications(int? limit, string? cursor, IEnumerable<NotificationReason>? reasons, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of notifications to return. If specified this should be greater than 1 and less than or equal to 100.
cursorstring?-
An optional cursor. See https://atproto.com/specs/xrpc#cursors-and-pagination.
reasonsIEnumerable<NotificationReason>?-
An optional collection of idunno.Bluesky.Notifications.NotificationReasons to limit the results to.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
A optional list of labeler idunno.AtProto.Dids to accept labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<NotificationCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100. - ArgumentException
-
Thrown when
reasonscontains idunno.Bluesky.Notifications.NotificationReason.Unknown.
ListNotifications(int?, string?, IEnumerable<NotificationReason>?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the notifications for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<NotificationCollection>> ListNotifications(int? limit, string? cursor, IEnumerable<NotificationReason>? reasons, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of notifications to return. If specified this should be greater than 1 and less than or equal to 100.
cursorstring?-
An optional cursor. See https://atproto.com/specs/xrpc#cursors-and-pagination.
reasonsIEnumerable<NotificationReason>?-
An optional collection of idunno.Bluesky.Notifications.NotificationReasons to limit the results to.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
A optional list of labeler idunno.AtProto.Dids to accept labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<NotificationCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100. - ArgumentException
-
Thrown when
reasonscontains idunno.Bluesky.Notifications.NotificationReason.Unknown.
ListNotifications(int?, string?, IEnumerable<NotificationReason>?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Gets the notifications for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<NotificationCollection>> ListNotifications(int? limit, string? cursor, IEnumerable<NotificationReason>? reasons, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
limitint?-
The maximum number of notifications to return. If specified this should be greater than 1 and less than or equal to 100.
cursorstring?-
An optional cursor. See https://atproto.com/specs/xrpc#cursors-and-pagination.
reasonsIEnumerable<NotificationReason>?-
An optional collection of idunno.Bluesky.Notifications.NotificationReasons to limit the results to.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
A optional list of labeler idunno.AtProto.Dids to accept labels from.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<NotificationCollection>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100. - ArgumentException
-
Thrown when
reasonscontains idunno.Bluesky.Notifications.NotificationReason.Unknown.
LockConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Locks a group conversation so no more content (messages, reactions) can be added to it.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> LockConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation to lock.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis null or empty.
LockConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Locks a group conversation so no more content (messages, reactions) can be added to it.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> LockConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation to lock.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis null or empty.
LockConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Locks a group conversation so no more content (messages, reactions) can be added to it.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> LockConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation to lock.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis null or empty.
MuteActor(AtIdentifier, bool?, bool?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates or updates a mute relationship for the specified account. If a mute already exists for the account, it is updated in place: the stored scope is replaced with the scope in this request. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteActor(AtIdentifier actor, bool? onlyReposts, bool? onlyQuotePosts, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor to mute
onlyRepostsbool?-
Flag indicating whether to restrict the mute to the account's reposts. When true, just the scoped content is muted; when no scoped mutes are set the account is fully muted.
onlyQuotePostsbool?-
Flag indicating whether to restrict the mute to the account's quotes. When true, just the scoped content is muted; when no scoped mutes are set the account is fully muted.
serviceUri-
The System.Uri of the service to create the mute on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,service,accessCredentialsorhttpClientare null.
MuteActor(AtIdentifier, bool?, bool?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates or updates a mute relationship for the specified account. If a mute already exists for the account, it is updated in place: the stored scope is replaced with the scope in this request. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteActor(AtIdentifier actor, bool? onlyReposts, bool? onlyQuotePosts, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor to mute
onlyRepostsbool?-
Flag indicating whether to restrict the mute to the account's reposts. When true, just the scoped content is muted; when no scoped mutes are set the account is fully muted.
onlyQuotePostsbool?-
Flag indicating whether to restrict the mute to the account's quotes. When true, just the scoped content is muted; when no scoped mutes are set the account is fully muted.
serviceUri-
The System.Uri of the service to create the mute on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,service,accessCredentialsorhttpClientare null.
MuteActor(AtIdentifier, bool?, bool?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates or updates a mute relationship for the specified account. If a mute already exists for the account, it is updated in place: the stored scope is replaced with the scope in this request. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteActor(AtIdentifier actor, bool? onlyReposts, bool? onlyQuotePosts, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor to mute
onlyRepostsbool?-
Flag indicating whether to restrict the mute to the account's reposts. When true, just the scoped content is muted; when no scoped mutes are set the account is fully muted.
onlyQuotePostsbool?-
Flag indicating whether to restrict the mute to the account's quotes. When true, just the scoped content is muted; when no scoped mutes are set the account is fully muted.
serviceUri-
The System.Uri of the service to create the mute on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,service,accessCredentialsorhttpClientare null.
MuteActorList(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a mute relationship for the specified list of accounts. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteActorList(AtUri listUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listUriAtUri-
The idunno.AtProto.AtUri of the list of actors to mute.
serviceUri-
The System.Uri of the service to create the mutes on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
listUri,service,accessCredentialsorhttpClientare null.
MuteActorList(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a mute relationship for the specified list of accounts. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteActorList(AtUri listUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listUriAtUri-
The idunno.AtProto.AtUri of the list of actors to mute.
serviceUri-
The System.Uri of the service to create the mutes on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
listUri,service,accessCredentialsorhttpClientare null.
MuteActorList(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates a mute relationship for the specified list of accounts. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteActorList(AtUri listUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listUriAtUri-
The idunno.AtProto.AtUri of the list of actors to mute.
serviceUri-
The System.Uri of the service to create the mutes on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
listUri,service,accessCredentialsorhttpClientare null.
MuteConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Mutes the conversation identified by id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> MuteConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier to mute.
serviceUri-
The System.Uri of the service to mute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
MuteConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Mutes the conversation identified by id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> MuteConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier to mute.
serviceUri-
The System.Uri of the service to mute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
MuteConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Mutes the conversation identified by id.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> MuteConversation(string id, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
idstring-
The conversation identifier to mute.
serviceUri-
The System.Uri of the service to mute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
idis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
MuteThread(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Mutes a thread preventing notifications from the thread and any of its children. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteThread(AtUri rootUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
rootUriAtUri-
The idunno.AtProto.AtUri of the thread to mute
serviceUri-
The System.Uri of the service to mute the thread on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
rootUri,service,accessCredentialsorhttpClientare null.
MuteThread(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Mutes a thread preventing notifications from the thread and any of its children. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteThread(AtUri rootUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
rootUriAtUri-
The idunno.AtProto.AtUri of the thread to mute
serviceUri-
The System.Uri of the service to mute the thread on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
rootUri,service,accessCredentialsorhttpClientare null.
MuteThread(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Mutes a thread preventing notifications from the thread and any of its children. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> MuteThread(AtUri rootUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
rootUriAtUri-
The idunno.AtProto.AtUri of the thread to mute
serviceUri-
The System.Uri of the service to mute the thread on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
rootUri,service,accessCredentialsorhttpClientare null.
PutActivitySubscription(SubjectActivitySubscription, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Puts the supplied subscriptionSettings for activity notifications
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<SubjectActivitySubscription>> PutActivitySubscription(SubjectActivitySubscription subscriptionSettings, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
subscriptionSettingsSubjectActivitySubscription-
The idunno.Bluesky.Notifications.SubjectActivitySubscription to send.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SubjectActivitySubscription>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
subscriptionSettings,service,accessCredentialsorhttpClientare null. - ArgumentException
-
Thrown when the idunno.Bluesky.Notifications.SubjectActivitySubscription.ActivitySubscription property of
subscriptionSettingsis null.
PutActivitySubscription(SubjectActivitySubscription, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Puts the supplied subscriptionSettings for activity notifications
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<SubjectActivitySubscription>> PutActivitySubscription(SubjectActivitySubscription subscriptionSettings, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
subscriptionSettingsSubjectActivitySubscription-
The idunno.Bluesky.Notifications.SubjectActivitySubscription to send.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SubjectActivitySubscription>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
subscriptionSettings,service,accessCredentialsorhttpClientare null. - ArgumentException
-
Thrown when the idunno.Bluesky.Notifications.SubjectActivitySubscription.ActivitySubscription property of
subscriptionSettingsis null.
PutActivitySubscription(SubjectActivitySubscription, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Puts the supplied subscriptionSettings for activity notifications
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<SubjectActivitySubscription>> PutActivitySubscription(SubjectActivitySubscription subscriptionSettings, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
subscriptionSettingsSubjectActivitySubscription-
The idunno.Bluesky.Notifications.SubjectActivitySubscription to send.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SubjectActivitySubscription>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
subscriptionSettings,service,accessCredentialsorhttpClientare null. - ArgumentException
-
Thrown when the idunno.Bluesky.Notifications.SubjectActivitySubscription.ActivitySubscription property of
subscriptionSettingsis null.
PutChatNotificationPreferences(Preference?, Preference?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> PutChatNotificationPreferences(Preference? chat, Preference? chatRequest, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
chatPreference?-
Notification preferences for chats.
chatRequestPreference?-
Notification preferences for chat requests.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when both
chatandchatRequestare null.
PutChatNotificationPreferences(Preference?, Preference?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> PutChatNotificationPreferences(Preference? chat, Preference? chatRequest, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
chatPreference?-
Notification preferences for chats.
chatRequestPreference?-
Notification preferences for chat requests.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when both
chatandchatRequestare null.
PutChatNotificationPreferences(Preference?, Preference?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> PutChatNotificationPreferences(Preference? chat, Preference? chatRequest, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
chatPreference?-
Notification preferences for chats.
chatRequestPreference?-
Notification preferences for chat requests.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when both
chatandchatRequestare null.
PutNotificationPreferences(Preferences, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Puts the notification preferences for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> PutNotificationPreferences(Preferences preferences, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
preferencesPreferences-
The idunno.Bluesky.Notifications.Preferences to set.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
preferences,service,accessCredentialsorhttpClientare null.
PutNotificationPreferences(Preferences, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Puts the notification preferences for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> PutNotificationPreferences(Preferences preferences, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
preferencesPreferences-
The idunno.Bluesky.Notifications.Preferences to set.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
preferences,service,accessCredentialsorhttpClientare null.
PutNotificationPreferences(Preferences, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Puts the notification preferences for the current user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<Preferences>> PutNotificationPreferences(Preferences preferences, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
preferencesPreferences-
The idunno.Bluesky.Notifications.Preferences to set.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<Preferences>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
preferences,service,accessCredentialsorhttpClientare null.
PutPreferences(IList<Preference>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates or updates the preferences for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> PutPreferences(IList<Preference> preferences, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
preferencesIList<Preference>-
The preferences to create or update
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
preferences,service,accessCredentialsorhttpClientare null.
PutPreferences(IList<Preference>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates or updates the preferences for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> PutPreferences(IList<Preference> preferences, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
preferencesIList<Preference>-
The preferences to create or update
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
preferences,service,accessCredentialsorhttpClientare null.
PutPreferences(IList<Preference>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Creates or updates the preferences for the requesting account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> PutPreferences(IList<Preference> preferences, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
preferencesIList<Preference>-
The preferences to create or update
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
preferences,service,accessCredentialsorhttpClientare null.
RejectJoinGroupRequest(string, Did, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Rejects a request to join a group (via join link) the user owns.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> RejectJoinGroupRequest(string conversationId, Did member, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the group to reject the join request for.
memberDid-
The idunno.AtProto.Did of the user to reject the join request for.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,member,service,accessCredentialsorhttpClientis null.
RejectJoinGroupRequest(string, Did, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Rejects a request to join a group (via join link) the user owns.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> RejectJoinGroupRequest(string conversationId, Did member, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the group to reject the join request for.
memberDid-
The idunno.AtProto.Did of the user to reject the join request for.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,member,service,accessCredentialsorhttpClientis null.
RejectJoinGroupRequest(string, Did, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Rejects a request to join a group (via join link) the user owns.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> RejectJoinGroupRequest(string conversationId, Did member, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the group to reject the join request for.
memberDid-
The idunno.AtProto.Did of the user to reject the join request for.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,member,service,accessCredentialsorhttpClientis null.
RemoveGroupMembers(string, ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Remove members from a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RemoveMembersResponse>> RemoveGroupMembers(string conversationId, ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the group to remove members from.
membersICollection<Did>-
The System.Collections.Generic.ICollection`1 of users to remove from the group.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RemoveMembersResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,members,service,accessCredentialsorhttpClientis null.
RemoveGroupMembers(string, ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Remove members from a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RemoveMembersResponse>> RemoveGroupMembers(string conversationId, ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the group to remove members from.
membersICollection<Did>-
The System.Collections.Generic.ICollection`1 of users to remove from the group.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RemoveMembersResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,members,service,accessCredentialsorhttpClientis null.
RemoveGroupMembers(string, ICollection<Did>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Remove members from a group conversation.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RemoveMembersResponse>> RemoveGroupMembers(string conversationId, ICollection<Did> members, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The id of the group to remove members from.
membersICollection<Did>-
The System.Collections.Generic.ICollection`1 of users to remove from the group.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RemoveMembersResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
conversationId,members,service,accessCredentialsorhttpClientis null.
RemoveReaction(string, string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Removes the specified reaction to the message identified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> RemoveReaction(string conversationId, string messageId, string value, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to remove the reaction to identified by
messageIdfrom. messageIdstring-
The message identifier to remove the reaction to from
conversationId. valuestring-
The reaction to remove.
serviceUri-
The System.Uri of the service to delete the message from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationId,messageIdorvalueis whitespace. - ArgumentNullException
-
Thrown when
conversationId,messageId,value,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
valuehas a grapheme length that does not equal 1.
RemoveReaction(string, string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Removes the specified reaction to the message identified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> RemoveReaction(string conversationId, string messageId, string value, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to remove the reaction to identified by
messageIdfrom. messageIdstring-
The message identifier to remove the reaction to from
conversationId. valuestring-
The reaction to remove.
serviceUri-
The System.Uri of the service to delete the message from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationId,messageIdorvalueis whitespace. - ArgumentNullException
-
Thrown when
conversationId,messageId,value,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
valuehas a grapheme length that does not equal 1.
RemoveReaction(string, string, string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Removes the specified reaction to the message identified by messageId from the conversation identified by conversationId for the authenticated user.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> RemoveReaction(string conversationId, string messageId, string value, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to remove the reaction to identified by
messageIdfrom. messageIdstring-
The message identifier to remove the reaction to from
conversationId. valuestring-
The reaction to remove.
serviceUri-
The System.Uri of the service to delete the message from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationId,messageIdorvalueis whitespace. - ArgumentNullException
-
Thrown when
conversationId,messageId,value,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
valuehas a grapheme length that does not equal 1.
RequestJoinGroup(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Request to join a group via a group link.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RequestJoinResponse>> RequestJoinGroup(string code, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
codestring-
The code from the group link.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RequestJoinResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
codeis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
RequestJoinGroup(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Request to join a group via a group link.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RequestJoinResponse>> RequestJoinGroup(string code, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
codestring-
The code from the group link.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RequestJoinResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
codeis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
RequestJoinGroup(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Request to join a group via a group link.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<RequestJoinResponse>> RequestJoinGroup(string code, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
codestring-
The code from the group link.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<RequestJoinResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
codeis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
SearchActors(string, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find actors (profiles) matching search criteria. Does not require authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> SearchActors(string q, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
The search query string. Syntax, phrase, Boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The number of suggested actors to return. Defaults to 25 if null.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
qis null or whitespace. - ArgumentNullException
-
Thrown when
service, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
SearchActors(string, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find actors (profiles) matching search criteria. Does not require authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> SearchActors(string q, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
The search query string. Syntax, phrase, Boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The number of suggested actors to return. Defaults to 25 if null.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
qis null or whitespace. - ArgumentNullException
-
Thrown when
service, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
SearchActors(string, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find actors (profiles) matching search criteria. Does not require authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>> SearchActors(string q, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
The search query string. Syntax, phrase, Boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The number of suggested actors to return. Defaults to 25 if null.
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
qis null or whitespace. - ArgumentNullException
-
Thrown when
service, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
SearchActorsTypeahead(string, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>> SearchActorsTypeahead(string q, int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
"Search query prefix; not a full query string.
limitint?-
The number of suggested actors to return. Defaults to 10 if null.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
qis null. - ArgumentNullException
-
Thrown when
service, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
SearchActorsTypeahead(string, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>> SearchActorsTypeahead(string q, int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
"Search query prefix; not a full query string.
limitint?-
The number of suggested actors to return. Defaults to 10 if null.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
qis null. - ArgumentNullException
-
Thrown when
service, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
SearchActorsTypeahead(string, int?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>> SearchActorsTypeahead(string q, int? limit, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
"Search query prefix; not a full query string.
limitint?-
The number of suggested actors to return. Defaults to 10 if null.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the account.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<ProfileViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
qis null. - ArgumentNullException
-
Thrown when
service, orhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis <=0 or >100.
SearchPosts(string, SearchOrder?, string?, string?, AtIdentifier?, AtIdentifier?, string?, string?, Uri?, ICollection<string>?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find posts matching search criteria, returning views of those posts
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchResults>> SearchPosts(string query, SearchOrder? searchOrder, string? since, string? until, AtIdentifier? mentions, AtIdentifier? author, string? lang, string? domain, Uri? url, ICollection<string>? tags, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
querystring-
Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
searchOrderSearchOrder?-
Specifies the ranking order of results.
sincestring?-
Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD).
untilstring?-
Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD).
mentionsAtIdentifier?-
Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.
authorAtIdentifier?-
Filter to posts by the given account. Handles are resolved to DID before query-time.
langstring?-
Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.
domainstring?-
Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.
urlUri?-
Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.
tagsICollection<string>?-
Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix.
limitint?-
The maximum number of post views to return
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve search information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, or null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchResults>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
query,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
SearchPosts(string, SearchOrder?, string?, string?, AtIdentifier?, AtIdentifier?, string?, string?, Uri?, ICollection<string>?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find posts matching search criteria, returning views of those posts
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchResults>> SearchPosts(string query, SearchOrder? searchOrder, string? since, string? until, AtIdentifier? mentions, AtIdentifier? author, string? lang, string? domain, Uri? url, ICollection<string>? tags, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
querystring-
Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
searchOrderSearchOrder?-
Specifies the ranking order of results.
sincestring?-
Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD).
untilstring?-
Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD).
mentionsAtIdentifier?-
Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.
authorAtIdentifier?-
Filter to posts by the given account. Handles are resolved to DID before query-time.
langstring?-
Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.
domainstring?-
Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.
urlUri?-
Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.
tagsICollection<string>?-
Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix.
limitint?-
The maximum number of post views to return
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve search information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, or null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchResults>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
query,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
SearchPosts(string, SearchOrder?, string?, string?, AtIdentifier?, AtIdentifier?, string?, string?, Uri?, ICollection<string>?, int?, string?, Uri, AccessCredentials?, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find posts matching search criteria, returning views of those posts
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchResults>> SearchPosts(string query, SearchOrder? searchOrder, string? since, string? until, AtIdentifier? mentions, AtIdentifier? author, string? lang, string? domain, Uri? url, ICollection<string>? tags, int? limit, string? cursor, Uri service, AccessCredentials? accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
querystring-
Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
searchOrderSearchOrder?-
Specifies the ranking order of results.
sincestring?-
Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD).
untilstring?-
Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD).
mentionsAtIdentifier?-
Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.
authorAtIdentifier?-
Filter to posts by the given account. Handles are resolved to DID before query-time.
langstring?-
Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.
domainstring?-
Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.
urlUri?-
Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.
tagsICollection<string>?-
Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix.
limitint?-
The maximum number of post views to return
cursorstring?-
An optional cursor for pagination.
serviceUri-
The System.Uri of the service to retrieve search information from.
accessCredentialsAccessCredentials?-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service, or null to make an unauthenticated request. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchResults>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
query,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limit<1 or >100.
SearchPostsV2(string?, int?, string?, SortOrder?, ICollection<AtIdentifier>?, ICollection<AtIdentifier>?, ICollection<string>?, ICollection<Uri>?, ICollection<AtUri>?, ICollection<string>?, ICollection<AtIdentifier>?, ICollection<AtIdentifier>?, ICollection<string>?, ICollection<Uri>?, ICollection<AtUri>?, ICollection<string>?, DateTimeOffset?, DateTimeOffset?, bool?, ICollection<string>?, ICollection<string>?, bool?, bool?, AtUri?, AtUri?, bool?, bool?, bool?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find posts matching a search query or filters, returning search hits for matching post records.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchV2Results>> SearchPostsV2(string? cursor, int? limit, string? query, SortOrder? sort, ICollection<AtIdentifier>? authors, ICollection<AtIdentifier>? mentions, ICollection<string>? domains, ICollection<Uri>? urls, ICollection<AtUri>? embeddedAtUris, ICollection<string>? hashTags, ICollection<AtIdentifier>? excludeAuthors, ICollection<AtIdentifier>? excludeMentions, ICollection<string>? excludeDomains, ICollection<Uri>? excludeUrls, ICollection<AtUri>? excludeEmbeddedAtUris, ICollection<string>? excludeHashTags, DateTimeOffset? since, DateTimeOffset? until, bool? allTime, ICollection<string>? languages, ICollection<string>? excludeLanguages, bool? hasMedia, bool? hasVideo, AtUri? replyParentUri, AtUri? threadRootUri, bool? excludeReplies, bool? repliesOnly, bool? following, string? queryLanguage, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
Optional pagination cursor.
limitint?-
Optional maximum number of results to return.
querystring?-
Search query string. A query or at least one filter is required.
sortSortOrder?-
Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking.
authorsICollection<AtIdentifier>?-
If provided, include posts by any of these authors. idunno.AtProto.Handles are resolved to DIDs before searching.
mentionsICollection<AtIdentifier>?-
If provided, include posts that mention any of these accounts. idunno.AtProto.Handles are resolved to DIDs before searching.
domainsICollection<string>?-
If provided, include posts that link to any of these domains.
urlsICollection<Uri>?-
If provided, include posts with links pointing to any of these System.Uri.
embeddedAtUrisICollection<AtUri>?-
If provided, include posts with embed any of the provided idunno.AtProto.AtUri.
hashTagsICollection<string>?-
If provided, include posts with tagged with any of these hashtags. Do not include the hash (#) prefix.
excludeAuthorsICollection<AtIdentifier>?-
If provided, exclude posts by any of these authors. idunno.AtProto.Handles are resolved to DIDs before searching.
excludeMentionsICollection<AtIdentifier>?-
If provided, exclude posts that mention any of these accounts. idunno.AtProto.Handles are resolved to DIDs before searching.
excludeDomainsICollection<string>?-
If provided, exclude posts that link to any of these domains.
excludeUrlsICollection<Uri>?-
If provided, exclude posts with links pointing to any of these System.Uri.
excludeEmbeddedAtUrisICollection<AtUri>?-
If provided, exclude posts with embed any of the provided idunno.AtProto.AtUri.
excludeHashTagsICollection<string>?-
If provided, exclude posts with tagged with any of these hashtags. Do not include the hash (#) prefix.
sinceDateTimeOffset?-
If provided, include posts indexed at or after this timestamp.
untilDateTimeOffset?-
If provided, include posts indexed before this timestamp.
allTimebool?-
Optional flag indicating whether to search the full index instead of the recent-post window.
languagesICollection<string>?-
If provided, include posts whose language matches any of these language codes.
excludeLanguagesICollection<string>?-
If provided, exclude posts whose language matches any of these language codes.
hasMediabool?-
Optional flag indicating whether to only include posts with media.
hasVideobool?-
Optional flag indicating whether to only include posts with video.
replyParentUriAtUri?-
If provided, Include only direct replies to this parent post idunno.AtProto.AtUri.
threadRootUriAtUri?-
If provided, include only posts in the thread rooted at this post idunno.AtProto.AtUri.
excludeRepliesbool?-
Optional flag indicating whether to exclude replies from results. Mutually exclusive with
repliesOnly. repliesOnlybool?-
Optional flag indicating whether to include only replies in results. Mutually exclusive with
excludeReplies. followingbool?-
Optional flag indicating whether to include only posts from accounts followed by the viewer.
queryLanguagestring?-
Optional Language analyzer hint for the query text. If unset, the server auto-detects when possible.
serviceUri-
The System.Uri of the service to retrieve search information from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchV2Results>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown if
service,accessCredentials, orhttpClientis null. - ArgumentException
-
Thrown if any of the provided arguments are invalid.
SearchPostsV2(string?, int?, string?, SortOrder?, ICollection<AtIdentifier>?, ICollection<AtIdentifier>?, ICollection<string>?, ICollection<Uri>?, ICollection<AtUri>?, ICollection<string>?, ICollection<AtIdentifier>?, ICollection<AtIdentifier>?, ICollection<string>?, ICollection<Uri>?, ICollection<AtUri>?, ICollection<string>?, DateTimeOffset?, DateTimeOffset?, bool?, ICollection<string>?, ICollection<string>?, bool?, bool?, AtUri?, AtUri?, bool?, bool?, bool?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find posts matching a search query or filters, returning search hits for matching post records.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchV2Results>> SearchPostsV2(string? cursor, int? limit, string? query, SortOrder? sort, ICollection<AtIdentifier>? authors, ICollection<AtIdentifier>? mentions, ICollection<string>? domains, ICollection<Uri>? urls, ICollection<AtUri>? embeddedAtUris, ICollection<string>? hashTags, ICollection<AtIdentifier>? excludeAuthors, ICollection<AtIdentifier>? excludeMentions, ICollection<string>? excludeDomains, ICollection<Uri>? excludeUrls, ICollection<AtUri>? excludeEmbeddedAtUris, ICollection<string>? excludeHashTags, DateTimeOffset? since, DateTimeOffset? until, bool? allTime, ICollection<string>? languages, ICollection<string>? excludeLanguages, bool? hasMedia, bool? hasVideo, AtUri? replyParentUri, AtUri? threadRootUri, bool? excludeReplies, bool? repliesOnly, bool? following, string? queryLanguage, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
Optional pagination cursor.
limitint?-
Optional maximum number of results to return.
querystring?-
Search query string. A query or at least one filter is required.
sortSortOrder?-
Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking.
authorsICollection<AtIdentifier>?-
If provided, include posts by any of these authors. idunno.AtProto.Handles are resolved to DIDs before searching.
mentionsICollection<AtIdentifier>?-
If provided, include posts that mention any of these accounts. idunno.AtProto.Handles are resolved to DIDs before searching.
domainsICollection<string>?-
If provided, include posts that link to any of these domains.
urlsICollection<Uri>?-
If provided, include posts with links pointing to any of these System.Uri.
embeddedAtUrisICollection<AtUri>?-
If provided, include posts with embed any of the provided idunno.AtProto.AtUri.
hashTagsICollection<string>?-
If provided, include posts with tagged with any of these hashtags. Do not include the hash (#) prefix.
excludeAuthorsICollection<AtIdentifier>?-
If provided, exclude posts by any of these authors. idunno.AtProto.Handles are resolved to DIDs before searching.
excludeMentionsICollection<AtIdentifier>?-
If provided, exclude posts that mention any of these accounts. idunno.AtProto.Handles are resolved to DIDs before searching.
excludeDomainsICollection<string>?-
If provided, exclude posts that link to any of these domains.
excludeUrlsICollection<Uri>?-
If provided, exclude posts with links pointing to any of these System.Uri.
excludeEmbeddedAtUrisICollection<AtUri>?-
If provided, exclude posts with embed any of the provided idunno.AtProto.AtUri.
excludeHashTagsICollection<string>?-
If provided, exclude posts with tagged with any of these hashtags. Do not include the hash (#) prefix.
sinceDateTimeOffset?-
If provided, include posts indexed at or after this timestamp.
untilDateTimeOffset?-
If provided, include posts indexed before this timestamp.
allTimebool?-
Optional flag indicating whether to search the full index instead of the recent-post window.
languagesICollection<string>?-
If provided, include posts whose language matches any of these language codes.
excludeLanguagesICollection<string>?-
If provided, exclude posts whose language matches any of these language codes.
hasMediabool?-
Optional flag indicating whether to only include posts with media.
hasVideobool?-
Optional flag indicating whether to only include posts with video.
replyParentUriAtUri?-
If provided, Include only direct replies to this parent post idunno.AtProto.AtUri.
threadRootUriAtUri?-
If provided, include only posts in the thread rooted at this post idunno.AtProto.AtUri.
excludeRepliesbool?-
Optional flag indicating whether to exclude replies from results. Mutually exclusive with
repliesOnly. repliesOnlybool?-
Optional flag indicating whether to include only replies in results. Mutually exclusive with
excludeReplies. followingbool?-
Optional flag indicating whether to include only posts from accounts followed by the viewer.
queryLanguagestring?-
Optional Language analyzer hint for the query text. If unset, the server auto-detects when possible.
serviceUri-
The System.Uri of the service to retrieve search information from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchV2Results>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown if
service,accessCredentials, orhttpClientis null. - ArgumentException
-
Thrown if any of the provided arguments are invalid.
SearchPostsV2(string?, int?, string?, SortOrder?, ICollection<AtIdentifier>?, ICollection<AtIdentifier>?, ICollection<string>?, ICollection<Uri>?, ICollection<AtUri>?, ICollection<string>?, ICollection<AtIdentifier>?, ICollection<AtIdentifier>?, ICollection<string>?, ICollection<Uri>?, ICollection<AtUri>?, ICollection<string>?, DateTimeOffset?, DateTimeOffset?, bool?, ICollection<string>?, ICollection<string>?, bool?, bool?, AtUri?, AtUri?, bool?, bool?, bool?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, IEnumerable<Did>?, int, CancellationToken)
Find posts matching a search query or filters, returning search hits for matching post records.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchV2Results>> SearchPostsV2(string? cursor, int? limit, string? query, SortOrder? sort, ICollection<AtIdentifier>? authors, ICollection<AtIdentifier>? mentions, ICollection<string>? domains, ICollection<Uri>? urls, ICollection<AtUri>? embeddedAtUris, ICollection<string>? hashTags, ICollection<AtIdentifier>? excludeAuthors, ICollection<AtIdentifier>? excludeMentions, ICollection<string>? excludeDomains, ICollection<Uri>? excludeUrls, ICollection<AtUri>? excludeEmbeddedAtUris, ICollection<string>? excludeHashTags, DateTimeOffset? since, DateTimeOffset? until, bool? allTime, ICollection<string>? languages, ICollection<string>? excludeLanguages, bool? hasMedia, bool? hasVideo, AtUri? replyParentUri, AtUri? threadRootUri, bool? excludeReplies, bool? repliesOnly, bool? following, string? queryLanguage, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, IEnumerable<Did>? subscribedLabelers = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
cursorstring?-
Optional pagination cursor.
limitint?-
Optional maximum number of results to return.
querystring?-
Search query string. A query or at least one filter is required.
sortSortOrder?-
Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking.
authorsICollection<AtIdentifier>?-
If provided, include posts by any of these authors. idunno.AtProto.Handles are resolved to DIDs before searching.
mentionsICollection<AtIdentifier>?-
If provided, include posts that mention any of these accounts. idunno.AtProto.Handles are resolved to DIDs before searching.
domainsICollection<string>?-
If provided, include posts that link to any of these domains.
urlsICollection<Uri>?-
If provided, include posts with links pointing to any of these System.Uri.
embeddedAtUrisICollection<AtUri>?-
If provided, include posts with embed any of the provided idunno.AtProto.AtUri.
hashTagsICollection<string>?-
If provided, include posts with tagged with any of these hashtags. Do not include the hash (#) prefix.
excludeAuthorsICollection<AtIdentifier>?-
If provided, exclude posts by any of these authors. idunno.AtProto.Handles are resolved to DIDs before searching.
excludeMentionsICollection<AtIdentifier>?-
If provided, exclude posts that mention any of these accounts. idunno.AtProto.Handles are resolved to DIDs before searching.
excludeDomainsICollection<string>?-
If provided, exclude posts that link to any of these domains.
excludeUrlsICollection<Uri>?-
If provided, exclude posts with links pointing to any of these System.Uri.
excludeEmbeddedAtUrisICollection<AtUri>?-
If provided, exclude posts with embed any of the provided idunno.AtProto.AtUri.
excludeHashTagsICollection<string>?-
If provided, exclude posts with tagged with any of these hashtags. Do not include the hash (#) prefix.
sinceDateTimeOffset?-
If provided, include posts indexed at or after this timestamp.
untilDateTimeOffset?-
If provided, include posts indexed before this timestamp.
allTimebool?-
Optional flag indicating whether to search the full index instead of the recent-post window.
languagesICollection<string>?-
If provided, include posts whose language matches any of these language codes.
excludeLanguagesICollection<string>?-
If provided, exclude posts whose language matches any of these language codes.
hasMediabool?-
Optional flag indicating whether to only include posts with media.
hasVideobool?-
Optional flag indicating whether to only include posts with video.
replyParentUriAtUri?-
If provided, Include only direct replies to this parent post idunno.AtProto.AtUri.
threadRootUriAtUri?-
If provided, include only posts in the thread rooted at this post idunno.AtProto.AtUri.
excludeRepliesbool?-
Optional flag indicating whether to exclude replies from results. Mutually exclusive with
repliesOnly. repliesOnlybool?-
Optional flag indicating whether to include only replies in results. Mutually exclusive with
excludeReplies. followingbool?-
Optional flag indicating whether to include only posts from accounts followed by the viewer.
queryLanguagestring?-
Optional Language analyzer hint for the query text. If unset, the server auto-detects when possible.
serviceUri-
The System.Uri of the service to retrieve search information from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
subscribedLabelersIEnumerable<Did>?-
An optional list of idunno.AtProto.Dids of labelers to retrieve labels applied to the post view.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchV2Results>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown if
service,accessCredentials, orhttpClientis null. - ArgumentException
-
Thrown if any of the provided arguments are invalid.
SearchStarterPacks(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Find starter packs matching search criteria.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>> SearchStarterPacks(string q, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of results to return.
cursorstring?-
The cursor for pagination.
serviceUri-
The System.Uri of the service to search starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
q,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
SearchStarterPacks(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Find starter packs matching search criteria.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>> SearchStarterPacks(string q, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of results to return.
cursorstring?-
The cursor for pagination.
serviceUri-
The System.Uri of the service to search starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
q,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
SearchStarterPacks(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Find starter packs matching search criteria.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>> SearchStarterPacks(string q, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of results to return.
cursorstring?-
The cursor for pagination.
serviceUri-
The System.Uri of the service to search starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<PagedViewReadOnlyCollection<StarterPackViewBasic>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
q,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
SearchStarterPacksV2(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Find starter packs matching search criteria.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchStarterPacksV2Result>> SearchStarterPacksV2(string q, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of results to return.
cursorstring?-
The cursor for pagination.
serviceUri-
The System.Uri of the service to search starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchStarterPacksV2Result>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
q,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
SearchStarterPacksV2(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Find starter packs matching search criteria.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchStarterPacksV2Result>> SearchStarterPacksV2(string q, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of results to return.
cursorstring?-
The cursor for pagination.
serviceUri-
The System.Uri of the service to search starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchStarterPacksV2Result>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
q,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
SearchStarterPacksV2(string, int?, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Find starter packs matching search criteria.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<SearchStarterPacksV2Result>> SearchStarterPacksV2(string q, int? limit, string? cursor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
qstring-
Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
limitint?-
The maximum number of results to return.
cursorstring?-
The cursor for pagination.
serviceUri-
The System.Uri of the service to search starter packs from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<SearchStarterPacksV2Result>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
q,service,accessCredentialsorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
limitis less than 1 or greater than 100.
SendMessage(string, MessageInput, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Sends the specified idunno.Bluesky.Chat.MessageInput to the conversation identified by conversationId.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> SendMessage(string conversationId, MessageInput message, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to send the
messageto. messageMessageInput-
The idunno.Bluesky.Chat.MessageInput to send.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or empty. - ArgumentNullException
-
Thrown when
message,accessCredentials,serviceorhttpClientis null.
SendMessage(string, MessageInput, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Sends the specified idunno.Bluesky.Chat.MessageInput to the conversation identified by conversationId.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> SendMessage(string conversationId, MessageInput message, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to send the
messageto. messageMessageInput-
The idunno.Bluesky.Chat.MessageInput to send.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or empty. - ArgumentNullException
-
Thrown when
message,accessCredentials,serviceorhttpClientis null.
SendMessage(string, MessageInput, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Sends the specified idunno.Bluesky.Chat.MessageInput to the conversation identified by conversationId.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<MessageView>> SendMessage(string conversationId, MessageInput message, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to send the
messageto. messageMessageInput-
The idunno.Bluesky.Chat.MessageInput to send.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<MessageView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or empty. - ArgumentNullException
-
Thrown when
message,accessCredentials,serviceorhttpClientis null.
SendMessageBatch(ICollection<BatchedMessage>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Sends the specified batchedMessages.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ICollection<MessageView>>> SendMessageBatch(ICollection<BatchedMessage> batchedMessages, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
batchedMessagesICollection<BatchedMessage>-
The collection of idunno.Bluesky.Chat.BatchedMessages to send.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<MessageView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
batchedMessages,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
batchedMessagesis empty or has greater than the maximum allowed number of messages.
SendMessageBatch(ICollection<BatchedMessage>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Sends the specified batchedMessages.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ICollection<MessageView>>> SendMessageBatch(ICollection<BatchedMessage> batchedMessages, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
batchedMessagesICollection<BatchedMessage>-
The collection of idunno.Bluesky.Chat.BatchedMessages to send.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<MessageView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
batchedMessages,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
batchedMessagesis empty or has greater than the maximum allowed number of messages.
SendMessageBatch(ICollection<BatchedMessage>, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Sends the specified batchedMessages.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ICollection<MessageView>>> SendMessageBatch(ICollection<BatchedMessage> batchedMessages, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
batchedMessagesICollection<BatchedMessage>-
The collection of idunno.Bluesky.Chat.BatchedMessages to send.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ICollection<MessageView>>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
batchedMessages,accessCredentials,serviceorhttpClientis null. - ArgumentOutOfRangeException
-
Thrown when
batchedMessagesis empty or has greater than the maximum allowed number of messages.
StartUpload(long, string, string?, long?, int?, int?, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<StartUploadResponse>> StartUpload(long size, string mimeType, string? name, long? duration, int? width, int? height, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
sizelong-
Exact size, in bytes, of the complete upload-ready video file before it is split into parts.
mimeTypestring-
Declared MIME type of the video.
namestring?-
An optional client-provided file name.
durationlong?-
An optional duration of the video in milliseconds.
widthint?-
An optional width of the video in pixels.
heightint?-
An optional height of the video in pixels.
serviceUri-
The URI of the service to which the video will be uploaded.
serviceCredentialServiceCredential-
The credentials used to authenticate with the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<StartUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when a provided argument is out of the allowable range.
- ArgumentException
-
Thrown when a provided argument is invalid.
StartUpload(long, string, string?, long?, int?, int?, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<StartUploadResponse>> StartUpload(long size, string mimeType, string? name, long? duration, int? width, int? height, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
sizelong-
Exact size, in bytes, of the complete upload-ready video file before it is split into parts.
mimeTypestring-
Declared MIME type of the video.
namestring?-
An optional client-provided file name.
durationlong?-
An optional duration of the video in milliseconds.
widthint?-
An optional width of the video in pixels.
heightint?-
An optional height of the video in pixels.
serviceUri-
The URI of the service to which the video will be uploaded.
serviceCredentialServiceCredential-
The credentials used to authenticate with the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<StartUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when a provided argument is out of the allowable range.
- ArgumentException
-
Thrown when a provided argument is invalid.
StartUpload(long, string, string?, long?, int?, int?, Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<StartUploadResponse>> StartUpload(long size, string mimeType, string? name, long? duration, int? width, int? height, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
sizelong-
Exact size, in bytes, of the complete upload-ready video file before it is split into parts.
mimeTypestring-
Declared MIME type of the video.
namestring?-
An optional client-provided file name.
durationlong?-
An optional duration of the video in milliseconds.
widthint?-
An optional width of the video in pixels.
heightint?-
An optional height of the video in pixels.
serviceUri-
The URI of the service to which the video will be uploaded.
serviceCredentialServiceCredential-
The credentials used to authenticate with the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<StartUploadResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when a provided argument is out of the allowable range.
- ArgumentException
-
Thrown when a provided argument is invalid.
UnlockConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unlocks a group conversation so content (messages, reactions) can be added to it again.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UnlockConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation to unlock.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis null or empty.
UnlockConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unlocks a group conversation so content (messages, reactions) can be added to it again.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UnlockConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation to unlock.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis null or empty.
UnlockConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unlocks a group conversation so content (messages, reactions) can be added to it again.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UnlockConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation to unlock.
serviceUri-
The System.Uri of the service to leave the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null. - ArgumentException
-
Thrown when
conversationIdis null or empty.
UnmuteActor(AtIdentifier, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the specified account. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteActor(AtIdentifier actor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor to unmute
serviceUri-
The System.Uri of the service remote the mute from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,service,accessCredentialsorhttpClientare null.
UnmuteActor(AtIdentifier, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the specified account. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteActor(AtIdentifier actor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor to unmute
serviceUri-
The System.Uri of the service remote the mute from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,service,accessCredentialsorhttpClientare null.
UnmuteActor(AtIdentifier, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the specified account. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteActor(AtIdentifier actor, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
actorAtIdentifier-
The idunno.AtProto.AtIdentifier of the actor to unmute
serviceUri-
The System.Uri of the service remote the mute from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
actor,service,accessCredentialsorhttpClientare null.
UnmuteActorList(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the specified list of accounts. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteActorList(AtUri listUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listUriAtUri-
The idunno.AtProto.AtUri of the list of actors to unmute.
serviceUri-
The System.Uri of the service to remove the mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
listUri,service,accessCredentialsorhttpClientare null.
UnmuteActorList(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the specified list of accounts. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteActorList(AtUri listUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listUriAtUri-
The idunno.AtProto.AtUri of the list of actors to unmute.
serviceUri-
The System.Uri of the service to remove the mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
listUri,service,accessCredentialsorhttpClientare null.
UnmuteActorList(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the specified list of accounts. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteActorList(AtUri listUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
listUriAtUri-
The idunno.AtProto.AtUri of the list of actors to unmute.
serviceUri-
The System.Uri of the service to remove the mutes from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
listUri,service,accessCredentialsorhttpClientare null.
UnmuteConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the conversation identified by conversationId.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UnmuteConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to unmute.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
UnmuteConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the conversation identified by conversationId.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UnmuteConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to unmute.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
UnmuteConversation(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes the conversation identified by conversationId.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UnmuteConversation(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to unmute.
serviceUri-
The System.Uri of the service to unmute the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or empty. - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
UnmuteThread(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes a thread. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteThread(AtUri rootUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
rootUriAtUri-
The idunno.AtProto.AtUri of the thread to unmute
serviceUri-
The System.Uri of the service remove the mute from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
rootUri,service,accessCredentialsorhttpClientare null.
UnmuteThread(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes a thread. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteThread(AtUri rootUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
rootUriAtUri-
The idunno.AtProto.AtUri of the thread to unmute
serviceUri-
The System.Uri of the service remove the mute from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
rootUri,service,accessCredentialsorhttpClientare null.
UnmuteThread(AtUri, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Unmutes a thread. Requires authentication.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UnmuteThread(AtUri rootUri, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
rootUriAtUri-
The idunno.AtProto.AtUri of the thread to unmute
serviceUri-
The System.Uri of the service remove the mute from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
rootUri,service,accessCredentialsorhttpClientare null.
UpdateAllRead(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks all conversations with the specified status as read.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ulong?>> UpdateAllRead(string status, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
statusstring-
The status of the conversations to mark as read. Known values are held in idunno.Bluesky.Chat.ConversationStatus.
serviceUri-
The System.Uri of the service to mark the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Remarks
The result is null if the API call failed, which is distinct from a successful call which marked no conversations as read.
Exceptions
- ArgumentNullException
-
Thrown when
status,accessCredentials,serviceorhttpClientis null.
UpdateAllRead(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks all conversations with the specified status as read.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ulong?>> UpdateAllRead(string status, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
statusstring-
The status of the conversations to mark as read. Known values are held in idunno.Bluesky.Chat.ConversationStatus.
serviceUri-
The System.Uri of the service to mark the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Remarks
The result is null if the API call failed, which is distinct from a successful call which marked no conversations as read.
Exceptions
- ArgumentNullException
-
Thrown when
status,accessCredentials,serviceorhttpClientis null.
UpdateAllRead(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks all conversations with the specified status as read.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ulong?>> UpdateAllRead(string status, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
statusstring-
The status of the conversations to mark as read. Known values are held in idunno.Bluesky.Chat.ConversationStatus.
serviceUri-
The System.Uri of the service to mark the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Remarks
The result is null if the API call failed, which is distinct from a successful call which marked no conversations as read.
Exceptions
- ArgumentNullException
-
Thrown when
status,accessCredentials,serviceorhttpClientis null.
UpdateDraft(DraftWithId, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Updates the draft for the authenticated user. If the draft ID points to a non-existing ID, the update will be silently ignored.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateDraft(DraftWithId draftWithId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftWithIdDraftWithId-
The idunno.Bluesky.Drafts.DraftWithId to create.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draftWithId,service,accessCredentialsorhttpClientare null.
UpdateDraft(DraftWithId, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Updates the draft for the authenticated user. If the draft ID points to a non-existing ID, the update will be silently ignored.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateDraft(DraftWithId draftWithId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftWithIdDraftWithId-
The idunno.Bluesky.Drafts.DraftWithId to create.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draftWithId,service,accessCredentialsorhttpClientare null.
UpdateDraft(DraftWithId, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Updates the draft for the authenticated user. If the draft ID points to a non-existing ID, the update will be silently ignored.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Get().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateDraft(DraftWithId draftWithId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
draftWithIdDraftWithId-
The idunno.Bluesky.Drafts.DraftWithId to create.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
draftWithId,service,accessCredentialsorhttpClientare null.
UpdateJoinGroupRequestsRead(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks all join requests as read for the group owner.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateJoinGroupRequestsRead(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation whose join requests should be marked as read.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
UpdateJoinGroupRequestsRead(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks all join requests as read for the group owner.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateJoinGroupRequestsRead(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation whose join requests should be marked as read.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
UpdateJoinGroupRequestsRead(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks all join requests as read for the group owner.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateJoinGroupRequestsRead(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation whose join requests should be marked as read.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
UpdateNotificationSeenAt(DateTimeOffset, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Updates the time notifications were last seen for the current account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateNotificationSeenAt(DateTimeOffset seenAt, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
seenAtDateTimeOffset-
The date and time notifications were last checked.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
UpdateNotificationSeenAt(DateTimeOffset, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Updates the time notifications were last seen for the current account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateNotificationSeenAt(DateTimeOffset seenAt, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
seenAtDateTimeOffset-
The date and time notifications were last checked.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
UpdateNotificationSeenAt(DateTimeOffset, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Updates the time notifications were last seen for the current account.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> UpdateNotificationSeenAt(DateTimeOffset seenAt, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
seenAtDateTimeOffset-
The date and time notifications were last checked.
serviceUri-
The System.Uri of the service to retrieve the profile from.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentNullException
-
Thrown when any of
service,accessCredentialsorhttpClientare null.
UpdateRead(string, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks a conversation, and optionally a message, as read.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UpdateRead(string conversationId, string? messageId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to mark as read.
messageIdstring?-
The message identifier in the conversation identified by
conversationIdto mark as read. serviceUri-
The System.Uri of the service to mark the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace,messageIdis empty or whitespace, - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
UpdateRead(string, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks a conversation, and optionally a message, as read.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UpdateRead(string conversationId, string? messageId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to mark as read.
messageIdstring?-
The message identifier in the conversation identified by
conversationIdto mark as read. serviceUri-
The System.Uri of the service to mark the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace,messageIdis empty or whitespace, - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
UpdateRead(string, string?, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Marks a conversation, and optionally a message, as read.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<ConversationView>> UpdateRead(string conversationId, string? messageId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The conversation identifier to mark as read.
messageIdstring?-
The message identifier in the conversation identified by
conversationIdto mark as read. serviceUri-
The System.Uri of the service to mark the conversation on.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials to use when accessing the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<ConversationView>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace,messageIdis empty or whitespace, - ArgumentNullException
-
Thrown when
accessCredentials,serviceorhttpClientis null.
UploadPart(string, long, byte[], Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Upload one part of a multi-part upload started with idunno.Bluesky.BlueskyServer.StartUpload(System.Int64,System.String,System.String,System.Nullable{System.Int64},System.Nullable{System.Int32},System.Nullable{System.Int32},System.Uri,idunno.AtProto.Authentication.ServiceCredential,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken). Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UploadPartResponse>> UploadPart(string jobId, long part, byte[] bytes, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to which this part belongs.
partlong-
The part number of the part being uploaded.
bytesbyte[]-
The bytes of the part being uploaded.
serviceUri-
The URI of the service to which the video will be uploaded.
serviceCredentialServiceCredential-
The credentials used to authenticate with the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadPartResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when a provided argument is out of the allowable range.
- ArgumentException
-
Thrown when a provided argument is invalid.
UploadPart(string, long, byte[], Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Upload one part of a multi-part upload started with idunno.Bluesky.BlueskyServer.StartUpload(System.Int64,System.String,System.String,System.Nullable{System.Int64},System.Nullable{System.Int32},System.Nullable{System.Int32},System.Uri,idunno.AtProto.Authentication.ServiceCredential,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken). Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UploadPartResponse>> UploadPart(string jobId, long part, byte[] bytes, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to which this part belongs.
partlong-
The part number of the part being uploaded.
bytesbyte[]-
The bytes of the part being uploaded.
serviceUri-
The URI of the service to which the video will be uploaded.
serviceCredentialServiceCredential-
The credentials used to authenticate with the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadPartResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when a provided argument is out of the allowable range.
- ArgumentException
-
Thrown when a provided argument is invalid.
UploadPart(string, long, byte[], Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Upload one part of a multi-part upload started with idunno.Bluesky.BlueskyServer.StartUpload(System.Int64,System.String,System.String,System.Nullable{System.Int64},System.Nullable{System.Int32},System.Nullable{System.Int32},System.Uri,idunno.AtProto.Authentication.ServiceCredential,System.Net.Http.HttpClient,Microsoft.Extensions.Logging.ILoggerFactory,System.Int32,System.Threading.CancellationToken). Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<UploadPartResponse>> UploadPart(string jobId, long part, byte[] bytes, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
jobIdstring-
The job id of the upload to which this part belongs.
partlong-
The part number of the part being uploaded.
bytesbyte[]-
The bytes of the part being uploaded.
serviceUri-
The URI of the service to which the video will be uploaded.
serviceCredentialServiceCredential-
The credentials used to authenticate with the service.
httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<UploadPartResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentOutOfRangeException
-
Thrown when a provided argument is out of the allowable range.
- ArgumentException
-
Thrown when a provided argument is invalid.
UploadVideo(Did, string, string, byte[], Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Uploads media to be processed and stored on the specified service.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<JobStatus>> UploadVideo(Did did, string fileName, string mimeType, byte[] media, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
didDid-
The idunno.AtProto.Did of the account uploading the media.
fileNamestring-
The filename of the media.
mimeTypestring-
The MIME type of the media.
mediabyte[]-
The media to upload.
serviceUri-
The System.Uri of the service to upload media to.
serviceCredentialServiceCredential-
AccessCredentials for service access used to authenticate against the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
fileNameis null or empty, or whenmimeTypeis null, whitespace, or is not a valid media type. - ArgumentNullException
-
Thrown when any of
did,serviceCredential,media,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
mediais empty, or whenmimeTypeis outside the allowable length.
UploadVideo(Did, string, string, byte[], Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Uploads media to be processed and stored on the specified service.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<JobStatus>> UploadVideo(Did did, string fileName, string mimeType, byte[] media, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
didDid-
The idunno.AtProto.Did of the account uploading the media.
fileNamestring-
The filename of the media.
mimeTypestring-
The MIME type of the media.
mediabyte[]-
The media to upload.
serviceUri-
The System.Uri of the service to upload media to.
serviceCredentialServiceCredential-
AccessCredentials for service access used to authenticate against the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
fileNameis null or empty, or whenmimeTypeis null, whitespace, or is not a valid media type. - ArgumentNullException
-
Thrown when any of
did,serviceCredential,media,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
mediais empty, or whenmimeTypeis outside the allowable length.
UploadVideo(Did, string, string, byte[], Uri, ServiceCredential, HttpClient, ILoggerFactory?, int, CancellationToken)
Uploads media to be processed and stored on the specified service.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<JobStatus>> UploadVideo(Did did, string fileName, string mimeType, byte[] media, Uri service, ServiceCredential serviceCredential, HttpClient httpClient, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
didDid-
The idunno.AtProto.Did of the account uploading the media.
fileNamestring-
The filename of the media.
mimeTypestring-
The MIME type of the media.
mediabyte[]-
The media to upload.
serviceUri-
The System.Uri of the service to upload media to.
serviceCredentialServiceCredential-
AccessCredentials for service access used to authenticate against the
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
Exceptions
- ArgumentException
-
Thrown when
fileNameis null or empty, or whenmimeTypeis null, whitespace, or is not a valid media type. - ArgumentNullException
-
Thrown when any of
did,serviceCredential,media,serviceorhttpClientare null. - ArgumentOutOfRangeException
-
Thrown when
mediais empty, or whenmimeTypeis outside the allowable length.
WithdrawJoinGroupRequest(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Withdraws a pending request to join a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> WithdrawJoinGroupRequest(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation whose join request should be withdrawn.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
WithdrawJoinGroupRequest(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Withdraws a pending request to join a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> WithdrawJoinGroupRequest(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation whose join request should be withdrawn.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.
WithdrawJoinGroupRequest(string, Uri, AccessCredentials, HttpClient, Func<AtProtoCredential, CancellationToken, Task>?, ILoggerFactory?, int, CancellationToken)
Withdraws a pending request to join a group.
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.", Justification = "All types are preserved in the JsonSerializerOptions call to Post().")]
public static Task<AtProtoHttpResult<EmptyResponse>> WithdrawJoinGroupRequest(string conversationId, Uri service, AccessCredentials accessCredentials, HttpClient httpClient, Func<AtProtoCredential, CancellationToken, Task>? onCredentialsUpdated = null, ILoggerFactory? loggerFactory = null, int maximumResponseSize = 33554432, CancellationToken cancellationToken = default)Parameters
conversationIdstring-
The ID of the conversation whose join request should be withdrawn.
serviceUri-
The System.Uri of the service to call.
accessCredentialsAccessCredentials-
The idunno.AtProto.Authentication.AccessCredentials used to authenticate to
service. httpClientHttpClient-
An System.Net.Http.HttpClient to use when making a request to the
service. onCredentialsUpdatedFunc<AtProtoCredential, CancellationToken, Task>?-
An System.Func`3 to await if the credentials in the request need updating.
loggerFactoryILoggerFactory?-
An instance of Microsoft.Extensions.Logging.ILoggerFactory to use to create a logger.
maximumResponseSizeint-
The maximum number of bytes to read from the response body.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
- Task<AtProtoHttpResult<EmptyResponse>>
-
The task object representing the asynchronous operation.
Exceptions
- ArgumentException
-
Thrown when
conversationIdis null or whitespace. - ArgumentNullException
-
Thrown when
service,accessCredentialsorhttpClientis null.