Skip to content

Commit

Permalink
Added graph api version optional parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldwight committed Oct 13, 2024
1 parent 1bde8a4 commit 3ae5fc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion WhatsappBusiness.CloudApi/WhatsAppBusinessRequestEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ namespace WhatsappBusiness.CloudApi
public static class WhatsAppBusinessRequestEndpoint
{
/// <summary>
/// WhatsApp Business Cloud API V19 BaseAddress
/// WhatsApp Business Cloud API V21 BaseAddress
/// </summary>
public static Uri BaseAddress { get; private set; } = new Uri("https://graph.facebook.com/v21.0/");

/// <summary>
/// Specified WhatsApp Business Cloud API Version BaseAddress
/// </summary>
public static Uri GraphApiVersionBaseAddress { get; private set; } = new Uri("https://graph.facebook.com/{{api-version}}/");

/// <summary>
Expand Down

0 comments on commit 3ae5fc4

Please sign in to comment.