Table of Contents

Class UserMentionee

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

Mentioned target is user

public class UserMentionee : Mentionee, IAdditionalDataHolder, IParsable
Inheritance
UserMentionee
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Properties

IsSelf

Whether the mentioned user is the bot that receives the webhook.

public bool? IsSelf { get; set; }

Property Value

bool?

UserId

User ID of the mentioned user. Only included if mention.mentions[].type is user and the user consents to the LINE Official Account obtaining their user profile information.

public string? UserId { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static UserMentionee CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

UserMentionee

A UserMentionee

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