iMessageSDK 1.0.0
dotnet add package iMessageSDK --version 1.0.0
NuGet\Install-Package iMessageSDK -Version 1.0.0
<PackageReference Include="iMessageSDK" Version="1.0.0" />
<PackageVersion Include="iMessageSDK" Version="1.0.0" />
<PackageReference Include="iMessageSDK" />
paket add iMessageSDK --version 1.0.0
#r "nuget: iMessageSDK, 1.0.0"
#:package iMessageSDK@1.0.0
#addin nuget:?package=iMessageSDK&version=1.0.0
#tool nuget:?package=iMessageSDK&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
- iMessageSDK.Abstractions (>= 1.0.0)
- Microsoft.Data.Sqlite (>= 10.0.9)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 3.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on iMessageSDK:
| Package | Downloads |
|---|---|
|
iMessageSDK.Extensions.DependencyInjection
Microsoft.Extensions.DependencyInjection integration for iMessageSDK. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 114 | 7/1/2026 |