Table of Contents

Class MessengerRequestData

Namespace
Vonage.Messages.Messenger
Assembly
Vonage.dll

Contains Messenger-specific configuration for message requests.

public class MessengerRequestData
Inheritance
MessengerRequestData
Inherited Members

Properties

Category

The use of different category tags enables the business to send messages for different use cases. For Facebook Messenger they need to comply with their Messaging Types policy. Vonage maps our category to their messaging_type. If message_tag is used, then an additional tag for that type is mandatory. By default Vonage sends the response category to Facebook Messenger.

[JsonConverter(typeof(EnumDescriptionJsonConverter<MessengerMessageCategory>))]
public MessengerMessageCategory? Category { get; set; }

Property Value

MessengerMessageCategory?

Tag

A tag describing the type and relevance of the 1:1 communication between your app and the end user. A full list of available tags is available here

[JsonConverter(typeof(EnumDescriptionJsonConverter<MessengerTagType>))]
public MessengerTagType? Tag { get; set; }

Property Value

MessengerTagType?