Class ReplySuggestion
- Namespace
- Vonage.Messages.Rcs.Suggestions
- Assembly
- Vonage.dll
A reply suggestion.
public record ReplySuggestion : SuggestionBase, IEquatable<SuggestionBase>, IEquatable<ReplySuggestion>
- Inheritance
-
ReplySuggestion
- Implements
- Inherited Members
Constructors
ReplySuggestion(string, string)
A reply suggestion.
public ReplySuggestion(string Text, string PostbackData)
Parameters
TextstringThe text to display on the suggestion chip.
PostbackDatastringThe data that will be sent back in the reply.id property of a reply message via the inbound message webhook when the user taps the suggestion chip.
Properties
PostbackData
The data that will be sent back in the reply.id property of a reply message via the inbound message webhook when the user taps the suggestion chip.
public override string PostbackData { get; init; }
Property Value
Text
The text to display on the suggestion chip.
public override string Text { get; init; }
Property Value
Type
The type for the suggestion object.
[JsonIgnore]
public override string Type { get; }