Table of Contents

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

Text string

The text to display on the suggestion chip.

PostbackData string

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.

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

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