63 lines
2.2 KiB
TypeScript
63 lines
2.2 KiB
TypeScript
/**
|
|
* LINE Messaging API
|
|
* This document describes LINE Messaging API.
|
|
*
|
|
* The version of the OpenAPI document: 0.0.1
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
export type BotInfoResponse = {
|
|
/**
|
|
* Bot\'s user ID
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">userId Documentation</a>
|
|
*/
|
|
userId: string /**/;
|
|
/**
|
|
* Bot\'s basic ID
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">basicId Documentation</a>
|
|
*/
|
|
basicId: string /**/;
|
|
/**
|
|
* Bot\'s premium ID. Not included in the response if the premium ID isn\'t set.
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">premiumId Documentation</a>
|
|
*/
|
|
premiumId?: string /**/;
|
|
/**
|
|
* Bot\'s display name
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">displayName Documentation</a>
|
|
*/
|
|
displayName: string /**/;
|
|
/**
|
|
* Profile image URL. `https` image URL. Not included in the response if the bot doesn\'t have a profile image.
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">pictureUrl Documentation</a>
|
|
*/
|
|
pictureUrl?: string /**/;
|
|
/**
|
|
* Chat settings set in the LINE Official Account Manager. One of: `chat`: Chat is set to \"On\". `bot`: Chat is set to \"Off\".
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">chatMode Documentation</a>
|
|
*/
|
|
chatMode: BotInfoResponse.ChatModeEnum /**/;
|
|
/**
|
|
* 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.
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">markAsReadMode Documentation</a>
|
|
*/
|
|
markAsReadMode: BotInfoResponse.MarkAsReadModeEnum /**/;
|
|
};
|
|
|
|
export namespace BotInfoResponse {
|
|
export type ChatModeEnum = "chat" | "bot";
|
|
|
|
export type MarkAsReadModeEnum = "auto" | "manual";
|
|
}
|