iMessageSDK.Abstractions
1.0.0
dotnet add package iMessageSDK.Abstractions --version 1.0.0
NuGet\Install-Package iMessageSDK.Abstractions -Version 1.0.0
<PackageReference Include="iMessageSDK.Abstractions" Version="1.0.0" />
<PackageVersion Include="iMessageSDK.Abstractions" Version="1.0.0" />
<PackageReference Include="iMessageSDK.Abstractions" />
paket add iMessageSDK.Abstractions --version 1.0.0
#r "nuget: iMessageSDK.Abstractions, 1.0.0"
#:package iMessageSDK.Abstractions@1.0.0
#addin nuget:?package=iMessageSDK.Abstractions&version=1.0.0
#tool nuget:?package=iMessageSDK.Abstractions&version=1.0.0
iMessageSDK
A production-grade .NET SDK for reading and sending messages through the macOS Messages
application. iMessageSDK models chats, messages, attachments, reactions, and delivery status as a
clean domain — consumers never see SQLite, chat.db, AppleScript, or SQL.
Platform: macOS only. iMessageSDK automates the local Messages application and reads its conversation history; there is no cross-platform or cloud API for iMessage.
Packages
| Package | Purpose |
|---|---|
iMessageSDK.Abstractions |
Interfaces, records, enums — the public contract. Depend on this alone to mock/test against the SDK. |
iMessageSDK |
The concrete implementation (MessageClient). |
iMessageSDK.Extensions.DependencyInjection |
AddIMessageSdk() for IServiceCollection. |
Quickstart
await using var client = await MessageClient.CreateAsync();
// Diagnose setup issues before doing anything else.
var report = await client.Diagnostics.RunAsync();
if (!report.IsHealthy)
{
foreach (var issue in report.Issues)
{
Console.WriteLine(issue);
}
return;
}
// Fluent querying.
var recent = await client.Messages
.WhereChat(someChatId)
.Containing("hello")
.Take(50)
.ToListAsync();
// Sending.
await client.Messages.SendTextAsync(someChatId, "Hey!");
// Watching.
var watcher = client.Messages.Watch();
watcher.MessageReceived += (_, e) => Console.WriteLine($"{e.Message.Sender?.DisplayName}: {e.Message.Text}");
await watcher.StartAsync();
Documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on iMessageSDK.Abstractions:
| Package | Downloads |
|---|---|
|
iMessageSDK
A production-grade .NET SDK for interacting with the macOS Messages app. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 129 | 7/1/2026 |