UNPKG

2.35 kBTypeScriptView Raw
1/**
2 * LINE Messaging API
3 * This document describes LINE Messaging API.
4 *
5 * The version of the OpenAPI document: 0.0.1
6 *
7 *
8 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9 * https://openapi-generator.tech
10 * Do not edit the class manually.
11 */
12export type BotInfoResponse = {
13 /**
14 * Bot\'s user ID
15 *
16 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">userId Documentation</a>
17 */
18 userId: string;
19 /**
20 * Bot\'s basic ID
21 *
22 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">basicId Documentation</a>
23 */
24 basicId: string;
25 /**
26 * Bot\'s premium ID. Not included in the response if the premium ID isn\'t set.
27 *
28 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">premiumId Documentation</a>
29 */
30 premiumId?: string;
31 /**
32 * Bot\'s display name
33 *
34 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">displayName Documentation</a>
35 */
36 displayName: string;
37 /**
38 * Profile image URL. `https` image URL. Not included in the response if the bot doesn\'t have a profile image.
39 *
40 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">pictureUrl Documentation</a>
41 */
42 pictureUrl?: string;
43 /**
44 * Chat settings set in the LINE Official Account Manager. One of: `chat`: Chat is set to \"On\". `bot`: Chat is set to \"Off\".
45 *
46 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">chatMode Documentation</a>
47 */
48 chatMode: BotInfoResponse.ChatModeEnum;
49 /**
50 * 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.
51 *
52 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-bot-info">markAsReadMode Documentation</a>
53 */
54 markAsReadMode: BotInfoResponse.MarkAsReadModeEnum;
55};
56export declare namespace BotInfoResponse {
57 type ChatModeEnum = "chat" | "bot";
58 type MarkAsReadModeEnum = "auto" | "manual";
59}
60//# sourceMappingURL=botInfoResponse.d.ts.map
\No newline at end of file