Skip to content

Template Form Message #64

Answered by gabrieldwight
smartos99 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I guess you are trying to send a flow template message. You can try to use this function SendFlowMessageTemplateAsync

FlowTemplateMessageRequest flowTemplateMessageRequest = new FlowTemplateMessageRequest();
flowTemplateMessageRequest.To = "phonenumber";
flowTemplateMessageRequest.Template = new();
flowTemplateMessageRequest.Template.Name = "template name";
flowTemplateMessageRequest.Template.Language = new();
flowTemplateMessageRequest.Template.Language.Code = LanguageCode.English_US;
flowTemplateMessageRequest.Template.Components = new List<FlowMessageComponent>()
{
    new FlowMessageComponent()
    {
        Type = "button",
        SubType = "flow",
        Index = 0,
        Par…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@smartos99
Comment options

Answer selected by smartos99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants