fill_postback
This commit is contained in:
parent
6491d36db4
commit
9ab182a823
|
|
@ -10,6 +10,12 @@ public class RichContent<T> where T : IRichMessage
|
|||
public string MessagingType => "RESPONSE";
|
||||
public T Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If true, UI component will populate the replyMessage when sending back user message.
|
||||
/// </summary>
|
||||
[JsonPropertyName("fill_postback")]
|
||||
public bool FillPostback { get; set; }
|
||||
|
||||
public RichContent()
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ public class GetPizzaTypesFn : IFunctionCallback
|
|||
{
|
||||
Id = states.GetConversationId()
|
||||
},
|
||||
FillPostback = true,
|
||||
Message = new ButtonTemplateMessage
|
||||
{
|
||||
Text = "Please select a pizza type",
|
||||
|
|
|
|||
Loading…
Reference in a new issue