Table of Contents

Class BotInfoResponse

Namespace
Line.OpenApi.Messaging.Generated.Api.Models
Assembly
Line.OpenApi.Messaging.dll
public class BotInfoResponse : IAdditionalDataHolder, IParsable
Inheritance
BotInfoResponse
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

BotInfoResponse()

Instantiates a new BotInfoResponse and sets the default values.

public BotInfoResponse()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

BasicId

Bot's basic ID

public string? BasicId { get; set; }

Property Value

string

ChatMode

Chat settings set in the LINE Official Account Manager. One of:chat: Chat is set to "On".bot: Chat is set to "Off".

public BotInfoResponse_chatMode? ChatMode { get; set; }

Property Value

BotInfoResponse_chatMode?

DisplayName

Bot's display name

public string? DisplayName { get; set; }

Property Value

string

MarkAsReadMode

Automatic read setting for messages. If the chat is set to "Off", auto is returned. If the chat is set to "On", manual is returned.auto: Auto read setting is enabled.manual: Auto read setting is disabled.

public BotInfoResponse_markAsReadMode? MarkAsReadMode { get; set; }

Property Value

BotInfoResponse_markAsReadMode?

PictureUrl

Profile image URL. https image URL. Not included in the response if the bot doesn't have a profile image.

public string? PictureUrl { get; set; }

Property Value

string

PremiumId

Bot's premium ID. Not included in the response if the premium ID isn't set.

public string? PremiumId { get; set; }

Property Value

string

UserId

Bot's user ID

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

Parameters

parseNode IParseNode

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

Returns

BotInfoResponse

A BotInfoResponse

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model