Struct CreateEventRequest
- Namespace
- Vonage.Conversations.CreateEvent
- Assembly
- Vonage.dll
public readonly struct CreateEventRequest : IVonageRequest
- Implements
- Inherited Members
Properties
Body
The event body.
[JsonPropertyOrder(2)]
public JsonElement Body { get; }
Property Value
ConversationId
The conversation Id.
[JsonIgnore]
public string ConversationId { get; }
Property Value
From
The member Id.
[JsonPropertyOrder(1)]
[JsonConverter(typeof(MaybeJsonConverter<string>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Maybe<string> From { get; }
Property Value
Type
The type of event.
[JsonPropertyOrder(0)]
public string Type { get; }
Property Value
Methods
Build()
Initializes a builder.
public static IBuilderForConversationId Build()
Returns
- IBuilderForConversationId
The builder.
BuildRequestMessage()
Converts the request to a HttpRequest.
public HttpRequestMessage BuildRequestMessage()
Returns
- HttpRequestMessage
The Http request.