Class BotInfoResponse
public class BotInfoResponse : IAdditionalDataHolder, IParsable
- Inheritance
-
BotInfoResponse
- Implements
-
IAdditionalDataHolderIParsable
- 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
BasicId
Bot's basic ID
public string? BasicId { get; set; }
Property Value
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
DisplayName
Bot's display name
public string? DisplayName { get; set; }
Property Value
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
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
PremiumId
Bot's premium ID. Not included in the response if the premium ID isn't set.
public string? PremiumId { get; set; }
Property Value
UserId
Bot's user ID
public string? UserId { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static BotInfoResponse CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNodeIParseNodeThe parse node to use to read the discriminator value and create the object
Returns
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
writerISerializationWriterSerialization writer to use to serialize this model