2025-11-11 19:49:52 +00:00
|
|
|
|
namespace Erp.Sender.WhatsApp;
|
2025-05-06 06:45:49 +00:00
|
|
|
|
|
|
|
|
|
|
public class WhatsAppPostMessageInput
|
|
|
|
|
|
{
|
|
|
|
|
|
public string messaging_product { get; set; }
|
|
|
|
|
|
public string to { get; set; }
|
|
|
|
|
|
public string type { get; set; }
|
|
|
|
|
|
public Template template { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public class Template
|
|
|
|
|
|
{
|
|
|
|
|
|
public string name { get; set; }
|
|
|
|
|
|
public Language language { get; set; }
|
|
|
|
|
|
public List<Component> components { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public class Language
|
|
|
|
|
|
{
|
|
|
|
|
|
public string code { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class Component
|
|
|
|
|
|
{
|
|
|
|
|
|
public string type { get; set; }
|
|
|
|
|
|
public List<Parameter> parameters { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public class Parameter
|
|
|
|
|
|
{
|
|
|
|
|
|
public string type { get; set; }
|
|
|
|
|
|
public string text { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-11-11 19:49:52 +00:00
|
|
|
|
|