WhatsappCloudAPI.NET6 1.0.1

dotnet add package WhatsappCloudAPI.NET6 --version 1.0.1
NuGet\Install-Package WhatsappCloudAPI.NET6 -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WhatsappCloudAPI.NET6" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WhatsappCloudAPI.NET6 --version 1.0.1
#r "nuget: WhatsappCloudAPI.NET6, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WhatsappCloudAPI.NET6 as a Cake Addin
#addin nuget:?package=WhatsappCloudAPI.NET6&version=1.0.1

// Install WhatsappCloudAPI.NET6 as a Cake Tool
#tool nuget:?package=WhatsappCloudAPI.NET6&version=1.0.1

WhatsApp Cloud API Library

Description

Dear user,

This project was implemented in order to have a better abstraction while doing Meta Cloud API operations in .NET. It has the basic objects to interact with the API.

Is going to cover the following objects:

  1. Configuration objects: To do operations like mapping the secrets that are needed to be saved.
  2. Webhook objects: To do operations with the objects needed in order to receive a notification event from Cloud API.
  3. Endpoint objects: To do operations with all the objects needed to send events to Cloud API.

Not all the features are implemented, this is a project that is going to be updated constantly, but now you can try features like the configuration and webhook objects, which are going to be maintained too.

From the Author - Q&A

Why I made this NuGet Package?

I'm doing a project where I needed Whatsapp Cloud API support to have a ChatBot working. It was part of the entire architecture. One thing that I found is that there are some Nuget Package Libraries that supports Cloud API operations in .NET but I found some limits in them. Details like the flexibility, unknown authors, lack of documentation, versioning issues, old updates with no maintenance, so I decided to create my own NuGet in order to have the flexibility and documentation support that I needed.

This project was made by SteelHearthAI company.

What is needed?

Support for all the other general endpoint objects:

  • Account Migration
  • Business Compliance
  • Business Profiles
  • Media
  • Messages
  • Phone Numbers
  • Registration
  • Two-Step Verification
  • Whatsapp Business Accounts

Which versions are supported?

Webhooks triggered by v16.0 and newer requests. If there is the need to use v15.0 you can try and use it but is not recommended at least for this moments.

You can read more information in:

  1. General Cloud API Reference: https://developers.facebook.com/docs/whatsapp/cloud-api/reference
  2. Webhooks Reference: https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components/#messages-object

Hope you find this Nuget package helpful and use it if you are looking for something like me.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 196 6/19/2023
1.0.0 126 6/19/2023

Few changes made:

1. Package icon updated using the Whatsapp logo.
2. Repository URL and Project URL fixed.