Table of Contents

Class FileMessageContent

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

Message object which contains the file sent from the source.

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

Properties

FileName

File name

public string? FileName { get; set; }

Property Value

string

FileSize

File size in bytes

public int? FileSize { get; set; }

Property Value

int?

MarkAsReadToken

Token used to mark the message as read.

public string? MarkAsReadToken { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static FileMessageContent CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

FileMessageContent

A FileMessageContent

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