Table of Contents

Class VideoMessageContent

Namespace
Line.OpenApi.Messaging.Webhook.Generated.Models
Assembly
Line.OpenApi.Messaging.Webhook.dll

Message object which contains the video content sent from the source. The preview image is displayed in the chat and the video is played when the image is tapped.

public class VideoMessageContent : MessageContent, IAdditionalDataHolder, IParsable
Inheritance
VideoMessageContent
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Properties

ContentProvider

Provider of the media file.

public ContentProvider? ContentProvider { get; set; }

Property Value

ContentProvider

Duration

Length of video file (milliseconds)

public long? Duration { get; set; }

Property Value

long?

MarkAsReadToken

Token used to mark the message as read.

public string? MarkAsReadToken { get; set; }

Property Value

string

QuoteToken

Quote token to quote this message.

public string? QuoteToken { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static VideoMessageContent CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

VideoMessageContent

A VideoMessageContent

GetFieldDeserializers()

The deserialization information for the current model

public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public override void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model