Table of Contents

Class FollowEvent

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

Event object for when your LINE Official Account is added as a friend (or unblocked). You can reply to follow events.

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

Properties

Follow

The follow property

public FollowDetail? Follow { get; set; }

Property Value

FollowDetail

ReplyToken

Reply token used to send reply message to this event

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 FollowEvent CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

FollowEvent

A FollowEvent

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