HPD-Agent.Bots.WhatsApp
0.9.5
dotnet add package HPD-Agent.Bots.WhatsApp --version 0.9.5
NuGet\Install-Package HPD-Agent.Bots.WhatsApp -Version 0.9.5
<PackageReference Include="HPD-Agent.Bots.WhatsApp" Version="0.9.5" />
<PackageVersion Include="HPD-Agent.Bots.WhatsApp" Version="0.9.5" />
<PackageReference Include="HPD-Agent.Bots.WhatsApp" />
paket add HPD-Agent.Bots.WhatsApp --version 0.9.5
#r "nuget: HPD-Agent.Bots.WhatsApp, 0.9.5"
#:package HPD-Agent.Bots.WhatsApp@0.9.5
#addin nuget:?package=HPD-Agent.Bots.WhatsApp&version=0.9.5
#tool nuget:?package=HPD-Agent.Bots.WhatsApp&version=0.9.5
HPD-Agent.Bots.WhatsApp
Connect an HPD agent to the WhatsApp Business Cloud API.
dotnet add package HPD-Agent.Bots.WhatsApp --version 1.0.0
using HPD.Agent.Bots.WhatsApp;
builder.Services.AddWhatsappBot(options =>
{
options.AccessToken = builder.Configuration["WhatsApp:AccessToken"]!;
options.AppSecret = builder.Configuration["WhatsApp:AppSecret"]!;
options.PhoneNumberId = builder.Configuration["WhatsApp:PhoneNumberId"]!;
options.VerifyToken = builder.Configuration["WhatsApp:VerifyToken"]!;
options.AgentId = "support-agent";
}, registerInfrastructure: true);
var app = builder.Build();
app.MapWhatsappWebhook("/whatsapp/webhook");
Set the Meta webhook callback URL to the mapped route. The route handles GET verification challenges and signed POST events. Invalid verification returns 403; invalid signatures return 401.
WhatsApp supports text, media, documents, locations, replies, reactions, typing indicators, and reply-button cards. Responses are buffered because WhatsApp does not support message editing. Permission requests are currently denied automatically.
See the WhatsApp guide for Meta setup, signature verification, message limits, and the customer-service window.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- HPD-Agent.Bots.Abstractions (>= 0.9.5)
- HPD-Agent.Bots.AspNetCore (>= 0.9.5)
- HPD-Agent.Hosting (>= 0.9.5)
-
net8.0
- HPD-Agent.Bots.Abstractions (>= 0.9.5)
- HPD-Agent.Bots.AspNetCore (>= 0.9.5)
- HPD-Agent.Hosting (>= 0.9.5)
-
net9.0
- HPD-Agent.Bots.Abstractions (>= 0.9.5)
- HPD-Agent.Bots.AspNetCore (>= 0.9.5)
- HPD-Agent.Hosting (>= 0.9.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.