Table of Contents

Class StickerMessageContent

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

Message object which contains the sticker data sent from the source.

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

Properties

Keywords

Array of up to 15 keywords describing the sticker.If a sticker has 16 or more keywords, a random selection of 15 keywords will be returned.The keyword selection is random for each event, so different keywords may be returned for the same sticker.

public List<string>? Keywords { get; set; }

Property Value

List<string>

MarkAsReadToken

Token used to mark the message as read.

public string? MarkAsReadToken { get; set; }

Property Value

string

PackageId

Package ID

public string? PackageId { get; set; }

Property Value

string

QuoteToken

Quote token to quote this message.

public string? QuoteToken { get; set; }

Property Value

string

QuotedMessageId

Message ID of a quoted message. Only included when the received message quotes a past message.

public string? QuotedMessageId { get; set; }

Property Value

string

StickerId

Sticker ID

public string? StickerId { get; set; }

Property Value

string

StickerResourceType

The stickerResourceType property

public StickerMessageContent_stickerResourceType? StickerResourceType { get; set; }

Property Value

StickerMessageContent_stickerResourceType?

Text

Any text entered by the user. This property is only included for message stickers.Max character limit: 100

public string? Text { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static StickerMessageContent CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

StickerMessageContent

A StickerMessageContent

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