Class ShareLocationSuggestion
- Namespace
- Vonage.Messages.Rcs.Suggestions
- Assembly
- Vonage.dll
A share location suggestion.
public record ShareLocationSuggestion : SuggestionBase, IEquatable<SuggestionBase>, IEquatable<ShareLocationSuggestion>
- Inheritance
-
ShareLocationSuggestion
- Implements
- Inherited Members
Constructors
ShareLocationSuggestion(string, string)
A share location suggestion.
public ShareLocationSuggestion(string Text, string PostbackData)
Parameters
TextstringThe text to display on the suggestion chip.
PostbackDatastringThe data that will be sent back in the button.payload property of a button message via the inbound message webhook when the user taps the suggestion chip.
Properties
PostbackData
The data that will be sent back in the button.payload property of a button 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; }