Table of Contents

Class AccountLinkEvent

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

Event object for when a user has linked their LINE account with a provider's service account. You can reply to account link events.

public class AccountLinkEvent : Event, IAdditionalDataHolder, IParsable
Inheritance
AccountLinkEvent
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Properties

Content of the account link event.

public LinkContent? Link { get; set; }

Property Value

LinkContent

ReplyToken

Reply token used to send reply message to this event. This property won't be included if linking the account has failed.

public string? ReplyToken { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static AccountLinkEvent CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

AccountLinkEvent

A AccountLinkEvent

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