Table of Contents

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

Text string

The text to display on the suggestion chip.

PostbackData string

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.

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

string

Text

The text to display on the suggestion chip.

public override string Text { get; init; }

Property Value

string

Type

The type for the suggestion object.

[JsonIgnore]
public override string Type { get; }

Property Value

string