@line/bot-sdk

  • Version 11.0.1
  • Published
  • 3.34 MB
  • 1 dependency
  • Apache-2.0 license

Install

npm i @line/bot-sdk
yarn add @line/bot-sdk
pnpm add @line/bot-sdk

Overview

Node.js SDK for LINE Messaging API

Index

Variables

Functions

Classes

Interfaces

Type Aliases

Namespaces

Variables

variable LINE_REQUEST_ID_HTTP_HEADER_NAME

const LINE_REQUEST_ID_HTTP_HEADER_NAME: string;

    variable LINE_SIGNATURE_HTTP_HEADER_NAME

    const LINE_SIGNATURE_HTTP_HEADER_NAME: string;

      Functions

      function middleware

      middleware: (config: Types.MiddlewareConfig) => Middleware;

        function validateSignature

        validateSignature: (
        body: string | Buffer,
        channelSecret: string,
        signature: string
        ) => boolean;

          Classes

          class HTTPFetchError

          class HTTPFetchError extends Error {}

            constructor

            constructor(
            message: string,
            { status, statusText, headers, body }: FetchErrorDetails
            );

              property body

              body: string;

                property headers

                headers: Headers;

                  property status

                  status: number;

                    property statusText

                    statusText: string;

                      class JSONParseError

                      class JSONParseError extends Error {}

                        constructor

                        constructor(message: string, { raw }?: ErrorDetails);

                          property raw

                          raw: any;

                            class LineBotClient

                            class LineBotClient extends LineBotClientBase {}
                            • A single client for all LINE Bot APIs, except channel access token management.

                              Wraps all individual API clients (Messaging API, LIFF, Insight, etc.) and exposes their methods directly, so you don't need to manage multiple client instances. For channel access token operations, use ChannelAccessTokenClient directly.

                              Example 1

                              const client = LineBotClient.fromChannelAccessToken({ channelAccessToken: "..." });

                              Example 2

                              Push a message to a user

                              await client.pushMessage({
                              to: userId,
                              messages: [{ type: "text", text: "Hi there!" }],
                              });

                              Example 3

                              Get a user's profile

                              const profile = await client.getProfile(userId);
                              console.log(profile.displayName);

                            property clients

                            protected readonly clients: LineBotClientDelegates;

                              method fromChannelAccessToken

                              static fromChannelAccessToken: (
                              config: LineBotClientChannelAccessTokenConfig
                              ) => LineBotClient;

                                class SignatureValidationFailed

                                class SignatureValidationFailed extends Error {}

                                  constructor

                                  constructor(message: string, { signature }?: ErrorDetails);

                                    property signature

                                    signature?: string;

                                      Interfaces

                                      interface ApiResponseType

                                      interface ApiResponseType<T> {}

                                        property body

                                        body: T;

                                          property httpResponse

                                          httpResponse: Response;

                                            interface LineBotClientChannelAccessTokenConfig

                                            interface LineBotClientChannelAccessTokenConfig extends LineBotClientCommonConfig {}
                                            • Configuration for LineBotClient using a channel access token.

                                              Example 1

                                              const client = LineBotClient.fromChannelAccessToken({
                                              channelAccessToken: "YOUR_CHANNEL_ACCESS_TOKEN",
                                              });

                                            property channelAccessToken

                                            readonly channelAccessToken: string;
                                            • Channel access token issued for your LINE Official Account.

                                            interface MiddlewareConfig

                                            interface MiddlewareConfig {}

                                              property channelSecret

                                              channelSecret: string;

                                                property skipSignatureVerification

                                                skipSignatureVerification?: () => boolean;

                                                  Type Aliases

                                                  type MessageAPIResponseBase

                                                  type MessageAPIResponseBase = {
                                                  [LINE_REQUEST_ID_HTTP_HEADER_NAME]?: string;
                                                  };

                                                    Namespaces

                                                    namespace channelAccessToken

                                                    module 'dist/channel-access-token/api.d.ts' {}

                                                      class ChannelAccessTokenClient

                                                      class ChannelAccessTokenClient {}

                                                        constructor

                                                        constructor(config: httpClientConfig);

                                                          method getsAllValidChannelAccessTokenKeyIds

                                                          getsAllValidChannelAccessTokenKeyIds: (
                                                          clientAssertionType: string,
                                                          clientAssertion: string
                                                          ) => Promise<ChannelAccessTokenKeyIdsResponse>;
                                                          • Gets all valid channel access token key IDs.

                                                            Parameter clientAssertionType

                                                            urn:ietf:params:oauth:client-assertion-type:jwt-bearer

                                                            Parameter clientAssertion

                                                            A JSON Web Token (JWT) (opens new window)the client needs to create and sign with the private key.

                                                            See Also

                                                            • Documentation

                                                          method getsAllValidChannelAccessTokenKeyIdsWithHttpInfo

                                                          getsAllValidChannelAccessTokenKeyIdsWithHttpInfo: (
                                                          clientAssertionType: string,
                                                          clientAssertion: string
                                                          ) => Promise<Types.ApiResponseType<ChannelAccessTokenKeyIdsResponse>>;
                                                          • Gets all valid channel access token key IDs.. This method includes HttpInfo object to return additional information.

                                                            Parameter clientAssertionType

                                                            urn:ietf:params:oauth:client-assertion-type:jwt-bearer

                                                            Parameter clientAssertion

                                                            A JSON Web Token (JWT) (opens new window)the client needs to create and sign with the private key.

                                                            See Also

                                                            • Documentation

                                                          method issueChannelToken

                                                          issueChannelToken: (
                                                          grantType: string,
                                                          clientId: string,
                                                          clientSecret: string
                                                          ) => Promise<IssueShortLivedChannelAccessTokenResponse>;
                                                          • Issue short-lived channel access token

                                                            Parameter grantType

                                                            client_credentials

                                                            Parameter clientId

                                                            Channel ID.

                                                            Parameter clientSecret

                                                            Channel secret.

                                                            See Also

                                                            • Documentation

                                                          method issueChannelTokenByJWT

                                                          issueChannelTokenByJWT: (
                                                          grantType: string,
                                                          clientAssertionType: string,
                                                          clientAssertion: string
                                                          ) => Promise<IssueChannelAccessTokenResponse>;
                                                          • Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication.

                                                            Parameter grantType

                                                            client_credentials

                                                            Parameter clientAssertionType

                                                            urn:ietf:params:oauth:client-assertion-type:jwt-bearer

                                                            Parameter clientAssertion

                                                            A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.

                                                            See Also

                                                            • Documentation

                                                          method issueChannelTokenByJWTWithHttpInfo

                                                          issueChannelTokenByJWTWithHttpInfo: (
                                                          grantType: string,
                                                          clientAssertionType: string,
                                                          clientAssertion: string
                                                          ) => Promise<Types.ApiResponseType<IssueChannelAccessTokenResponse>>;
                                                          • Issues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication.. This method includes HttpInfo object to return additional information.

                                                            Parameter grantType

                                                            client_credentials

                                                            Parameter clientAssertionType

                                                            urn:ietf:params:oauth:client-assertion-type:jwt-bearer

                                                            Parameter clientAssertion

                                                            A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.

                                                            See Also

                                                            • Documentation

                                                          method issueChannelTokenWithHttpInfo

                                                          issueChannelTokenWithHttpInfo: (
                                                          grantType: string,
                                                          clientId: string,
                                                          clientSecret: string
                                                          ) => Promise<Types.ApiResponseType<IssueShortLivedChannelAccessTokenResponse>>;
                                                          • Issue short-lived channel access token. This method includes HttpInfo object to return additional information.

                                                            Parameter grantType

                                                            client_credentials

                                                            Parameter clientId

                                                            Channel ID.

                                                            Parameter clientSecret

                                                            Channel secret.

                                                            See Also

                                                            • Documentation

                                                          method issueStatelessChannelToken

                                                          issueStatelessChannelToken: (
                                                          grantType?: string,
                                                          clientAssertionType?: string,
                                                          clientAssertion?: string,
                                                          clientId?: string,
                                                          clientSecret?: string
                                                          ) => Promise<IssueStatelessChannelAccessTokenResponse>;
                                                          • Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.

                                                            Parameter grantType

                                                            client_credentials

                                                            Parameter clientAssertionType

                                                            URL-encoded value of urn:ietf:params:oauth:client-assertion-type:jwt-bearer

                                                            Parameter clientAssertion

                                                            A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.

                                                            Parameter clientId

                                                            Channel ID.

                                                            Parameter clientSecret

                                                            Channel secret.

                                                            See Also

                                                            • Documentation

                                                            Deprecated

                                                            Use issueStatelessChannelTokenByJWTAssertion or issueStatelessChannelTokenByClientSecret instead.

                                                          method issueStatelessChannelTokenByClientSecret

                                                          issueStatelessChannelTokenByClientSecret: (
                                                          clientId: string,
                                                          clientSecret: string
                                                          ) => Promise<IssueStatelessChannelAccessTokenResponse>;
                                                          • Issues a new stateless channel access token by client secret. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.

                                                            Parameter clientId

                                                            Channel ID.

                                                            Parameter clientSecret

                                                            Channel secret.

                                                            Returns

                                                            A promise containing the IssueStatelessChannelAccessTokenResponse.

                                                            See Also

                                                            • Documentation

                                                          method issueStatelessChannelTokenByClientSecretWithHttpInfo

                                                          issueStatelessChannelTokenByClientSecretWithHttpInfo: (
                                                          clientId: string,
                                                          clientSecret: string
                                                          ) => Promise<Types.ApiResponseType<IssueStatelessChannelAccessTokenResponse>>;
                                                          • Issues a new stateless channel access token by client secret. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. This method includes HttpInfo object to return additional information.

                                                            Parameter clientId

                                                            Channel ID.

                                                            Parameter clientSecret

                                                            Channel secret.

                                                            Returns

                                                            A promise containing the IssueStatelessChannelAccessTokenResponse with HTTP info.

                                                            See Also

                                                            • Documentation

                                                          method issueStatelessChannelTokenByJWTAssertion

                                                          issueStatelessChannelTokenByJWTAssertion: (
                                                          clientAssertion: string
                                                          ) => Promise<IssueStatelessChannelAccessTokenResponse>;
                                                          • Issues a new stateless channel access token by JWT assertion. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires.

                                                            Parameter clientAssertion

                                                            A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.

                                                            Returns

                                                            A promise containing the IssueStatelessChannelAccessTokenResponse.

                                                            See Also

                                                            • Documentation

                                                          method issueStatelessChannelTokenByJWTAssertionWithHttpInfo

                                                          issueStatelessChannelTokenByJWTAssertionWithHttpInfo: (
                                                          clientAssertion: string
                                                          ) => Promise<Types.ApiResponseType<IssueStatelessChannelAccessTokenResponse>>;
                                                          • Issues a new stateless channel access token by JWT assertion. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. This method includes HttpInfo object to return additional information.

                                                            Parameter clientAssertion

                                                            A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.

                                                            Returns

                                                            A promise containing the IssueStatelessChannelAccessTokenResponse with HTTP info.

                                                            See Also

                                                            • Documentation

                                                          method issueStatelessChannelTokenWithHttpInfo

                                                          issueStatelessChannelTokenWithHttpInfo: (
                                                          grantType?: string,
                                                          clientAssertionType?: string,
                                                          clientAssertion?: string,
                                                          clientId?: string,
                                                          clientSecret?: string
                                                          ) => Promise<Types.ApiResponseType<IssueStatelessChannelAccessTokenResponse>>;
                                                          • Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. . This method includes HttpInfo object to return additional information.

                                                            Parameter grantType

                                                            client_credentials

                                                            Parameter clientAssertionType

                                                            URL-encoded value of urn:ietf:params:oauth:client-assertion-type:jwt-bearer

                                                            Parameter clientAssertion

                                                            A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.

                                                            Parameter clientId

                                                            Channel ID.

                                                            Parameter clientSecret

                                                            Channel secret.

                                                            See Also

                                                            • Documentation

                                                            Deprecated

                                                            Use issueStatelessChannelTokenByJWTAssertionWithHttpInfo or issueStatelessChannelTokenByClientSecretWithHttpInfo instead.

                                                          method revokeChannelToken

                                                          revokeChannelToken: (
                                                          accessToken: string
                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                          • Revoke short-lived or long-lived channel access token

                                                            Parameter accessToken

                                                            Channel access token

                                                            See Also

                                                            • Documentation

                                                          method revokeChannelTokenByJWT

                                                          revokeChannelTokenByJWT: (
                                                          clientId: string,
                                                          clientSecret: string,
                                                          accessToken: string
                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                          • Revoke channel access token v2.1

                                                            Parameter clientId

                                                            Channel ID

                                                            Parameter clientSecret

                                                            Channel Secret

                                                            Parameter accessToken

                                                            Channel access token

                                                            See Also

                                                            • Documentation

                                                          method revokeChannelTokenByJWTWithHttpInfo

                                                          revokeChannelTokenByJWTWithHttpInfo: (
                                                          clientId: string,
                                                          clientSecret: string,
                                                          accessToken: string
                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                          • Revoke channel access token v2.1. This method includes HttpInfo object to return additional information.

                                                            Parameter clientId

                                                            Channel ID

                                                            Parameter clientSecret

                                                            Channel Secret

                                                            Parameter accessToken

                                                            Channel access token

                                                            See Also

                                                            • Documentation

                                                          method revokeChannelTokenWithHttpInfo

                                                          revokeChannelTokenWithHttpInfo: (
                                                          accessToken: string
                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                          • Revoke short-lived or long-lived channel access token. This method includes HttpInfo object to return additional information.

                                                            Parameter accessToken

                                                            Channel access token

                                                            See Also

                                                            • Documentation

                                                          method verifyChannelToken

                                                          verifyChannelToken: (
                                                          accessToken: string
                                                          ) => Promise<VerifyChannelAccessTokenResponse>;
                                                          • Verify the validity of short-lived and long-lived channel access tokens

                                                            Parameter accessToken

                                                            A short-lived or long-lived channel access token.

                                                            See Also

                                                            • Documentation

                                                          method verifyChannelTokenByJWT

                                                          verifyChannelTokenByJWT: (
                                                          accessToken: string
                                                          ) => Promise<VerifyChannelAccessTokenResponse>;
                                                          • You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid.

                                                            Parameter accessToken

                                                            Channel access token with a user-specified expiration (Channel Access Token v2.1).

                                                            See Also

                                                            • Documentation

                                                          method verifyChannelTokenByJWTWithHttpInfo

                                                          verifyChannelTokenByJWTWithHttpInfo: (
                                                          accessToken: string
                                                          ) => Promise<Types.ApiResponseType<VerifyChannelAccessTokenResponse>>;
                                                          • You can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid.. This method includes HttpInfo object to return additional information.

                                                            Parameter accessToken

                                                            Channel access token with a user-specified expiration (Channel Access Token v2.1).

                                                            See Also

                                                            • Documentation

                                                          method verifyChannelTokenWithHttpInfo

                                                          verifyChannelTokenWithHttpInfo: (
                                                          accessToken: string
                                                          ) => Promise<Types.ApiResponseType<VerifyChannelAccessTokenResponse>>;
                                                          • Verify the validity of short-lived and long-lived channel access tokens. This method includes HttpInfo object to return additional information.

                                                            Parameter accessToken

                                                            A short-lived or long-lived channel access token.

                                                            See Also

                                                            • Documentation

                                                          type ChannelAccessTokenKeyIdsResponse

                                                          type ChannelAccessTokenKeyIdsResponse = {
                                                          /**
                                                          * Array of channel access token key IDs.
                                                          */
                                                          kids: Array<string>;
                                                          };
                                                          • Channel access token key IDs

                                                            See Also

                                                            • https://developers.line.biz/en/reference/messaging-api/#get-all-valid-channel-access-token-key-ids-v2-1

                                                          type ErrorResponse

                                                          type ErrorResponse = {
                                                          /**
                                                          * Error summary
                                                          */
                                                          error?: string;
                                                          /**
                                                          * Details of the error. Not returned in certain situations.
                                                          */
                                                          error_description?: string;
                                                          };
                                                          • Error response of the Channel access token

                                                          type IssueChannelAccessTokenResponse

                                                          type IssueChannelAccessTokenResponse = {
                                                          /**
                                                          * Channel access token.
                                                          */
                                                          access_token: string;
                                                          /**
                                                          * Amount of time in seconds from issue to expiration of the channel access token
                                                          */
                                                          expires_in: number;
                                                          /**
                                                          * A token type.
                                                          * @default 'Bearer'
                                                          */
                                                          token_type: string;
                                                          /**
                                                          * Unique key ID for identifying the channel access token.
                                                          */
                                                          key_id: string;
                                                          };
                                                          • Issued channel access token

                                                            See Also

                                                            • https://developers.line.biz/en/reference/messaging-api/#issue-channel-access-token-v2-1

                                                          type IssueShortLivedChannelAccessTokenResponse

                                                          type IssueShortLivedChannelAccessTokenResponse = {
                                                          /**
                                                          * A short-lived channel access token. Valid for 30 days. Note: Channel access tokens cannot be refreshed.
                                                          */
                                                          access_token: string;
                                                          /**
                                                          * Time until channel access token expires in seconds from time the token is issued.
                                                          */
                                                          expires_in: number;
                                                          /**
                                                          * Token type. The value is always `Bearer`.
                                                          * @default 'Bearer'
                                                          */
                                                          token_type: string;
                                                          };
                                                          • Issued short-lived channel access token

                                                            See Also

                                                            • https://developers.line.biz/en/reference/messaging-api/#issue-shortlived-channel-access-token

                                                          type IssueStatelessChannelAccessTokenResponse

                                                          type IssueStatelessChannelAccessTokenResponse = {
                                                          /**
                                                          * A stateless channel access token. The token is an opaque string which means its format is an implementation detail and the consumer of this token should never try to use the data parsed from the token.
                                                          */
                                                          access_token: string;
                                                          /**
                                                          * Duration in seconds after which the issued access token expires
                                                          */
                                                          expires_in: number;
                                                          /**
                                                          * Token type. The value is always `Bearer`.
                                                          * @default 'Bearer'
                                                          */
                                                          token_type: string;
                                                          };
                                                          • Issued stateless channel access token

                                                            See Also

                                                            • https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token

                                                          type VerifyChannelAccessTokenResponse

                                                          type VerifyChannelAccessTokenResponse = {
                                                          /**
                                                          * The channel ID for which the channel access token was issued.
                                                          */
                                                          client_id: string;
                                                          /**
                                                          * Number of seconds before the channel access token expires.
                                                          */
                                                          expires_in: number;
                                                          /**
                                                          * Permissions granted to the channel access token.
                                                          */
                                                          scope?: string;
                                                          };
                                                          • Verification result

                                                          namespace insight

                                                          module 'dist/insight/api.d.ts' {}

                                                            class InsightClient

                                                            class InsightClient {}
                                                            • See Also

                                                            constructor

                                                            constructor(config: httpClientConfig);

                                                              method getFriendsDemographics

                                                              getFriendsDemographics: () => Promise<GetFriendsDemographicsResponse>;
                                                              • Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID).

                                                                See Also

                                                                • Documentation

                                                              method getFriendsDemographicsWithHttpInfo

                                                              getFriendsDemographicsWithHttpInfo: () => Promise<
                                                              Types.ApiResponseType<GetFriendsDemographicsResponse>
                                                              >;
                                                              • Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created by users in Japan (JP), Thailand (TH), Taiwan (TW) and Indonesia (ID). . This method includes HttpInfo object to return additional information.

                                                                See Also

                                                                • Documentation

                                                              method getMessageEvent

                                                              getMessageEvent: (requestId: string) => Promise<GetMessageEventResponse>;
                                                              • Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. Get user interaction statistics

                                                                Parameter requestId

                                                                Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID.

                                                                See Also

                                                                • Get user interaction statistics Documentation

                                                              method getMessageEventWithHttpInfo

                                                              getMessageEventWithHttpInfo: (
                                                              requestId: string
                                                              ) => Promise<Types.ApiResponseType<GetMessageEventResponse>>;
                                                              • Returns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. . This method includes HttpInfo object to return additional information. Get user interaction statistics

                                                                Parameter requestId

                                                                Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID.

                                                                See Also

                                                                • Get user interaction statistics Documentation

                                                              method getNumberOfFollowers

                                                              getNumberOfFollowers: (date?: string) => Promise<GetNumberOfFollowersResponse>;
                                                              • Returns the number of users who have added the LINE Official Account on or before a specified date. Get number of followers

                                                                Parameter date

                                                                Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                See Also

                                                                • Get number of followers Documentation

                                                              method getNumberOfFollowersWithHttpInfo

                                                              getNumberOfFollowersWithHttpInfo: (
                                                              date?: string
                                                              ) => Promise<Types.ApiResponseType<GetNumberOfFollowersResponse>>;
                                                              • Returns the number of users who have added the LINE Official Account on or before a specified date. . This method includes HttpInfo object to return additional information. Get number of followers

                                                                Parameter date

                                                                Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                See Also

                                                                • Get number of followers Documentation

                                                              method getNumberOfMessageDeliveries

                                                              getNumberOfMessageDeliveries: (
                                                              date: string
                                                              ) => Promise<GetNumberOfMessageDeliveriesResponse>;
                                                              • Returns the number of messages sent from LINE Official Account on a specified day. Get number of message deliveries

                                                                Parameter date

                                                                Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9

                                                                See Also

                                                                • Get number of message deliveries Documentation

                                                              method getNumberOfMessageDeliveriesWithHttpInfo

                                                              getNumberOfMessageDeliveriesWithHttpInfo: (
                                                              date: string
                                                              ) => Promise<Types.ApiResponseType<GetNumberOfMessageDeliveriesResponse>>;
                                                              • Returns the number of messages sent from LINE Official Account on a specified day. . This method includes HttpInfo object to return additional information. Get number of message deliveries

                                                                Parameter date

                                                                Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9

                                                                See Also

                                                                • Get number of message deliveries Documentation

                                                              method getStatisticsPerUnit

                                                              getStatisticsPerUnit: (
                                                              customAggregationUnit: string,
                                                              from: string,
                                                              to: string
                                                              ) => Promise<GetStatisticsPerUnitResponse>;
                                                              • You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account.

                                                                Parameter customAggregationUnit

                                                                Name of aggregation unit specified when sending the message. Case-sensitive. For example, Promotion_a and Promotion_A are regarded as different unit names.

                                                                Parameter from

                                                                Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9

                                                                Parameter to

                                                                End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the latest end date is 20210331. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9

                                                                See Also

                                                                • Documentation

                                                              method getStatisticsPerUnitWithHttpInfo

                                                              getStatisticsPerUnitWithHttpInfo: (
                                                              customAggregationUnit: string,
                                                              from: string,
                                                              to: string
                                                              ) => Promise<Types.ApiResponseType<GetStatisticsPerUnitResponse>>;
                                                              • You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. . This method includes HttpInfo object to return additional information.

                                                                Parameter customAggregationUnit

                                                                Name of aggregation unit specified when sending the message. Case-sensitive. For example, Promotion_a and Promotion_A are regarded as different unit names.

                                                                Parameter from

                                                                Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9

                                                                Parameter to

                                                                End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the latest end date is 20210331. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9

                                                                See Also

                                                                • Documentation

                                                              type AgeTile

                                                              type AgeTile = {
                                                              /**
                                                              * users' age
                                                              */
                                                              age?: AgeTile.AgeEnum;
                                                              /**
                                                              * Percentage
                                                              */
                                                              percentage?: number;
                                                              };
                                                              • LINE Messaging API(Insight) This document describes LINE Messaging API(Insight).

                                                                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.

                                                              type AppTypeTile

                                                              type AppTypeTile = {
                                                              /**
                                                              * users' OS
                                                              */
                                                              appType?: AppTypeTile.AppTypeEnum;
                                                              /**
                                                              * Percentage
                                                              */
                                                              percentage?: number;
                                                              };
                                                              • LINE Messaging API(Insight) This document describes LINE Messaging API(Insight).

                                                                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.

                                                              type AreaTile

                                                              type AreaTile = {
                                                              /**
                                                              * users' country and region
                                                              */
                                                              area?: string;
                                                              /**
                                                              * Percentage
                                                              */
                                                              percentage?: number;
                                                              };
                                                              • LINE Messaging API(Insight) This document describes LINE Messaging API(Insight).

                                                                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.

                                                              type ErrorDetail

                                                              type ErrorDetail = {
                                                              /**
                                                              * Details of the error. Not included in the response under certain situations.
                                                              */
                                                              message?: string;
                                                              /**
                                                              * Location of where the error occurred. Returns the JSON field name or query parameter name of the request. Not included in the response under certain situations.
                                                              */
                                                              property?: string;
                                                              };
                                                              • LINE Messaging API(Insight) This document describes LINE Messaging API(Insight).

                                                                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.

                                                              type ErrorResponse

                                                              type ErrorResponse = {
                                                              /**
                                                              * Message containing information about the error.
                                                              */
                                                              message: string;
                                                              /**
                                                              * An array of error details. If the array is empty, this property will not be included in the response.
                                                              */
                                                              details?: Array<ErrorDetail>;
                                                              };
                                                              • See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#error-responses

                                                              type GenderTile

                                                              type GenderTile = {
                                                              /**
                                                              * users' gender
                                                              */
                                                              gender?: GenderTile.GenderEnum;
                                                              /**
                                                              * Percentage
                                                              */
                                                              percentage?: number;
                                                              };
                                                              • LINE Messaging API(Insight) This document describes LINE Messaging API(Insight).

                                                                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.

                                                              type GetFriendsDemographicsResponse

                                                              type GetFriendsDemographicsResponse = {
                                                              /**
                                                              * true if friend demographic information is available.
                                                              */
                                                              available?: boolean;
                                                              /**
                                                              * Percentage per gender.
                                                              */
                                                              genders?: Array<GenderTile>;
                                                              /**
                                                              * Percentage per age group.
                                                              */
                                                              ages?: Array<AgeTile>;
                                                              /**
                                                              * Percentage per area.
                                                              */
                                                              areas?: Array<AreaTile>;
                                                              /**
                                                              * Percentage by OS.
                                                              */
                                                              appTypes?: Array<AppTypeTile>;
                                                              /**
                                                              * Percentage per friendship duration.
                                                              */
                                                              subscriptionPeriods?: Array<SubscriptionPeriodTile>;
                                                              };
                                                              • Get friend demographics

                                                                See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#get-demographic

                                                              type GetMessageEventResponse

                                                              type GetMessageEventResponse = {
                                                              overview?: GetMessageEventResponseOverview;
                                                              /**
                                                              * Array of information about individual message bubbles.
                                                              */
                                                              messages?: Array<GetMessageEventResponseMessage>;
                                                              /**
                                                              * Array of information about opened URLs in the message.
                                                              */
                                                              clicks?: Array<GetMessageEventResponseClick>;
                                                              };
                                                              • Statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.

                                                                See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#get-insight-message-event-response

                                                              type GetMessageEventResponseClick

                                                              type GetMessageEventResponseClick = {
                                                              /**
                                                              * The URL's serial number.
                                                              */
                                                              seq?: number;
                                                              /**
                                                              * URL.
                                                              */
                                                              url?: string;
                                                              /**
                                                              * Number of times the URL was opened.
                                                              */
                                                              click?: number | null;
                                                              /**
                                                              * Number of users that opened the URL.
                                                              */
                                                              uniqueClick?: number | null;
                                                              /**
                                                              * Number of users who opened this url through any link in the message. If a message contains two links to the same URL and a user opens both links, they're counted only once.
                                                              */
                                                              uniqueClickOfRequest?: number | null;
                                                              };
                                                              • LINE Messaging API(Insight) This document describes LINE Messaging API(Insight).

                                                                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.

                                                              type GetMessageEventResponseMessage

                                                              type GetMessageEventResponseMessage = {
                                                              /**
                                                              * Bubble's serial number.
                                                              */
                                                              seq?: number;
                                                              /**
                                                              * Number of times the bubble was displayed.
                                                              */
                                                              impression?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing.
                                                              */
                                                              mediaPlayed?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing and was played 25% of the total time.
                                                              */
                                                              mediaPlayed25Percent?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing and was played 50% of the total time.
                                                              */
                                                              mediaPlayed50Percent?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing and was played 75% of the total time.
                                                              */
                                                              mediaPlayed75Percent?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing and was played 100% of the total time.
                                                              */
                                                              mediaPlayed100Percent?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble.
                                                              */
                                                              uniqueMediaPlayed?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble and played 25% of the total time.
                                                              */
                                                              uniqueMediaPlayed25Percent?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble and played 50% of the total time.
                                                              */
                                                              uniqueMediaPlayed50Percent?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble and played 75% of the total time.
                                                              */
                                                              uniqueMediaPlayed75Percent?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble and played 100% of the total time.
                                                              */
                                                              uniqueMediaPlayed100Percent?: number | null;
                                                              };
                                                              • LINE Messaging API(Insight) This document describes LINE Messaging API(Insight).

                                                                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.

                                                              type GetMessageEventResponseOverview

                                                              type GetMessageEventResponseOverview = {
                                                              /**
                                                              * Request ID.
                                                              */
                                                              requestId?: string;
                                                              /**
                                                              * UNIX timestamp for message delivery time in seconds.
                                                              */
                                                              timestamp?: number;
                                                              /**
                                                              * Number of messages delivered. This property shows values of less than 20. However, if all messages have not been sent, it will be null.
                                                              */
                                                              delivered?: number;
                                                              /**
                                                              * Number of users who opened the message, meaning they displayed at least 1 bubble.
                                                              */
                                                              uniqueImpression?: number | null;
                                                              /**
                                                              * Number of users who opened any URL in the message.
                                                              */
                                                              uniqueClick?: number | null;
                                                              /**
                                                              * Number of users who started playing any video or audio in the message.
                                                              */
                                                              uniqueMediaPlayed?: number | null;
                                                              /**
                                                              * Number of users who played the entirety of any video or audio in the message.
                                                              */
                                                              uniqueMediaPlayed100Percent?: number | null;
                                                              };
                                                              • Summary of message statistics.

                                                              type GetNumberOfFollowersResponse

                                                              type GetNumberOfFollowersResponse = {
                                                              /**
                                                              * Calculation status.
                                                              */
                                                              status?: GetNumberOfFollowersResponse.StatusEnum;
                                                              /**
                                                              * The number of times, as of the specified date, that a user added this LINE Official Account as a friend for the first time. The number doesn't decrease even if a user later blocks the account or when they delete their LINE account.
                                                              */
                                                              followers?: number;
                                                              /**
                                                              * The number of users, as of the specified date, that the LINE Official Account can reach through targeted messages based on gender, age, and/or region. This number only includes users who are active on LINE or LINE services and whose demographics have a high level of certainty.
                                                              */
                                                              targetedReaches?: number;
                                                              /**
                                                              * The number of users blocking the account as of the specified date. The number decreases when a user unblocks the account.
                                                              */
                                                              blocks?: number;
                                                              };
                                                              • Get number of followers

                                                                See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers

                                                              type GetNumberOfMessageDeliveriesResponse

                                                              type GetNumberOfMessageDeliveriesResponse = {
                                                              /**
                                                              * Status of the counting process.
                                                              */
                                                              status?: GetNumberOfMessageDeliveriesResponse.StatusEnum;
                                                              /**
                                                              * Number of messages sent to all of this LINE Official Account's friends (broadcast messages).
                                                              */
                                                              broadcast?: number;
                                                              /**
                                                              * Number of messages sent to some of this LINE Official Account's friends, based on specific attributes (targeted messages).
                                                              */
                                                              targeting?: number;
                                                              /**
                                                              * Number of auto-response messages sent.
                                                              */
                                                              autoResponse?: number;
                                                              /**
                                                              * Number of greeting messages sent.
                                                              */
                                                              welcomeResponse?: number;
                                                              /**
                                                              * Number of messages sent from LINE Official Account Manager [Chat screen](https://www.linebiz.com/jp/manual/OfficialAccountManager/chats/) (only available in Japanese).
                                                              */
                                                              chat?: number;
                                                              /**
                                                              * Number of broadcast messages sent with the `Send broadcast message` Messaging API operation.
                                                              */
                                                              apiBroadcast?: number;
                                                              /**
                                                              * Number of push messages sent with the `Send push message` Messaging API operation.
                                                              */
                                                              apiPush?: number;
                                                              /**
                                                              * Number of multicast messages sent with the `Send multicast message` Messaging API operation.
                                                              */
                                                              apiMulticast?: number;
                                                              /**
                                                              * Number of narrowcast messages sent with the `Send narrowcast message` Messaging API operation.
                                                              */
                                                              apiNarrowcast?: number;
                                                              /**
                                                              * Number of replies sent with the `Send reply message` Messaging API operation.
                                                              */
                                                              apiReply?: number;
                                                              };
                                                              • Get number of message deliveries

                                                                See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages

                                                              type GetStatisticsPerUnitResponse

                                                              type GetStatisticsPerUnitResponse = {
                                                              overview: GetStatisticsPerUnitResponseOverview;
                                                              /**
                                                              * Array of information about individual message bubbles.
                                                              */
                                                              messages: Array<GetStatisticsPerUnitResponseMessage>;
                                                              /**
                                                              * Array of information about opened URLs in the message.
                                                              */
                                                              clicks: Array<GetStatisticsPerUnitResponseClick>;
                                                              };
                                                              • Response object for get statistics per unit

                                                                See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit-response

                                                              type GetStatisticsPerUnitResponseClick

                                                              type GetStatisticsPerUnitResponseClick = {
                                                              /**
                                                              * The URL's serial number.
                                                              */
                                                              seq: number;
                                                              /**
                                                              * URL.
                                                              */
                                                              url: string;
                                                              /**
                                                              * Number of times the URL in the bubble was opened.
                                                              */
                                                              click?: number | null;
                                                              /**
                                                              * Number of users that opened the URL in the bubble.
                                                              */
                                                              uniqueClick?: number | null;
                                                              /**
                                                              * Number of users who opened this url through any link in the message. If another message bubble contains the same URL and a user opens both links, it's counted only once.
                                                              */
                                                              uniqueClickOfRequest?: number | null;
                                                              };
                                                              • See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit-response

                                                              type GetStatisticsPerUnitResponseMessage

                                                              type GetStatisticsPerUnitResponseMessage = {
                                                              /**
                                                              * Bubble's serial number.
                                                              */
                                                              seq: number;
                                                              /**
                                                              * Number of times the bubble was displayed.
                                                              */
                                                              impression?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing.
                                                              */
                                                              mediaPlayed?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing and was played 25% of the total time.
                                                              */
                                                              mediaPlayed25Percent?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing and was played 50% of the total time.
                                                              */
                                                              mediaPlayed50Percent?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing and was played 75% of the total time.
                                                              */
                                                              mediaPlayed75Percent?: number | null;
                                                              /**
                                                              * Number of times audio or video in the bubble started playing and was played 100% of the total time.
                                                              */
                                                              mediaPlayed100Percent?: number | null;
                                                              /**
                                                              * Number of users the bubble was displayed.
                                                              */
                                                              uniqueImpression?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble.
                                                              */
                                                              uniqueMediaPlayed?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble and played 25% of the total time.
                                                              */
                                                              uniqueMediaPlayed25Percent?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble and played 50% of the total time.
                                                              */
                                                              uniqueMediaPlayed50Percent?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble and played 75% of the total time.
                                                              */
                                                              uniqueMediaPlayed75Percent?: number | null;
                                                              /**
                                                              * Number of users that started playing audio or video in the bubble and played 100% of the total time.
                                                              */
                                                              uniqueMediaPlayed100Percent?: number | null;
                                                              };
                                                              • See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit-response

                                                              type GetStatisticsPerUnitResponseOverview

                                                              type GetStatisticsPerUnitResponseOverview = {
                                                              /**
                                                              * Number of users who opened the message, meaning they displayed at least 1 bubble.
                                                              */
                                                              uniqueImpression?: number | null;
                                                              /**
                                                              * Number of users who opened any URL in the message.
                                                              */
                                                              uniqueClick?: number | null;
                                                              /**
                                                              * Number of users who started playing any video or audio in the message.
                                                              */
                                                              uniqueMediaPlayed?: number | null;
                                                              /**
                                                              * Number of users who played the entirety of any video or audio in the message.
                                                              */
                                                              uniqueMediaPlayed100Percent?: number | null;
                                                              };
                                                              • Statistics related to messages.

                                                                See Also

                                                                • https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit-response

                                                              type SubscriptionPeriodTile

                                                              type SubscriptionPeriodTile = {
                                                              /**
                                                              * Subscription period. Possible values: `within7days`, `within90days`, `unknown` etc.
                                                              */
                                                              subscriptionPeriod?: SubscriptionPeriodTile.SubscriptionPeriodEnum;
                                                              /**
                                                              * Percentage. Possible values: [0.0,100.0] e.g. 0, 2.9, 37.6.
                                                              */
                                                              percentage?: number;
                                                              };
                                                              • LINE Messaging API(Insight) This document describes LINE Messaging API(Insight).

                                                                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.

                                                              namespace insight.AgeTile

                                                              namespace insight.AgeTile {}

                                                                type AgeEnum

                                                                type AgeEnum =
                                                                | 'from0to14'
                                                                | 'from15to19'
                                                                | 'from20to24'
                                                                | 'from25to29'
                                                                | 'from30to34'
                                                                | 'from35to39'
                                                                | 'from40to44'
                                                                | 'from45to49'
                                                                | 'from50'
                                                                | 'from50to54'
                                                                | 'from55to59'
                                                                | 'from60to64'
                                                                | 'from65to69'
                                                                | 'from70'
                                                                | 'unknown';

                                                                  namespace insight.AppTypeTile

                                                                  namespace insight.AppTypeTile {}

                                                                    type AppTypeEnum

                                                                    type AppTypeEnum = 'ios' | 'android' | 'others';

                                                                      namespace insight.GenderTile

                                                                      namespace insight.GenderTile {}

                                                                        type GenderEnum

                                                                        type GenderEnum = 'male' | 'female' | 'unknown';

                                                                          namespace insight.GetNumberOfFollowersResponse

                                                                          namespace insight.GetNumberOfFollowersResponse {}

                                                                            type StatusEnum

                                                                            type StatusEnum = 'ready' | 'unready' | 'out_of_service';

                                                                              namespace insight.GetNumberOfMessageDeliveriesResponse

                                                                              namespace insight.GetNumberOfMessageDeliveriesResponse {}

                                                                                type StatusEnum

                                                                                type StatusEnum = 'ready' | 'unready' | 'out_of_service';

                                                                                  namespace insight.SubscriptionPeriodTile

                                                                                  namespace insight.SubscriptionPeriodTile {}

                                                                                    type SubscriptionPeriodEnum

                                                                                    type SubscriptionPeriodEnum =
                                                                                    | 'within7days'
                                                                                    | 'within30days'
                                                                                    | 'within90days'
                                                                                    | 'within180days'
                                                                                    | 'within365days'
                                                                                    | 'over365days'
                                                                                    | 'unknown';

                                                                                      namespace liff

                                                                                      module 'dist/liff/api.d.ts' {}

                                                                                        class LiffClient

                                                                                        class LiffClient {}
                                                                                        • See Also

                                                                                        constructor

                                                                                        constructor(config: httpClientConfig);

                                                                                          method addLIFFApp

                                                                                          addLIFFApp: (
                                                                                          addLiffAppRequest: AddLiffAppRequest
                                                                                          ) => Promise<AddLiffAppResponse>;
                                                                                          • Adding the LIFF app to a channel Create LIFF app

                                                                                            Parameter addLiffAppRequest

                                                                                            See Also

                                                                                            • Create LIFF app Documentation

                                                                                          method addLIFFAppWithHttpInfo

                                                                                          addLIFFAppWithHttpInfo: (
                                                                                          addLiffAppRequest: AddLiffAppRequest
                                                                                          ) => Promise<Types.ApiResponseType<AddLiffAppResponse>>;
                                                                                          • Adding the LIFF app to a channel. This method includes HttpInfo object to return additional information. Create LIFF app

                                                                                            Parameter addLiffAppRequest

                                                                                            See Also

                                                                                            • Create LIFF app Documentation

                                                                                          method deleteLIFFApp

                                                                                          deleteLIFFApp: (liffId: string) => Promise<Types.MessageAPIResponseBase>;
                                                                                          • Deletes a LIFF app from a channel. Delete LIFF app from a channel

                                                                                            Parameter liffId

                                                                                            ID of the LIFF app to be updated

                                                                                            See Also

                                                                                            • Delete LIFF app from a channel Documentation

                                                                                          method deleteLIFFAppWithHttpInfo

                                                                                          deleteLIFFAppWithHttpInfo: (
                                                                                          liffId: string
                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                          • Deletes a LIFF app from a channel. . This method includes HttpInfo object to return additional information. Delete LIFF app from a channel

                                                                                            Parameter liffId

                                                                                            ID of the LIFF app to be updated

                                                                                            See Also

                                                                                            • Delete LIFF app from a channel Documentation

                                                                                          method getAllLIFFApps

                                                                                          getAllLIFFApps: () => Promise<GetAllLiffAppsResponse>;
                                                                                          • Gets information on all the LIFF apps added to the channel. Get all LIFF apps

                                                                                            See Also

                                                                                            • Get all LIFF apps Documentation

                                                                                          method getAllLIFFAppsWithHttpInfo

                                                                                          getAllLIFFAppsWithHttpInfo: () => Promise<
                                                                                          Types.ApiResponseType<GetAllLiffAppsResponse>
                                                                                          >;
                                                                                          • Gets information on all the LIFF apps added to the channel.. This method includes HttpInfo object to return additional information. Get all LIFF apps

                                                                                            See Also

                                                                                            • Get all LIFF apps Documentation

                                                                                          method updateLIFFApp

                                                                                          updateLIFFApp: (
                                                                                          liffId: string,
                                                                                          updateLiffAppRequest: UpdateLiffAppRequest
                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                          • Update LIFF app settings Update LIFF app from a channel

                                                                                            Parameter liffId

                                                                                            ID of the LIFF app to be updated

                                                                                            Parameter updateLiffAppRequest

                                                                                            See Also

                                                                                            • Update LIFF app from a channel Documentation

                                                                                          method updateLIFFAppWithHttpInfo

                                                                                          updateLIFFAppWithHttpInfo: (
                                                                                          liffId: string,
                                                                                          updateLiffAppRequest: UpdateLiffAppRequest
                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                          • Update LIFF app settings. This method includes HttpInfo object to return additional information. Update LIFF app from a channel

                                                                                            Parameter liffId

                                                                                            ID of the LIFF app to be updated

                                                                                            Parameter updateLiffAppRequest

                                                                                            See Also

                                                                                            • Update LIFF app from a channel Documentation

                                                                                          type AddLiffAppRequest

                                                                                          type AddLiffAppRequest = {
                                                                                          view: LiffView;
                                                                                          /**
                                                                                          * Name of the LIFF app. The LIFF app name can't include \"LINE\" or similar strings, or inappropriate strings.
                                                                                          */
                                                                                          description?: string;
                                                                                          features?: LiffFeatures;
                                                                                          /**
                                                                                          * How additional information in LIFF URLs is handled. Specify `concat`.
                                                                                          */
                                                                                          permanentLinkPattern?: string;
                                                                                          scope?: Array<LiffScope>;
                                                                                          botPrompt?: LiffBotPrompt;
                                                                                          };
                                                                                          • See Also

                                                                                            • https://developers.line.biz/en/reference/liff-server/#add-liff-app

                                                                                          type AddLiffAppResponse

                                                                                          type AddLiffAppResponse = {
                                                                                          liffId: string;
                                                                                          };
                                                                                          • LIFF server API LIFF Server API.

                                                                                            The version of the OpenAPI document: 1.0.0

                                                                                            NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                          type GetAllLiffAppsResponse

                                                                                          type GetAllLiffAppsResponse = {
                                                                                          apps?: Array<LiffApp>;
                                                                                          };

                                                                                            type LiffApp

                                                                                            type LiffApp = {
                                                                                            /**
                                                                                            * LIFF app ID
                                                                                            */
                                                                                            liffId?: string;
                                                                                            view?: LiffView;
                                                                                            /**
                                                                                            * Name of the LIFF app
                                                                                            */
                                                                                            description?: string;
                                                                                            features?: LiffFeatures;
                                                                                            /**
                                                                                            * How additional information in LIFF URLs is handled. concat is returned.
                                                                                            */
                                                                                            permanentLinkPattern?: string;
                                                                                            scope?: Array<LiffScope>;
                                                                                            botPrompt?: LiffBotPrompt;
                                                                                            };

                                                                                              type LiffBotPrompt

                                                                                              type LiffBotPrompt = 'normal' | 'aggressive' | 'none';
                                                                                              • Specify the setting for bot link feature with one of the following values: normal: Display the option to add the LINE Official Account as a friend in the channel consent screen. aggressive: Display a screen with the option to add the LINE Official Account as a friend after the channel consent screen. none: Don't display the option to add the LINE Official Account as a friend. The default value is none.

                                                                                              type LiffFeatures

                                                                                              type LiffFeatures = {
                                                                                              /**
                                                                                              * `true` if the LIFF app supports Bluetooth® Low Energy for LINE Things. `false` otherwise.
                                                                                              */
                                                                                              ble?: boolean;
                                                                                              /**
                                                                                              * `true` to use the 2D code reader in the LIFF app. false otherwise. The default value is `false`.
                                                                                              * @default false
                                                                                              */
                                                                                              qrCode?: boolean;
                                                                                              };
                                                                                              • LIFF server API LIFF Server API.

                                                                                                The version of the OpenAPI document: 1.0.0

                                                                                                NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                              type LiffScope

                                                                                              type LiffScope = 'openid' | 'email' | 'profile' | 'chat_message.write';
                                                                                              • Array of scopes required for some LIFF SDK methods to function. The default value is [\"profile\", \"chat_message.write\"].

                                                                                              type LiffView

                                                                                              type LiffView = {
                                                                                              /**
                                                                                              * Size of the LIFF app view. Specify one of these values: - compact - tall - full
                                                                                              */
                                                                                              type: LiffView.TypeEnum;
                                                                                              /**
                                                                                              * Endpoint URL. This is the URL of the web app that implements the LIFF app (e.g. https://example.com). Used when the LIFF app is launched using the LIFF URL. The URL scheme must be https. URL fragments (#URL-fragment) can't be specified.
                                                                                              */
                                                                                              url: string;
                                                                                              /**
                                                                                              * `true` to use the LIFF app in modular mode. When in modular mode, the action button in the header is not displayed.
                                                                                              */
                                                                                              moduleMode?: boolean;
                                                                                              };
                                                                                              • See Also

                                                                                                • https://developers.line.biz/en/reference/liff-server/#add-liff-app

                                                                                              type UpdateLiffAppRequest

                                                                                              type UpdateLiffAppRequest = {
                                                                                              view?: UpdateLiffView;
                                                                                              /**
                                                                                              * Name of the LIFF app. The LIFF app name can't include \"LINE\" or similar strings, or inappropriate strings.
                                                                                              */
                                                                                              description?: string;
                                                                                              features?: LiffFeatures;
                                                                                              /**
                                                                                              * How additional information in LIFF URLs is handled. Specify `concat`.
                                                                                              */
                                                                                              permanentLinkPattern?: string;
                                                                                              scope?: Array<LiffScope>;
                                                                                              botPrompt?: LiffBotPrompt;
                                                                                              };
                                                                                              • See Also

                                                                                                • https://developers.line.biz/en/reference/liff-server/#add-liff-app

                                                                                              type UpdateLiffView

                                                                                              type UpdateLiffView = {
                                                                                              /**
                                                                                              * Size of the LIFF app view. Specify one of these values: - compact - tall - full
                                                                                              */
                                                                                              type?: UpdateLiffView.TypeEnum;
                                                                                              /**
                                                                                              * Endpoint URL. This is the URL of the web app that implements the LIFF app (e.g. https://example.com). Used when the LIFF app is launched using the LIFF URL. The URL scheme must be https. URL fragments (#URL-fragment) can't be specified.
                                                                                              */
                                                                                              url?: string;
                                                                                              /**
                                                                                              * `true` to use the LIFF app in modular mode. When in modular mode, the action button in the header is not displayed.
                                                                                              */
                                                                                              moduleMode?: boolean;
                                                                                              };
                                                                                              • See Also

                                                                                                • https://developers.line.biz/en/reference/liff-server/#update-liff-app

                                                                                              namespace liff.AddLiffAppRequest

                                                                                              namespace liff.AddLiffAppRequest {}

                                                                                                namespace liff.LiffApp

                                                                                                namespace liff.LiffApp {}

                                                                                                  namespace liff.LiffView

                                                                                                  namespace liff.LiffView {}

                                                                                                    type TypeEnum

                                                                                                    type TypeEnum = 'compact' | 'tall' | 'full';

                                                                                                      namespace liff.UpdateLiffAppRequest

                                                                                                      namespace liff.UpdateLiffAppRequest {}

                                                                                                        namespace liff.UpdateLiffView

                                                                                                        namespace liff.UpdateLiffView {}

                                                                                                          type TypeEnum

                                                                                                          type TypeEnum = 'compact' | 'tall' | 'full';

                                                                                                            namespace manageAudience

                                                                                                            module 'dist/manage-audience/api.d.ts' {}

                                                                                                              class ManageAudienceBlobClient

                                                                                                              class ManageAudienceBlobClient {}
                                                                                                              • See Also

                                                                                                              constructor

                                                                                                              constructor(config: httpClientConfig);

                                                                                                                method addUserIdsToAudience

                                                                                                                addUserIdsToAudience: (
                                                                                                                file: Blob,
                                                                                                                audienceGroupId?: number,
                                                                                                                uploadDescription?: string
                                                                                                                ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                • Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).

                                                                                                                  Parameter file

                                                                                                                  A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000

                                                                                                                  Parameter audienceGroupId

                                                                                                                  The audience ID.

                                                                                                                  Parameter uploadDescription

                                                                                                                  The description to register with the job

                                                                                                                  See Also

                                                                                                                  • Documentation

                                                                                                                method addUserIdsToAudienceWithHttpInfo

                                                                                                                addUserIdsToAudienceWithHttpInfo: (
                                                                                                                file: Blob,
                                                                                                                audienceGroupId?: number,
                                                                                                                uploadDescription?: string
                                                                                                                ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                • Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).. This method includes HttpInfo object to return additional information.

                                                                                                                  Parameter file

                                                                                                                  A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000

                                                                                                                  Parameter audienceGroupId

                                                                                                                  The audience ID.

                                                                                                                  Parameter uploadDescription

                                                                                                                  The description to register with the job

                                                                                                                  See Also

                                                                                                                  • Documentation

                                                                                                                method createAudienceForUploadingUserIds

                                                                                                                createAudienceForUploadingUserIds: (
                                                                                                                file: Blob,
                                                                                                                description?: string,
                                                                                                                isIfaAudience?: boolean,
                                                                                                                uploadDescription?: string
                                                                                                                ) => Promise<CreateAudienceGroupResponse>;
                                                                                                                • Create audience for uploading user IDs (by file).

                                                                                                                  Parameter file

                                                                                                                  A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000

                                                                                                                  Parameter description

                                                                                                                  The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120

                                                                                                                  Parameter isIfaAudience

                                                                                                                  To specify recipients by IFAs: set true. To specify recipients by user IDs: set false or omit isIfaAudience property.

                                                                                                                  Parameter uploadDescription

                                                                                                                  The description to register for the job (in jobs[].description).

                                                                                                                  See Also

                                                                                                                  • Documentation

                                                                                                                method createAudienceForUploadingUserIdsWithHttpInfo

                                                                                                                createAudienceForUploadingUserIdsWithHttpInfo: (
                                                                                                                file: Blob,
                                                                                                                description?: string,
                                                                                                                isIfaAudience?: boolean,
                                                                                                                uploadDescription?: string
                                                                                                                ) => Promise<Types.ApiResponseType<CreateAudienceGroupResponse>>;
                                                                                                                • Create audience for uploading user IDs (by file).. This method includes HttpInfo object to return additional information.

                                                                                                                  Parameter file

                                                                                                                  A text file with one user ID or IFA entered per line. Specify text/plain as Content-Type. Max file number: 1 Max number: 1,500,000

                                                                                                                  Parameter description

                                                                                                                  The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120

                                                                                                                  Parameter isIfaAudience

                                                                                                                  To specify recipients by IFAs: set true. To specify recipients by user IDs: set false or omit isIfaAudience property.

                                                                                                                  Parameter uploadDescription

                                                                                                                  The description to register for the job (in jobs[].description).

                                                                                                                  See Also

                                                                                                                  • Documentation

                                                                                                                class ManageAudienceClient

                                                                                                                class ManageAudienceClient {}
                                                                                                                • See Also

                                                                                                                constructor

                                                                                                                constructor(config: httpClientConfig);

                                                                                                                  method addAudienceToAudienceGroup

                                                                                                                  addAudienceToAudienceGroup: (
                                                                                                                  addAudienceToAudienceGroupRequest: AddAudienceToAudienceGroupRequest
                                                                                                                  ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                  • Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)

                                                                                                                    Parameter addAudienceToAudienceGroupRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method addAudienceToAudienceGroupWithHttpInfo

                                                                                                                  addAudienceToAudienceGroupWithHttpInfo: (
                                                                                                                  addAudienceToAudienceGroupRequest: AddAudienceToAudienceGroupRequest
                                                                                                                  ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                  • Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON). This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter addAudienceToAudienceGroupRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method createAudienceGroup

                                                                                                                  createAudienceGroup: (
                                                                                                                  createAudienceGroupRequest: CreateAudienceGroupRequest
                                                                                                                  ) => Promise<CreateAudienceGroupResponse>;
                                                                                                                  • Create audience for uploading user IDs (by JSON)

                                                                                                                    Parameter createAudienceGroupRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method createAudienceGroupWithHttpInfo

                                                                                                                  createAudienceGroupWithHttpInfo: (
                                                                                                                  createAudienceGroupRequest: CreateAudienceGroupRequest
                                                                                                                  ) => Promise<Types.ApiResponseType<CreateAudienceGroupResponse>>;
                                                                                                                  • Create audience for uploading user IDs (by JSON). This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter createAudienceGroupRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method createClickBasedAudienceGroup

                                                                                                                  createClickBasedAudienceGroup: (
                                                                                                                  createClickBasedAudienceGroupRequest: CreateClickBasedAudienceGroupRequest
                                                                                                                  ) => Promise<CreateClickBasedAudienceGroupResponse>;
                                                                                                                  • Create audience for click-based retargeting

                                                                                                                    Parameter createClickBasedAudienceGroupRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method createClickBasedAudienceGroupWithHttpInfo

                                                                                                                  createClickBasedAudienceGroupWithHttpInfo: (
                                                                                                                  createClickBasedAudienceGroupRequest: CreateClickBasedAudienceGroupRequest
                                                                                                                  ) => Promise<Types.ApiResponseType<CreateClickBasedAudienceGroupResponse>>;
                                                                                                                  • Create audience for click-based retargeting. This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter createClickBasedAudienceGroupRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method createImpBasedAudienceGroup

                                                                                                                  createImpBasedAudienceGroup: (
                                                                                                                  createImpBasedAudienceGroupRequest: CreateImpBasedAudienceGroupRequest
                                                                                                                  ) => Promise<CreateImpBasedAudienceGroupResponse>;
                                                                                                                  • Create audience for impression-based retargeting

                                                                                                                    Parameter createImpBasedAudienceGroupRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method createImpBasedAudienceGroupWithHttpInfo

                                                                                                                  createImpBasedAudienceGroupWithHttpInfo: (
                                                                                                                  createImpBasedAudienceGroupRequest: CreateImpBasedAudienceGroupRequest
                                                                                                                  ) => Promise<Types.ApiResponseType<CreateImpBasedAudienceGroupResponse>>;
                                                                                                                  • Create audience for impression-based retargeting. This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter createImpBasedAudienceGroupRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method deleteAudienceGroup

                                                                                                                  deleteAudienceGroup: (
                                                                                                                  audienceGroupId: number
                                                                                                                  ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                  • Delete audience

                                                                                                                    Parameter audienceGroupId

                                                                                                                    The audience ID.

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method deleteAudienceGroupWithHttpInfo

                                                                                                                  deleteAudienceGroupWithHttpInfo: (
                                                                                                                  audienceGroupId: number
                                                                                                                  ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                  • Delete audience. This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter audienceGroupId

                                                                                                                    The audience ID.

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method getAudienceData

                                                                                                                  getAudienceData: (audienceGroupId: number) => Promise<GetAudienceDataResponse>;
                                                                                                                  • Gets audience data.

                                                                                                                    Parameter audienceGroupId

                                                                                                                    The audience ID.

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method getAudienceDataWithHttpInfo

                                                                                                                  getAudienceDataWithHttpInfo: (
                                                                                                                  audienceGroupId: number
                                                                                                                  ) => Promise<Types.ApiResponseType<GetAudienceDataResponse>>;
                                                                                                                  • Gets audience data.. This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter audienceGroupId

                                                                                                                    The audience ID.

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method getAudienceGroups

                                                                                                                  getAudienceGroups: (
                                                                                                                  page: number,
                                                                                                                  description?: string,
                                                                                                                  status?: AudienceGroupStatus,
                                                                                                                  size?: number,
                                                                                                                  includesExternalPublicGroups?: boolean,
                                                                                                                  createRoute?: AudienceGroupCreateRoute
                                                                                                                  ) => Promise<GetAudienceGroupsResponse>;
                                                                                                                  • Gets data for more than one audience.

                                                                                                                    Parameter page

                                                                                                                    The page to return when getting (paginated) results. Must be 1 or higher.

                                                                                                                    Parameter description

                                                                                                                    The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion.

                                                                                                                    Parameter status

                                                                                                                    The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.

                                                                                                                    Parameter size

                                                                                                                    The number of audiences per page. Default: 20 Max: 40

                                                                                                                    Parameter includesExternalPublicGroups

                                                                                                                    true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel.

                                                                                                                    Parameter createRoute

                                                                                                                    How the audience was created. If omitted, all audiences are included. OA_MANAGER: Return only audiences created with LINE Official Account Manager (opens new window). MESSAGING_API: Return only audiences created with Messaging API.

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method getAudienceGroupsWithHttpInfo

                                                                                                                  getAudienceGroupsWithHttpInfo: (
                                                                                                                  page: number,
                                                                                                                  description?: string,
                                                                                                                  status?: AudienceGroupStatus,
                                                                                                                  size?: number,
                                                                                                                  includesExternalPublicGroups?: boolean,
                                                                                                                  createRoute?: AudienceGroupCreateRoute
                                                                                                                  ) => Promise<Types.ApiResponseType<GetAudienceGroupsResponse>>;
                                                                                                                  • Gets data for more than one audience.. This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter page

                                                                                                                    The page to return when getting (paginated) results. Must be 1 or higher.

                                                                                                                    Parameter description

                                                                                                                    The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion.

                                                                                                                    Parameter status

                                                                                                                    The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.

                                                                                                                    Parameter size

                                                                                                                    The number of audiences per page. Default: 20 Max: 40

                                                                                                                    Parameter includesExternalPublicGroups

                                                                                                                    true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel.

                                                                                                                    Parameter createRoute

                                                                                                                    How the audience was created. If omitted, all audiences are included. OA_MANAGER: Return only audiences created with LINE Official Account Manager (opens new window). MESSAGING_API: Return only audiences created with Messaging API.

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method getSharedAudienceData

                                                                                                                  getSharedAudienceData: (
                                                                                                                  audienceGroupId: number
                                                                                                                  ) => Promise<GetSharedAudienceDataResponse>;
                                                                                                                  • Gets audience data.

                                                                                                                    Parameter audienceGroupId

                                                                                                                    The audience ID.

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method getSharedAudienceDataWithHttpInfo

                                                                                                                  getSharedAudienceDataWithHttpInfo: (
                                                                                                                  audienceGroupId: number
                                                                                                                  ) => Promise<Types.ApiResponseType<GetSharedAudienceDataResponse>>;
                                                                                                                  • Gets audience data.. This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter audienceGroupId

                                                                                                                    The audience ID.

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method getSharedAudienceGroups

                                                                                                                  getSharedAudienceGroups: (
                                                                                                                  page: number,
                                                                                                                  description?: string,
                                                                                                                  status?: AudienceGroupStatus,
                                                                                                                  size?: number,
                                                                                                                  createRoute?: AudienceGroupCreateRoute,
                                                                                                                  includesOwnedAudienceGroups?: boolean
                                                                                                                  ) => Promise<GetSharedAudienceGroupsResponse>;
                                                                                                                  • Gets data for more than one audience, including those shared by the Business Manager.

                                                                                                                    Parameter page

                                                                                                                    The page to return when getting (paginated) results. Must be 1 or higher.

                                                                                                                    Parameter description

                                                                                                                    The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion.

                                                                                                                    Parameter status

                                                                                                                    The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.

                                                                                                                    Parameter size

                                                                                                                    The number of audiences per page. Default: 20 Max: 40

                                                                                                                    Parameter createRoute

                                                                                                                    How the audience was created. If omitted, all audiences are included. OA_MANAGER: Return only audiences created with LINE Official Account Manager (opens new window). MESSAGING_API: Return only audiences created with Messaging API.

                                                                                                                    Parameter includesOwnedAudienceGroups

                                                                                                                    true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method getSharedAudienceGroupsWithHttpInfo

                                                                                                                  getSharedAudienceGroupsWithHttpInfo: (
                                                                                                                  page: number,
                                                                                                                  description?: string,
                                                                                                                  status?: AudienceGroupStatus,
                                                                                                                  size?: number,
                                                                                                                  createRoute?: AudienceGroupCreateRoute,
                                                                                                                  includesOwnedAudienceGroups?: boolean
                                                                                                                  ) => Promise<Types.ApiResponseType<GetSharedAudienceGroupsResponse>>;
                                                                                                                  • Gets data for more than one audience, including those shared by the Business Manager.. This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter page

                                                                                                                    The page to return when getting (paginated) results. Must be 1 or higher.

                                                                                                                    Parameter description

                                                                                                                    The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are considered identical. If omitted, the name of the audience(s) will not be used as a search criterion.

                                                                                                                    Parameter status

                                                                                                                    The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.

                                                                                                                    Parameter size

                                                                                                                    The number of audiences per page. Default: 20 Max: 40

                                                                                                                    Parameter createRoute

                                                                                                                    How the audience was created. If omitted, all audiences are included. OA_MANAGER: Return only audiences created with LINE Official Account Manager (opens new window). MESSAGING_API: Return only audiences created with Messaging API.

                                                                                                                    Parameter includesOwnedAudienceGroups

                                                                                                                    true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method updateAudienceGroupDescription

                                                                                                                  updateAudienceGroupDescription: (
                                                                                                                  audienceGroupId: number,
                                                                                                                  updateAudienceGroupDescriptionRequest: UpdateAudienceGroupDescriptionRequest
                                                                                                                  ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                  • Renames an existing audience.

                                                                                                                    Parameter audienceGroupId

                                                                                                                    The audience ID.

                                                                                                                    Parameter updateAudienceGroupDescriptionRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  method updateAudienceGroupDescriptionWithHttpInfo

                                                                                                                  updateAudienceGroupDescriptionWithHttpInfo: (
                                                                                                                  audienceGroupId: number,
                                                                                                                  updateAudienceGroupDescriptionRequest: UpdateAudienceGroupDescriptionRequest
                                                                                                                  ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                  • Renames an existing audience.. This method includes HttpInfo object to return additional information.

                                                                                                                    Parameter audienceGroupId

                                                                                                                    The audience ID.

                                                                                                                    Parameter updateAudienceGroupDescriptionRequest

                                                                                                                    See Also

                                                                                                                    • Documentation

                                                                                                                  type Adaccount

                                                                                                                  type Adaccount = {
                                                                                                                  /**
                                                                                                                  * Ad account name.
                                                                                                                  */
                                                                                                                  name?: string;
                                                                                                                  };
                                                                                                                  • Adaccount

                                                                                                                  type AddAudienceToAudienceGroupRequest

                                                                                                                  type AddAudienceToAudienceGroupRequest = {
                                                                                                                  /**
                                                                                                                  * The audience ID.
                                                                                                                  */
                                                                                                                  audienceGroupId?: number;
                                                                                                                  /**
                                                                                                                  * The audience's name.
                                                                                                                  */
                                                                                                                  uploadDescription?: string;
                                                                                                                  /**
                                                                                                                  * An array of up to 10,000 user IDs or IFAs.
                                                                                                                  * @maxItems 10000
                                                                                                                  */
                                                                                                                  audiences?: Array<Audience>;
                                                                                                                  };
                                                                                                                  • Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group

                                                                                                                  type Audience

                                                                                                                  type Audience = {
                                                                                                                  /**
                                                                                                                  * A user ID or IFA. You can specify an empty array.
                                                                                                                  */
                                                                                                                  id?: string;
                                                                                                                  };
                                                                                                                  • Audience

                                                                                                                  type AudienceGroup

                                                                                                                  type AudienceGroup = {
                                                                                                                  /**
                                                                                                                  * The audience ID.
                                                                                                                  */
                                                                                                                  audienceGroupId?: number;
                                                                                                                  type?: AudienceGroupType;
                                                                                                                  /**
                                                                                                                  * The audience's name.
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  status?: AudienceGroupStatus;
                                                                                                                  failedType?: AudienceGroupFailedType | null;
                                                                                                                  /**
                                                                                                                  * The number of users included in the audience.
                                                                                                                  */
                                                                                                                  audienceCount?: number;
                                                                                                                  /**
                                                                                                                  * When the audience was created (in UNIX time).
                                                                                                                  */
                                                                                                                  created?: number;
                                                                                                                  /**
                                                                                                                  * The request ID that was specified when the audience was created. This is only included when `audienceGroup.type` is CLICK or IMP.
                                                                                                                  */
                                                                                                                  requestId?: string;
                                                                                                                  /**
                                                                                                                  * The URL that was specified when the audience was created. This is only included when `audienceGroup.type` is CLICK and link URL is specified.
                                                                                                                  */
                                                                                                                  clickUrl?: string;
                                                                                                                  /**
                                                                                                                  * The value indicating the type of account to be sent, as specified when creating the audience for uploading user IDs.
                                                                                                                  */
                                                                                                                  isIfaAudience?: boolean;
                                                                                                                  permission?: AudienceGroupPermission;
                                                                                                                  createRoute?: AudienceGroupCreateRoute;
                                                                                                                  };
                                                                                                                  • Audience group

                                                                                                                  type AudienceGroupCreateRoute

                                                                                                                  type AudienceGroupCreateRoute =
                                                                                                                  | 'OA_MANAGER'
                                                                                                                  | 'MESSAGING_API'
                                                                                                                  | 'POINT_AD'
                                                                                                                  | 'AD_MANAGER';
                                                                                                                  • How the audience was created. One of: - OA_MANAGER: Audience created with [LINE Official Account Manager](https://manager.line.biz/). - MESSAGING_API: Audience created with Messaging API. - POINT_AD: Audience created with [LINE Points Ads](https://www.linebiz.com/jp/service/line-point-ad/) (Japanese only). - AD_MANAGER: Audience created with [LINE Ads](https://admanager.line.biz/).

                                                                                                                  type AudienceGroupFailedType

                                                                                                                  type AudienceGroupFailedType =
                                                                                                                  | 'AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT'
                                                                                                                  | 'INTERNAL_ERROR';
                                                                                                                  • Failed type

                                                                                                                  type AudienceGroupJob

                                                                                                                  type AudienceGroupJob = {
                                                                                                                  /**
                                                                                                                  * A job ID.
                                                                                                                  */
                                                                                                                  audienceGroupJobId?: number;
                                                                                                                  /**
                                                                                                                  * An audience ID.
                                                                                                                  */
                                                                                                                  audienceGroupId?: number;
                                                                                                                  /**
                                                                                                                  * The job's description.
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  type?: AudienceGroupJobType;
                                                                                                                  jobStatus?: AudienceGroupJobStatus;
                                                                                                                  failedType?: AudienceGroupJobFailedType;
                                                                                                                  /**
                                                                                                                  * The number of accounts (recipients) that were added or removed.
                                                                                                                  */
                                                                                                                  audienceCount?: number;
                                                                                                                  /**
                                                                                                                  * When the job was created (in UNIX time).
                                                                                                                  */
                                                                                                                  created?: number;
                                                                                                                  };
                                                                                                                  • Audience group job

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#get-audience-group

                                                                                                                  type AudienceGroupJobFailedType

                                                                                                                  type AudienceGroupJobFailedType =
                                                                                                                  | 'INTERNAL_ERROR'
                                                                                                                  | 'AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT';
                                                                                                                  • Failed type

                                                                                                                  type AudienceGroupJobStatus

                                                                                                                  type AudienceGroupJobStatus = 'QUEUED' | 'WORKING' | 'FINISHED' | 'FAILED';
                                                                                                                  • Job status

                                                                                                                  type AudienceGroupJobType

                                                                                                                  type AudienceGroupJobType = 'DIFF_ADD';
                                                                                                                  • Job Type

                                                                                                                  type AudienceGroupPermission

                                                                                                                  type AudienceGroupPermission = 'READ' | 'READ_WRITE';
                                                                                                                  • Permission

                                                                                                                  type AudienceGroupStatus

                                                                                                                  type AudienceGroupStatus =
                                                                                                                  | 'IN_PROGRESS'
                                                                                                                  | 'READY'
                                                                                                                  | 'FAILED'
                                                                                                                  | 'EXPIRED'
                                                                                                                  | 'INACTIVE'
                                                                                                                  | 'ACTIVATING';
                                                                                                                  • Status

                                                                                                                  type AudienceGroupType

                                                                                                                  type AudienceGroupType =
                                                                                                                  | 'UPLOAD'
                                                                                                                  | 'CLICK'
                                                                                                                  | 'IMP'
                                                                                                                  | 'CHAT_TAG'
                                                                                                                  | 'FRIEND_PATH'
                                                                                                                  | 'RESERVATION'
                                                                                                                  | 'APP_EVENT'
                                                                                                                  | 'VIDEO_VIEW'
                                                                                                                  | 'WEBTRAFFIC'
                                                                                                                  | 'IMAGE_CLICK'
                                                                                                                  | 'RICHMENU_IMP'
                                                                                                                  | 'RICHMENU_CLICK'
                                                                                                                  | 'POP_AD_IMP'
                                                                                                                  | 'TRACKINGTAG_WEBTRAFFIC';
                                                                                                                  • Audience group type

                                                                                                                  type CreateAudienceGroupRequest

                                                                                                                  type CreateAudienceGroupRequest = {
                                                                                                                  /**
                                                                                                                  * The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
                                                                                                                  * @maxLength 120
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  /**
                                                                                                                  * To specify recipients by IFAs: set true. To specify recipients by user IDs: set false or omit isIfaAudience property.
                                                                                                                  */
                                                                                                                  isIfaAudience?: boolean;
                                                                                                                  /**
                                                                                                                  * The description to register for the job (in jobs[].description).
                                                                                                                  */
                                                                                                                  uploadDescription?: string;
                                                                                                                  /**
                                                                                                                  * An array of user IDs or IFAs. Max number: 10,000
                                                                                                                  * @maxItems 10000
                                                                                                                  */
                                                                                                                  audiences?: Array<Audience>;
                                                                                                                  };
                                                                                                                  • Create audience for uploading user IDs (by JSON)

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group

                                                                                                                  type CreateAudienceGroupResponse

                                                                                                                  type CreateAudienceGroupResponse = {
                                                                                                                  /**
                                                                                                                  * The audience ID.
                                                                                                                  */
                                                                                                                  audienceGroupId?: number;
                                                                                                                  /**
                                                                                                                  * How the audience was created. `MESSAGING_API`: An audience created with Messaging API.
                                                                                                                  */
                                                                                                                  createRoute?: CreateAudienceGroupResponse.CreateRouteEnum;
                                                                                                                  type?: AudienceGroupType;
                                                                                                                  /**
                                                                                                                  * The audience's name.
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  /**
                                                                                                                  * When the audience was created (in UNIX time).
                                                                                                                  */
                                                                                                                  created?: number;
                                                                                                                  /**
                                                                                                                  * Audience's update permission. Audiences linked to the same channel will be READ_WRITE. `READ`: Can use only. `READ_WRITE`: Can use and update.
                                                                                                                  */
                                                                                                                  permission?: CreateAudienceGroupResponse.PermissionEnum;
                                                                                                                  /**
                                                                                                                  * Time of audience expiration. Only returned for specific audiences.
                                                                                                                  */
                                                                                                                  expireTimestamp?: number;
                                                                                                                  /**
                                                                                                                  * The value indicating the type of account to be sent, as specified when creating the audience for uploading user IDs. One of: `true`: Accounts are specified with IFAs. `false` (default): Accounts are specified with user IDs.
                                                                                                                  */
                                                                                                                  isIfaAudience?: boolean;
                                                                                                                  };
                                                                                                                  • Create audience for uploading user IDs (by JSON)

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group

                                                                                                                  type CreateClickBasedAudienceGroupRequest

                                                                                                                  type CreateClickBasedAudienceGroupRequest = {
                                                                                                                  /**
                                                                                                                  * The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
                                                                                                                  * @maxLength 120
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  /**
                                                                                                                  * The request ID of a broadcast or narrowcast message sent in the past 60 days. Each Messaging API request has a request ID.
                                                                                                                  */
                                                                                                                  requestId?: string;
                                                                                                                  /**
                                                                                                                  * The URL clicked by the user. If empty, users who clicked any URL in the message are added to the list of recipients. Max character limit: 2,000
                                                                                                                  * @maxLength 2000
                                                                                                                  */
                                                                                                                  clickUrl?: string;
                                                                                                                  };
                                                                                                                  • Create audience for click-based retargeting

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group

                                                                                                                  type CreateClickBasedAudienceGroupResponse

                                                                                                                  type CreateClickBasedAudienceGroupResponse = {
                                                                                                                  /**
                                                                                                                  * The audience ID.
                                                                                                                  */
                                                                                                                  audienceGroupId?: number;
                                                                                                                  type?: AudienceGroupType;
                                                                                                                  /**
                                                                                                                  * The audience's name.
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  /**
                                                                                                                  * When the audience was created (in UNIX time).
                                                                                                                  */
                                                                                                                  created?: number;
                                                                                                                  /**
                                                                                                                  * The request ID that was specified when the audience was created.
                                                                                                                  */
                                                                                                                  requestId?: string;
                                                                                                                  /**
                                                                                                                  * The URL that was specified when the audience was created.
                                                                                                                  */
                                                                                                                  clickUrl?: string;
                                                                                                                  /**
                                                                                                                  * How the audience was created. `MESSAGING_API`: An audience created with Messaging API.
                                                                                                                  */
                                                                                                                  createRoute?: CreateClickBasedAudienceGroupResponse.CreateRouteEnum;
                                                                                                                  /**
                                                                                                                  * Audience's update permission. Audiences linked to the same channel will be READ_WRITE. - `READ`: Can use only. - `READ_WRITE`: Can use and update.
                                                                                                                  */
                                                                                                                  permission?: CreateClickBasedAudienceGroupResponse.PermissionEnum;
                                                                                                                  /**
                                                                                                                  * Time of audience expiration. Only returned for specific audiences.
                                                                                                                  */
                                                                                                                  expireTimestamp?: number;
                                                                                                                  /**
                                                                                                                  * The value indicating the type of account to be sent, as specified when creating the audience for uploading user IDs. One of: true: Accounts are specified with IFAs. false (default): Accounts are specified with user IDs.
                                                                                                                  * @default false
                                                                                                                  */
                                                                                                                  isIfaAudience?: boolean;
                                                                                                                  };
                                                                                                                  • Create audience for click-based retargeting

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group

                                                                                                                  type CreateImpBasedAudienceGroupRequest

                                                                                                                  type CreateImpBasedAudienceGroupRequest = {
                                                                                                                  /**
                                                                                                                  * The audience's name. This is case-insensitive, meaning `AUDIENCE` and `audience` are considered identical. Max character limit: 120
                                                                                                                  * @minLength 1
                                                                                                                  * @maxLength 120
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  /**
                                                                                                                  * The request ID of a broadcast or narrowcast message sent in the past 60 days. Each Messaging API request has a request ID.
                                                                                                                  */
                                                                                                                  requestId?: string;
                                                                                                                  };
                                                                                                                  • Create audience for impression-based retargeting

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group

                                                                                                                  type CreateImpBasedAudienceGroupResponse

                                                                                                                  type CreateImpBasedAudienceGroupResponse = {
                                                                                                                  /**
                                                                                                                  * The audience ID.
                                                                                                                  */
                                                                                                                  audienceGroupId?: number;
                                                                                                                  type?: AudienceGroupType;
                                                                                                                  /**
                                                                                                                  * The audience's name.
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  /**
                                                                                                                  * When the audience was created (in UNIX time).
                                                                                                                  */
                                                                                                                  created?: number;
                                                                                                                  /**
                                                                                                                  * The request ID that was specified when the audience was created.
                                                                                                                  */
                                                                                                                  requestId?: string;
                                                                                                                  };
                                                                                                                  • Create audience for impression-based retargeting

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group

                                                                                                                  type DetailedOwner

                                                                                                                  type DetailedOwner = {
                                                                                                                  /**
                                                                                                                  * Service name where the audience group has been created.
                                                                                                                  */
                                                                                                                  serviceType?: string;
                                                                                                                  /**
                                                                                                                  * Owner ID in the service.
                                                                                                                  */
                                                                                                                  id?: string;
                                                                                                                  /**
                                                                                                                  * Owner account name.
                                                                                                                  */
                                                                                                                  name?: string;
                                                                                                                  };
                                                                                                                  • Owner of this audience group.

                                                                                                                  type ErrorDetail

                                                                                                                  type ErrorDetail = {
                                                                                                                  /**
                                                                                                                  * Details of the error. Not included in the response under certain situations.
                                                                                                                  */
                                                                                                                  message?: string;
                                                                                                                  /**
                                                                                                                  * Location of where the error occurred. Returns the JSON field name or query parameter name of the request. Not included in the response under certain situations.
                                                                                                                  */
                                                                                                                  property?: string;
                                                                                                                  };
                                                                                                                  • 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.

                                                                                                                  type ErrorResponse

                                                                                                                  type ErrorResponse = {
                                                                                                                  /**
                                                                                                                  * Message containing information about the error.
                                                                                                                  */
                                                                                                                  message: string;
                                                                                                                  /**
                                                                                                                  * An array of error details. If the array is empty, this property will not be included in the response.
                                                                                                                  */
                                                                                                                  details?: Array<ErrorDetail>;
                                                                                                                  };
                                                                                                                  • See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#error-responses

                                                                                                                  type GetAudienceDataResponse

                                                                                                                  type GetAudienceDataResponse = {
                                                                                                                  audienceGroup?: AudienceGroup;
                                                                                                                  /**
                                                                                                                  * An array of jobs. This array is used to keep track of each attempt to add new user IDs or IFAs to an audience for uploading user IDs. Empty array is returned for any other type of audience. Max: 50
                                                                                                                  * @maxItems 50
                                                                                                                  */
                                                                                                                  jobs?: Array<AudienceGroupJob>;
                                                                                                                  adaccount?: Adaccount;
                                                                                                                  };
                                                                                                                  • Get audience data

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#get-audience-group

                                                                                                                  type GetAudienceGroupsResponse

                                                                                                                  type GetAudienceGroupsResponse = {
                                                                                                                  /**
                                                                                                                  * An array of audience data. If there are no audiences that match the specified filter, an empty array will be returned.
                                                                                                                  */
                                                                                                                  audienceGroups?: Array<AudienceGroup>;
                                                                                                                  /**
                                                                                                                  * true when this is not the last page.
                                                                                                                  */
                                                                                                                  hasNextPage?: boolean;
                                                                                                                  /**
                                                                                                                  * The total number of audiences that can be returned with the specified filter.
                                                                                                                  */
                                                                                                                  totalCount?: number;
                                                                                                                  /**
                                                                                                                  * Of the audiences you can get with the specified filter, the number of audiences with the update permission set to READ_WRITE.
                                                                                                                  */
                                                                                                                  readWriteAudienceGroupTotalCount?: number;
                                                                                                                  /**
                                                                                                                  * The current page number.
                                                                                                                  */
                                                                                                                  page?: number;
                                                                                                                  /**
                                                                                                                  * The maximum number of audiences on the current page.
                                                                                                                  */
                                                                                                                  size?: number;
                                                                                                                  };
                                                                                                                  • Gets data for more than one audience.

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#get-audience-groups

                                                                                                                  type GetSharedAudienceDataResponse

                                                                                                                  type GetSharedAudienceDataResponse = {
                                                                                                                  audienceGroup?: AudienceGroup;
                                                                                                                  /**
                                                                                                                  * An array of jobs. This array is used to keep track of each attempt to add new user IDs or IFAs to an audience for uploading user IDs. Empty array is returned for any other type of audience. Max: 50
                                                                                                                  * @maxItems 50
                                                                                                                  */
                                                                                                                  jobs?: Array<AudienceGroupJob>;
                                                                                                                  owner?: DetailedOwner;
                                                                                                                  };
                                                                                                                  • Get audience data

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#get-audience-group

                                                                                                                  type GetSharedAudienceGroupsResponse

                                                                                                                  type GetSharedAudienceGroupsResponse = {
                                                                                                                  /**
                                                                                                                  * An array of audience data. If there are no audiences that match the specified filter, an empty array will be returned.
                                                                                                                  */
                                                                                                                  audienceGroups?: Array<AudienceGroup>;
                                                                                                                  /**
                                                                                                                  * true when this is not the last page.
                                                                                                                  */
                                                                                                                  hasNextPage?: boolean;
                                                                                                                  /**
                                                                                                                  * The total number of audiences that can be returned with the specified filter.
                                                                                                                  */
                                                                                                                  totalCount?: number;
                                                                                                                  /**
                                                                                                                  * Of the audiences you can get with the specified filter, the number of audiences with the update permission set to READ_WRITE.
                                                                                                                  */
                                                                                                                  readWriteAudienceGroupTotalCount?: number;
                                                                                                                  /**
                                                                                                                  * The current page number.
                                                                                                                  */
                                                                                                                  page?: number;
                                                                                                                  /**
                                                                                                                  * The maximum number of audiences on the current page.
                                                                                                                  */
                                                                                                                  size?: number;
                                                                                                                  };
                                                                                                                  • Gets data for more than one audience.

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#get-audience-groups

                                                                                                                  type UpdateAudienceGroupDescriptionRequest

                                                                                                                  type UpdateAudienceGroupDescriptionRequest = {
                                                                                                                  /**
                                                                                                                  * The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
                                                                                                                  * @minLength 1
                                                                                                                  * @maxLength 120
                                                                                                                  */
                                                                                                                  description?: string;
                                                                                                                  };
                                                                                                                  • Rename an audience

                                                                                                                    See Also

                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group

                                                                                                                  namespace manageAudience.AudienceGroup

                                                                                                                  namespace manageAudience.AudienceGroup {}

                                                                                                                    namespace manageAudience.AudienceGroupJob

                                                                                                                    namespace manageAudience.AudienceGroupJob {}

                                                                                                                      namespace manageAudience.CreateAudienceGroupResponse

                                                                                                                      namespace manageAudience.CreateAudienceGroupResponse {}

                                                                                                                        type CreateRouteEnum

                                                                                                                        type CreateRouteEnum = 'MESSAGING_API';

                                                                                                                          type PermissionEnum

                                                                                                                          type PermissionEnum = 'READ' | 'READ_WRITE';

                                                                                                                            namespace manageAudience.CreateClickBasedAudienceGroupResponse

                                                                                                                            namespace manageAudience.CreateClickBasedAudienceGroupResponse {}

                                                                                                                              type CreateRouteEnum

                                                                                                                              type CreateRouteEnum = 'MESSAGING_API';

                                                                                                                                type PermissionEnum

                                                                                                                                type PermissionEnum = 'READ' | 'READ_WRITE';

                                                                                                                                  namespace manageAudience.CreateImpBasedAudienceGroupResponse

                                                                                                                                  namespace manageAudience.CreateImpBasedAudienceGroupResponse {}

                                                                                                                                    namespace messagingApi

                                                                                                                                    module 'dist/messaging-api/api.d.ts' {}

                                                                                                                                      class MessagingApiBlobClient

                                                                                                                                      class MessagingApiBlobClient {}
                                                                                                                                      • See Also

                                                                                                                                      constructor

                                                                                                                                      constructor(config: httpClientConfig);

                                                                                                                                        method getMessageContent

                                                                                                                                        getMessageContent: (messageId: string) => Promise<Readable>;
                                                                                                                                        • Download image, video, and audio data sent from users.

                                                                                                                                          Parameter messageId

                                                                                                                                          Message ID of video or audio

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method getMessageContentPreview

                                                                                                                                        getMessageContentPreview: (messageId: string) => Promise<Readable>;
                                                                                                                                        • Get a preview image of the image or video

                                                                                                                                          Parameter messageId

                                                                                                                                          Message ID of image or video

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method getMessageContentPreviewWithHttpInfo

                                                                                                                                        getMessageContentPreviewWithHttpInfo: (
                                                                                                                                        messageId: string
                                                                                                                                        ) => Promise<Types.ApiResponseType<Readable>>;
                                                                                                                                        • Get a preview image of the image or video. This method includes HttpInfo object to return additional information.

                                                                                                                                          Parameter messageId

                                                                                                                                          Message ID of image or video

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method getMessageContentTranscodingByMessageId

                                                                                                                                        getMessageContentTranscodingByMessageId: (
                                                                                                                                        messageId: string
                                                                                                                                        ) => Promise<GetMessageContentTranscodingResponse>;
                                                                                                                                        • Verify the preparation status of a video or audio for getting

                                                                                                                                          Parameter messageId

                                                                                                                                          Message ID of video or audio

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method getMessageContentTranscodingByMessageIdWithHttpInfo

                                                                                                                                        getMessageContentTranscodingByMessageIdWithHttpInfo: (
                                                                                                                                        messageId: string
                                                                                                                                        ) => Promise<Types.ApiResponseType<GetMessageContentTranscodingResponse>>;
                                                                                                                                        • Verify the preparation status of a video or audio for getting. This method includes HttpInfo object to return additional information.

                                                                                                                                          Parameter messageId

                                                                                                                                          Message ID of video or audio

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method getMessageContentWithHttpInfo

                                                                                                                                        getMessageContentWithHttpInfo: (
                                                                                                                                        messageId: string
                                                                                                                                        ) => Promise<Types.ApiResponseType<Readable>>;
                                                                                                                                        • Download image, video, and audio data sent from users.. This method includes HttpInfo object to return additional information.

                                                                                                                                          Parameter messageId

                                                                                                                                          Message ID of video or audio

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method getRichMenuImage

                                                                                                                                        getRichMenuImage: (richMenuId: string) => Promise<Readable>;
                                                                                                                                        • Download rich menu image.

                                                                                                                                          Parameter richMenuId

                                                                                                                                          ID of the rich menu with the image to be downloaded

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method getRichMenuImageWithHttpInfo

                                                                                                                                        getRichMenuImageWithHttpInfo: (
                                                                                                                                        richMenuId: string
                                                                                                                                        ) => Promise<Types.ApiResponseType<Readable>>;
                                                                                                                                        • Download rich menu image.. This method includes HttpInfo object to return additional information.

                                                                                                                                          Parameter richMenuId

                                                                                                                                          ID of the rich menu with the image to be downloaded

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method setRichMenuImage

                                                                                                                                        setRichMenuImage: (
                                                                                                                                        richMenuId: string,
                                                                                                                                        body: Blob
                                                                                                                                        ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                        • Upload rich menu image

                                                                                                                                          Parameter richMenuId

                                                                                                                                          The ID of the rich menu to attach the image to

                                                                                                                                          Parameter body

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        method setRichMenuImageWithHttpInfo

                                                                                                                                        setRichMenuImageWithHttpInfo: (
                                                                                                                                        richMenuId: string,
                                                                                                                                        body: Blob
                                                                                                                                        ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                        • Upload rich menu image. This method includes HttpInfo object to return additional information.

                                                                                                                                          Parameter richMenuId

                                                                                                                                          The ID of the rich menu to attach the image to

                                                                                                                                          Parameter body

                                                                                                                                          See Also

                                                                                                                                          • Documentation

                                                                                                                                        class MessagingApiClient

                                                                                                                                        class MessagingApiClient {}
                                                                                                                                        • See Also

                                                                                                                                        constructor

                                                                                                                                        constructor(config: httpClientConfig);

                                                                                                                                          method broadcast

                                                                                                                                          broadcast: (
                                                                                                                                          broadcastRequest: BroadcastRequest,
                                                                                                                                          xLineRetryKey?: string
                                                                                                                                          ) => Promise<object>;
                                                                                                                                          • Sends a message to multiple users at any time.

                                                                                                                                            Parameter broadcastRequest

                                                                                                                                            Parameter xLineRetryKey

                                                                                                                                            Retry key. Specifies the UUID in hexadecimal format (e.g., 123e4567-e89b-12d3-a456-426614174000) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method broadcastWithHttpInfo

                                                                                                                                          broadcastWithHttpInfo: (
                                                                                                                                          broadcastRequest: BroadcastRequest,
                                                                                                                                          xLineRetryKey?: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<object>>;
                                                                                                                                          • Sends a message to multiple users at any time.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter broadcastRequest

                                                                                                                                            Parameter xLineRetryKey

                                                                                                                                            Retry key. Specifies the UUID in hexadecimal format (e.g., 123e4567-e89b-12d3-a456-426614174000) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method cancelDefaultRichMenu

                                                                                                                                          cancelDefaultRichMenu: () => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Cancel default rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method cancelDefaultRichMenuWithHttpInfo

                                                                                                                                          cancelDefaultRichMenuWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<Types.MessageAPIResponseBase>
                                                                                                                                          >;
                                                                                                                                          • Cancel default rich menu. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method closeCoupon

                                                                                                                                          closeCoupon: (couponId: string) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Close coupon

                                                                                                                                            Parameter couponId

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method closeCouponWithHttpInfo

                                                                                                                                          closeCouponWithHttpInfo: (
                                                                                                                                          couponId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Close coupon. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter couponId

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method createCoupon

                                                                                                                                          createCoupon: (
                                                                                                                                          couponCreateRequest?: CouponCreateRequest
                                                                                                                                          ) => Promise<CouponCreateResponse>;
                                                                                                                                          • Create a new coupon. Define coupon details such as type, title, and validity period.

                                                                                                                                            Parameter couponCreateRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method createCouponWithHttpInfo

                                                                                                                                          createCouponWithHttpInfo: (
                                                                                                                                          couponCreateRequest?: CouponCreateRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<CouponCreateResponse>>;
                                                                                                                                          • Create a new coupon. Define coupon details such as type, title, and validity period.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter couponCreateRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method createRichMenu

                                                                                                                                          createRichMenu: (
                                                                                                                                          richMenuRequest: RichMenuRequest
                                                                                                                                          ) => Promise<RichMenuIdResponse>;
                                                                                                                                          • Create rich menu

                                                                                                                                            Parameter richMenuRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method createRichMenuAlias

                                                                                                                                          createRichMenuAlias: (
                                                                                                                                          createRichMenuAliasRequest: CreateRichMenuAliasRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Create rich menu alias

                                                                                                                                            Parameter createRichMenuAliasRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method createRichMenuAliasWithHttpInfo

                                                                                                                                          createRichMenuAliasWithHttpInfo: (
                                                                                                                                          createRichMenuAliasRequest: CreateRichMenuAliasRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Create rich menu alias. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter createRichMenuAliasRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method createRichMenuWithHttpInfo

                                                                                                                                          createRichMenuWithHttpInfo: (
                                                                                                                                          richMenuRequest: RichMenuRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<RichMenuIdResponse>>;
                                                                                                                                          • Create rich menu. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method deleteRichMenu

                                                                                                                                          deleteRichMenu: (richMenuId: string) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Deletes a rich menu.

                                                                                                                                            Parameter richMenuId

                                                                                                                                            ID of a rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method deleteRichMenuAlias

                                                                                                                                          deleteRichMenuAlias: (
                                                                                                                                          richMenuAliasId: string
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Delete rich menu alias

                                                                                                                                            Parameter richMenuAliasId

                                                                                                                                            Rich menu alias ID that you want to delete.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method deleteRichMenuAliasWithHttpInfo

                                                                                                                                          deleteRichMenuAliasWithHttpInfo: (
                                                                                                                                          richMenuAliasId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Delete rich menu alias. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuAliasId

                                                                                                                                            Rich menu alias ID that you want to delete.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method deleteRichMenuWithHttpInfo

                                                                                                                                          deleteRichMenuWithHttpInfo: (
                                                                                                                                          richMenuId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Deletes a rich menu.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuId

                                                                                                                                            ID of a rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getAggregationUnitNameList

                                                                                                                                          getAggregationUnitNameList: (
                                                                                                                                          limit?: string,
                                                                                                                                          start?: string
                                                                                                                                          ) => Promise<GetAggregationUnitNameListResponse>;
                                                                                                                                          • Get name list of units used this month

                                                                                                                                            Parameter limit

                                                                                                                                            The maximum number of aggregation units you can get per request.

                                                                                                                                            Parameter start

                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getAggregationUnitNameListWithHttpInfo

                                                                                                                                          getAggregationUnitNameListWithHttpInfo: (
                                                                                                                                          limit?: string,
                                                                                                                                          start?: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<GetAggregationUnitNameListResponse>>;
                                                                                                                                          • Get name list of units used this month. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter limit

                                                                                                                                            The maximum number of aggregation units you can get per request.

                                                                                                                                            Parameter start

                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all the aggregation units in one request, include this parameter to get the remaining array.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getAggregationUnitUsage

                                                                                                                                          getAggregationUnitUsage: () => Promise<GetAggregationUnitUsageResponse>;
                                                                                                                                          • Get number of units used this month

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getAggregationUnitUsageWithHttpInfo

                                                                                                                                          getAggregationUnitUsageWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<GetAggregationUnitUsageResponse>
                                                                                                                                          >;
                                                                                                                                          • Get number of units used this month. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getBotInfo

                                                                                                                                          getBotInfo: () => Promise<BotInfoResponse>;
                                                                                                                                          • Get bot info

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getBotInfoWithHttpInfo

                                                                                                                                          getBotInfoWithHttpInfo: () => Promise<Types.ApiResponseType<BotInfoResponse>>;
                                                                                                                                          • Get bot info. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getCouponDetail

                                                                                                                                          getCouponDetail: (couponId: string) => Promise<CouponResponse>;
                                                                                                                                          • Get coupon detail

                                                                                                                                            Parameter couponId

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getCouponDetailWithHttpInfo

                                                                                                                                          getCouponDetailWithHttpInfo: (
                                                                                                                                          couponId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<CouponResponse>>;
                                                                                                                                          • Get coupon detail. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter couponId

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getDefaultRichMenuId

                                                                                                                                          getDefaultRichMenuId: () => Promise<RichMenuIdResponse>;
                                                                                                                                          • Gets the ID of the default rich menu set with the Messaging API.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getDefaultRichMenuIdWithHttpInfo

                                                                                                                                          getDefaultRichMenuIdWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<RichMenuIdResponse>
                                                                                                                                          >;
                                                                                                                                          • Gets the ID of the default rich menu set with the Messaging API.. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getFollowers

                                                                                                                                          getFollowers: (start?: string, limit?: number) => Promise<GetFollowersResponse>;
                                                                                                                                          • Get a list of users who added your LINE Official Account as a friend

                                                                                                                                            Parameter start

                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs.

                                                                                                                                            Parameter limit

                                                                                                                                            The maximum number of user IDs to retrieve in a single request.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getFollowersWithHttpInfo

                                                                                                                                          getFollowersWithHttpInfo: (
                                                                                                                                          start?: string,
                                                                                                                                          limit?: number
                                                                                                                                          ) => Promise<Types.ApiResponseType<GetFollowersResponse>>;
                                                                                                                                          • Get a list of users who added your LINE Official Account as a friend. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter start

                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs.

                                                                                                                                            Parameter limit

                                                                                                                                            The maximum number of user IDs to retrieve in a single request.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getGroupMemberCount

                                                                                                                                          getGroupMemberCount: (groupId: string) => Promise<GroupMemberCountResponse>;
                                                                                                                                          • Get number of users in a group chat

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getGroupMemberCountWithHttpInfo

                                                                                                                                          getGroupMemberCountWithHttpInfo: (
                                                                                                                                          groupId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<GroupMemberCountResponse>>;
                                                                                                                                          • Get number of users in a group chat. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getGroupMemberProfile

                                                                                                                                          getGroupMemberProfile: (
                                                                                                                                          groupId: string,
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<GroupUserProfileResponse>;
                                                                                                                                          • Get group chat member profile

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            Parameter userId

                                                                                                                                            User ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getGroupMemberProfileWithHttpInfo

                                                                                                                                          getGroupMemberProfileWithHttpInfo: (
                                                                                                                                          groupId: string,
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<GroupUserProfileResponse>>;
                                                                                                                                          • Get group chat member profile. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            Parameter userId

                                                                                                                                            User ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getGroupMembersIds

                                                                                                                                          getGroupMembersIds: (
                                                                                                                                          groupId: string,
                                                                                                                                          start?: string
                                                                                                                                          ) => Promise<MembersIdsResponse>;
                                                                                                                                          • Get group chat member user IDs

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            Parameter start

                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getGroupMembersIdsWithHttpInfo

                                                                                                                                          getGroupMembersIdsWithHttpInfo: (
                                                                                                                                          groupId: string,
                                                                                                                                          start?: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<MembersIdsResponse>>;
                                                                                                                                          • Get group chat member user IDs. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            Parameter start

                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getGroupSummary

                                                                                                                                          getGroupSummary: (groupId: string) => Promise<GroupSummaryResponse>;
                                                                                                                                          • Get group chat summary

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getGroupSummaryWithHttpInfo

                                                                                                                                          getGroupSummaryWithHttpInfo: (
                                                                                                                                          groupId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<GroupSummaryResponse>>;
                                                                                                                                          • Get group chat summary. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getJoinedMembershipUsers

                                                                                                                                          getJoinedMembershipUsers: (
                                                                                                                                          membershipId: number,
                                                                                                                                          start?: string,
                                                                                                                                          limit?: number
                                                                                                                                          ) => Promise<GetJoinedMembershipUsersResponse>;
                                                                                                                                          • Get a list of user IDs who joined the membership.

                                                                                                                                            Parameter membershipId

                                                                                                                                            Membership plan ID.

                                                                                                                                            Parameter start

                                                                                                                                            A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).

                                                                                                                                            Parameter limit

                                                                                                                                            The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getJoinedMembershipUsersWithHttpInfo

                                                                                                                                          getJoinedMembershipUsersWithHttpInfo: (
                                                                                                                                          membershipId: number,
                                                                                                                                          start?: string,
                                                                                                                                          limit?: number
                                                                                                                                          ) => Promise<Types.ApiResponseType<GetJoinedMembershipUsersResponse>>;
                                                                                                                                          • Get a list of user IDs who joined the membership.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter membershipId

                                                                                                                                            Membership plan ID.

                                                                                                                                            Parameter start

                                                                                                                                            A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).

                                                                                                                                            Parameter limit

                                                                                                                                            The max number of items to return for this API call. The value is set to 300 by default, but the max acceptable value is 1000.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getMembershipList

                                                                                                                                          getMembershipList: () => Promise<MembershipListResponse>;
                                                                                                                                          • Get a list of memberships.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getMembershipListWithHttpInfo

                                                                                                                                          getMembershipListWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<MembershipListResponse>
                                                                                                                                          >;
                                                                                                                                          • Get a list of memberships.. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getMembershipSubscription

                                                                                                                                          getMembershipSubscription: (
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<GetMembershipSubscriptionResponse>;
                                                                                                                                          • Get a user's membership subscription.

                                                                                                                                            Parameter userId

                                                                                                                                            User ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getMembershipSubscriptionWithHttpInfo

                                                                                                                                          getMembershipSubscriptionWithHttpInfo: (
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<GetMembershipSubscriptionResponse>>;
                                                                                                                                          • Get a user's membership subscription.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter userId

                                                                                                                                            User ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getMessageQuota

                                                                                                                                          getMessageQuota: () => Promise<MessageQuotaResponse>;
                                                                                                                                          • Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getMessageQuotaConsumption

                                                                                                                                          getMessageQuotaConsumption: () => Promise<QuotaConsumptionResponse>;
                                                                                                                                          • Gets the number of messages sent in the current month.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getMessageQuotaConsumptionWithHttpInfo

                                                                                                                                          getMessageQuotaConsumptionWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<QuotaConsumptionResponse>
                                                                                                                                          >;
                                                                                                                                          • Gets the number of messages sent in the current month.. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getMessageQuotaWithHttpInfo

                                                                                                                                          getMessageQuotaWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<MessageQuotaResponse>
                                                                                                                                          >;
                                                                                                                                          • Gets the target limit for sending messages in the current month. The total number of the free messages and the additional messages is returned.. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNarrowcastProgress

                                                                                                                                          getNarrowcastProgress: (
                                                                                                                                          requestId: string
                                                                                                                                          ) => Promise<NarrowcastProgressResponse>;
                                                                                                                                          • Gets the status of a narrowcast message.

                                                                                                                                            Parameter requestId

                                                                                                                                            The narrowcast message's request ID. Each Messaging API request has a request ID.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNarrowcastProgressWithHttpInfo

                                                                                                                                          getNarrowcastProgressWithHttpInfo: (
                                                                                                                                          requestId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<NarrowcastProgressResponse>>;
                                                                                                                                          • Gets the status of a narrowcast message.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter requestId

                                                                                                                                            The narrowcast message's request ID. Each Messaging API request has a request ID.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNumberOfSentBroadcastMessages

                                                                                                                                          getNumberOfSentBroadcastMessages: (
                                                                                                                                          date: string
                                                                                                                                          ) => Promise<NumberOfMessagesResponse>;
                                                                                                                                          • Get number of sent broadcast messages

                                                                                                                                            Parameter date

                                                                                                                                            Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNumberOfSentBroadcastMessagesWithHttpInfo

                                                                                                                                          getNumberOfSentBroadcastMessagesWithHttpInfo: (
                                                                                                                                          date: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
                                                                                                                                          • Get number of sent broadcast messages. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter date

                                                                                                                                            Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNumberOfSentMulticastMessages

                                                                                                                                          getNumberOfSentMulticastMessages: (
                                                                                                                                          date: string
                                                                                                                                          ) => Promise<NumberOfMessagesResponse>;
                                                                                                                                          • Get number of sent multicast messages

                                                                                                                                            Parameter date

                                                                                                                                            Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNumberOfSentMulticastMessagesWithHttpInfo

                                                                                                                                          getNumberOfSentMulticastMessagesWithHttpInfo: (
                                                                                                                                          date: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
                                                                                                                                          • Get number of sent multicast messages. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter date

                                                                                                                                            Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNumberOfSentPushMessages

                                                                                                                                          getNumberOfSentPushMessages: (date: string) => Promise<NumberOfMessagesResponse>;
                                                                                                                                          • Get number of sent push messages

                                                                                                                                            Parameter date

                                                                                                                                            Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNumberOfSentPushMessagesWithHttpInfo

                                                                                                                                          getNumberOfSentPushMessagesWithHttpInfo: (
                                                                                                                                          date: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
                                                                                                                                          • Get number of sent push messages. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter date

                                                                                                                                            Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNumberOfSentReplyMessages

                                                                                                                                          getNumberOfSentReplyMessages: (
                                                                                                                                          date: string
                                                                                                                                          ) => Promise<NumberOfMessagesResponse>;
                                                                                                                                          • Get number of sent reply messages

                                                                                                                                            Parameter date

                                                                                                                                            Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getNumberOfSentReplyMessagesWithHttpInfo

                                                                                                                                          getNumberOfSentReplyMessagesWithHttpInfo: (
                                                                                                                                          date: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
                                                                                                                                          • Get number of sent reply messages. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter date

                                                                                                                                            Date the messages were sent Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getPNPMessageStatistics

                                                                                                                                          getPNPMessageStatistics: (date: string) => Promise<NumberOfMessagesResponse>;
                                                                                                                                          • Get number of sent LINE notification messages

                                                                                                                                            Parameter date

                                                                                                                                            Date the message was sent Format: yyyyMMdd (Example:20211231) Time zone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getPNPMessageStatisticsWithHttpInfo

                                                                                                                                          getPNPMessageStatisticsWithHttpInfo: (
                                                                                                                                          date: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<NumberOfMessagesResponse>>;
                                                                                                                                          • Get number of sent LINE notification messages. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter date

                                                                                                                                            Date the message was sent Format: yyyyMMdd (Example:20211231) Time zone: UTC+9

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getProfile

                                                                                                                                          getProfile: (userId: string) => Promise<UserProfileResponse>;
                                                                                                                                          • Get profile

                                                                                                                                            Parameter userId

                                                                                                                                            User ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getProfileWithHttpInfo

                                                                                                                                          getProfileWithHttpInfo: (
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<UserProfileResponse>>;
                                                                                                                                          • Get profile. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter userId

                                                                                                                                            User ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenu

                                                                                                                                          getRichMenu: (richMenuId: string) => Promise<RichMenuResponse>;
                                                                                                                                          • Gets a rich menu via a rich menu ID.

                                                                                                                                            Parameter richMenuId

                                                                                                                                            ID of a rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuAlias

                                                                                                                                          getRichMenuAlias: (richMenuAliasId: string) => Promise<RichMenuAliasResponse>;
                                                                                                                                          • Get rich menu alias information

                                                                                                                                            Parameter richMenuAliasId

                                                                                                                                            The rich menu alias ID whose information you want to obtain.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuAliasList

                                                                                                                                          getRichMenuAliasList: () => Promise<RichMenuAliasListResponse>;
                                                                                                                                          • Get list of rich menu alias

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuAliasListWithHttpInfo

                                                                                                                                          getRichMenuAliasListWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<RichMenuAliasListResponse>
                                                                                                                                          >;
                                                                                                                                          • Get list of rich menu alias. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuAliasWithHttpInfo

                                                                                                                                          getRichMenuAliasWithHttpInfo: (
                                                                                                                                          richMenuAliasId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<RichMenuAliasResponse>>;
                                                                                                                                          • Get rich menu alias information. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuAliasId

                                                                                                                                            The rich menu alias ID whose information you want to obtain.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuBatchProgress

                                                                                                                                          getRichMenuBatchProgress: (
                                                                                                                                          requestId: string
                                                                                                                                          ) => Promise<RichMenuBatchProgressResponse>;
                                                                                                                                          • Get the status of Replace or unlink a linked rich menus in batches.

                                                                                                                                            Parameter requestId

                                                                                                                                            A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuBatchProgressWithHttpInfo

                                                                                                                                          getRichMenuBatchProgressWithHttpInfo: (
                                                                                                                                          requestId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<RichMenuBatchProgressResponse>>;
                                                                                                                                          • Get the status of Replace or unlink a linked rich menus in batches.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter requestId

                                                                                                                                            A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuIdOfUser

                                                                                                                                          getRichMenuIdOfUser: (userId: string) => Promise<RichMenuIdResponse>;
                                                                                                                                          • Get rich menu ID of user

                                                                                                                                            Parameter userId

                                                                                                                                            User ID. Found in the source object of webhook event objects. Do not use the LINE ID used in LINE.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuIdOfUserWithHttpInfo

                                                                                                                                          getRichMenuIdOfUserWithHttpInfo: (
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<RichMenuIdResponse>>;
                                                                                                                                          • Get rich menu ID of user. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter userId

                                                                                                                                            User ID. Found in the source object of webhook event objects. Do not use the LINE ID used in LINE.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuList

                                                                                                                                          getRichMenuList: () => Promise<RichMenuListResponse>;
                                                                                                                                          • Get rich menu list

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuListWithHttpInfo

                                                                                                                                          getRichMenuListWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<RichMenuListResponse>
                                                                                                                                          >;
                                                                                                                                          • Get rich menu list. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRichMenuWithHttpInfo

                                                                                                                                          getRichMenuWithHttpInfo: (
                                                                                                                                          richMenuId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<RichMenuResponse>>;
                                                                                                                                          • Gets a rich menu via a rich menu ID.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuId

                                                                                                                                            ID of a rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRoomMemberCount

                                                                                                                                          getRoomMemberCount: (roomId: string) => Promise<RoomMemberCountResponse>;
                                                                                                                                          • Get number of users in a multi-person chat

                                                                                                                                            Parameter roomId

                                                                                                                                            Room ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRoomMemberCountWithHttpInfo

                                                                                                                                          getRoomMemberCountWithHttpInfo: (
                                                                                                                                          roomId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<RoomMemberCountResponse>>;
                                                                                                                                          • Get number of users in a multi-person chat. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter roomId

                                                                                                                                            Room ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRoomMemberProfile

                                                                                                                                          getRoomMemberProfile: (
                                                                                                                                          roomId: string,
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<RoomUserProfileResponse>;
                                                                                                                                          • Get multi-person chat member profile

                                                                                                                                            Parameter roomId

                                                                                                                                            Room ID

                                                                                                                                            Parameter userId

                                                                                                                                            User ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRoomMemberProfileWithHttpInfo

                                                                                                                                          getRoomMemberProfileWithHttpInfo: (
                                                                                                                                          roomId: string,
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<RoomUserProfileResponse>>;
                                                                                                                                          • Get multi-person chat member profile. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter roomId

                                                                                                                                            Room ID

                                                                                                                                            Parameter userId

                                                                                                                                            User ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRoomMembersIds

                                                                                                                                          getRoomMembersIds: (
                                                                                                                                          roomId: string,
                                                                                                                                          start?: string
                                                                                                                                          ) => Promise<MembersIdsResponse>;
                                                                                                                                          • Get multi-person chat member user IDs

                                                                                                                                            Parameter roomId

                                                                                                                                            Room ID

                                                                                                                                            Parameter start

                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getRoomMembersIdsWithHttpInfo

                                                                                                                                          getRoomMembersIdsWithHttpInfo: (
                                                                                                                                          roomId: string,
                                                                                                                                          start?: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<MembersIdsResponse>>;
                                                                                                                                          • Get multi-person chat member user IDs. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter roomId

                                                                                                                                            Room ID

                                                                                                                                            Parameter start

                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs for the members of the group.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getWebhookEndpoint

                                                                                                                                          getWebhookEndpoint: () => Promise<GetWebhookEndpointResponse>;
                                                                                                                                          • Get webhook endpoint information

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method getWebhookEndpointWithHttpInfo

                                                                                                                                          getWebhookEndpointWithHttpInfo: () => Promise<
                                                                                                                                          Types.ApiResponseType<GetWebhookEndpointResponse>
                                                                                                                                          >;
                                                                                                                                          • Get webhook endpoint information. This method includes HttpInfo object to return additional information.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method issueLinkToken

                                                                                                                                          issueLinkToken: (userId: string) => Promise<IssueLinkTokenResponse>;
                                                                                                                                          • Issue link token

                                                                                                                                            Parameter userId

                                                                                                                                            User ID for the LINE account to be linked. Found in the source object of account link event objects. Do not use the LINE ID used in LINE.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method issueLinkTokenWithHttpInfo

                                                                                                                                          issueLinkTokenWithHttpInfo: (
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<IssueLinkTokenResponse>>;
                                                                                                                                          • Issue link token. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter userId

                                                                                                                                            User ID for the LINE account to be linked. Found in the source object of account link event objects. Do not use the LINE ID used in LINE.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method leaveGroup

                                                                                                                                          leaveGroup: (groupId: string) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Leave group chat

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method leaveGroupWithHttpInfo

                                                                                                                                          leaveGroupWithHttpInfo: (
                                                                                                                                          groupId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Leave group chat. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter groupId

                                                                                                                                            Group ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method leaveRoom

                                                                                                                                          leaveRoom: (roomId: string) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Leave multi-person chat

                                                                                                                                            Parameter roomId

                                                                                                                                            Room ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method leaveRoomWithHttpInfo

                                                                                                                                          leaveRoomWithHttpInfo: (
                                                                                                                                          roomId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Leave multi-person chat. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter roomId

                                                                                                                                            Room ID

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method linkRichMenuIdToUser

                                                                                                                                          linkRichMenuIdToUser: (
                                                                                                                                          userId: string,
                                                                                                                                          richMenuId: string
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Link rich menu to user.

                                                                                                                                            Parameter userId

                                                                                                                                            User ID. Found in the source object of webhook event objects. Do not use the LINE ID used in LINE.

                                                                                                                                            Parameter richMenuId

                                                                                                                                            ID of a rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method linkRichMenuIdToUsers

                                                                                                                                          linkRichMenuIdToUsers: (
                                                                                                                                          richMenuBulkLinkRequest: RichMenuBulkLinkRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Link rich menu to multiple users

                                                                                                                                            Parameter richMenuBulkLinkRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method linkRichMenuIdToUsersWithHttpInfo

                                                                                                                                          linkRichMenuIdToUsersWithHttpInfo: (
                                                                                                                                          richMenuBulkLinkRequest: RichMenuBulkLinkRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Link rich menu to multiple users. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuBulkLinkRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method linkRichMenuIdToUserWithHttpInfo

                                                                                                                                          linkRichMenuIdToUserWithHttpInfo: (
                                                                                                                                          userId: string,
                                                                                                                                          richMenuId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Link rich menu to user.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter userId

                                                                                                                                            User ID. Found in the source object of webhook event objects. Do not use the LINE ID used in LINE.

                                                                                                                                            Parameter richMenuId

                                                                                                                                            ID of a rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method listCoupon

                                                                                                                                          listCoupon: (
                                                                                                                                          status?: Set<'DRAFT' | 'RUNNING' | 'CLOSED'>,
                                                                                                                                          start?: string,
                                                                                                                                          limit?: number
                                                                                                                                          ) => Promise<MessagingApiPagerCouponListResponse>;
                                                                                                                                          • Get a paginated list of coupons.

                                                                                                                                            Parameter status

                                                                                                                                            Filter coupons by their status.

                                                                                                                                            Parameter start

                                                                                                                                            Pagination token to retrieve the next page of results.

                                                                                                                                            Parameter limit

                                                                                                                                            Maximum number of coupons to return per request.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method listCouponWithHttpInfo

                                                                                                                                          listCouponWithHttpInfo: (
                                                                                                                                          status?: Set<'DRAFT' | 'RUNNING' | 'CLOSED'>,
                                                                                                                                          start?: string,
                                                                                                                                          limit?: number
                                                                                                                                          ) => Promise<Types.ApiResponseType<MessagingApiPagerCouponListResponse>>;
                                                                                                                                          • Get a paginated list of coupons.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter status

                                                                                                                                            Filter coupons by their status.

                                                                                                                                            Parameter start

                                                                                                                                            Pagination token to retrieve the next page of results.

                                                                                                                                            Parameter limit

                                                                                                                                            Maximum number of coupons to return per request.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method markMessagesAsRead

                                                                                                                                          markMessagesAsRead: (
                                                                                                                                          markMessagesAsReadRequest: MarkMessagesAsReadRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Mark messages from users as read

                                                                                                                                            Parameter markMessagesAsReadRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method markMessagesAsReadByToken

                                                                                                                                          markMessagesAsReadByToken: (
                                                                                                                                          markMessagesAsReadByTokenRequest: MarkMessagesAsReadByTokenRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Mark messages from users as read by token

                                                                                                                                            Parameter markMessagesAsReadByTokenRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method markMessagesAsReadByTokenWithHttpInfo

                                                                                                                                          markMessagesAsReadByTokenWithHttpInfo: (
                                                                                                                                          markMessagesAsReadByTokenRequest: MarkMessagesAsReadByTokenRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Mark messages from users as read by token. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter markMessagesAsReadByTokenRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method markMessagesAsReadWithHttpInfo

                                                                                                                                          markMessagesAsReadWithHttpInfo: (
                                                                                                                                          markMessagesAsReadRequest: MarkMessagesAsReadRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Mark messages from users as read. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter markMessagesAsReadRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method multicast

                                                                                                                                          multicast: (
                                                                                                                                          multicastRequest: MulticastRequest,
                                                                                                                                          xLineRetryKey?: string
                                                                                                                                          ) => Promise<object>;
                                                                                                                                          • An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.

                                                                                                                                            Parameter multicastRequest

                                                                                                                                            Parameter xLineRetryKey

                                                                                                                                            Retry key. Specifies the UUID in hexadecimal format (e.g., 123e4567-e89b-12d3-a456-426614174000) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method multicastWithHttpInfo

                                                                                                                                          multicastWithHttpInfo: (
                                                                                                                                          multicastRequest: MulticastRequest,
                                                                                                                                          xLineRetryKey?: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<object>>;
                                                                                                                                          • An API that efficiently sends the same message to multiple user IDs. You can't send messages to group chats or multi-person chats.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter multicastRequest

                                                                                                                                            Parameter xLineRetryKey

                                                                                                                                            Retry key. Specifies the UUID in hexadecimal format (e.g., 123e4567-e89b-12d3-a456-426614174000) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method narrowcast

                                                                                                                                          narrowcast: (
                                                                                                                                          narrowcastRequest: NarrowcastRequest,
                                                                                                                                          xLineRetryKey?: string
                                                                                                                                          ) => Promise<object>;
                                                                                                                                          • Send narrowcast message

                                                                                                                                            Parameter narrowcastRequest

                                                                                                                                            Parameter xLineRetryKey

                                                                                                                                            Retry key. Specifies the UUID in hexadecimal format (e.g., 123e4567-e89b-12d3-a456-426614174000) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method narrowcastWithHttpInfo

                                                                                                                                          narrowcastWithHttpInfo: (
                                                                                                                                          narrowcastRequest: NarrowcastRequest,
                                                                                                                                          xLineRetryKey?: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<object>>;
                                                                                                                                          • Send narrowcast message. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter narrowcastRequest

                                                                                                                                            Parameter xLineRetryKey

                                                                                                                                            Retry key. Specifies the UUID in hexadecimal format (e.g., 123e4567-e89b-12d3-a456-426614174000) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method pushMessage

                                                                                                                                          pushMessage: (
                                                                                                                                          pushMessageRequest: PushMessageRequest,
                                                                                                                                          xLineRetryKey?: string
                                                                                                                                          ) => Promise<PushMessageResponse>;
                                                                                                                                          • Sends a message to a user, group chat, or multi-person chat at any time.

                                                                                                                                            Parameter pushMessageRequest

                                                                                                                                            Parameter xLineRetryKey

                                                                                                                                            Retry key. Specifies the UUID in hexadecimal format (e.g., 123e4567-e89b-12d3-a456-426614174000) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method pushMessagesByPhone

                                                                                                                                          pushMessagesByPhone: (
                                                                                                                                          pnpMessagesRequest: PnpMessagesRequest,
                                                                                                                                          xLineDeliveryTag?: string
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Send LINE notification message

                                                                                                                                            Parameter pnpMessagesRequest

                                                                                                                                            Parameter xLineDeliveryTag

                                                                                                                                            String returned in the delivery.data property of the delivery completion event via Webhook.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method pushMessagesByPhoneWithHttpInfo

                                                                                                                                          pushMessagesByPhoneWithHttpInfo: (
                                                                                                                                          pnpMessagesRequest: PnpMessagesRequest,
                                                                                                                                          xLineDeliveryTag?: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Send LINE notification message. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter pnpMessagesRequest

                                                                                                                                            Parameter xLineDeliveryTag

                                                                                                                                            String returned in the delivery.data property of the delivery completion event via Webhook.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method pushMessageWithHttpInfo

                                                                                                                                          pushMessageWithHttpInfo: (
                                                                                                                                          pushMessageRequest: PushMessageRequest,
                                                                                                                                          xLineRetryKey?: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<PushMessageResponse>>;
                                                                                                                                          • Sends a message to a user, group chat, or multi-person chat at any time.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter pushMessageRequest

                                                                                                                                            Parameter xLineRetryKey

                                                                                                                                            Retry key. Specifies the UUID in hexadecimal format (e.g., 123e4567-e89b-12d3-a456-426614174000) generated by any method. The retry key isn't generated by LINE. Each developer must generate their own retry key.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method replyMessage

                                                                                                                                          replyMessage: (
                                                                                                                                          replyMessageRequest: ReplyMessageRequest
                                                                                                                                          ) => Promise<ReplyMessageResponse>;
                                                                                                                                          • Send reply message

                                                                                                                                            Parameter replyMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method replyMessageWithHttpInfo

                                                                                                                                          replyMessageWithHttpInfo: (
                                                                                                                                          replyMessageRequest: ReplyMessageRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<ReplyMessageResponse>>;
                                                                                                                                          • Send reply message. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter replyMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method richMenuBatch

                                                                                                                                          richMenuBatch: (
                                                                                                                                          richMenuBatchRequest: RichMenuBatchRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu

                                                                                                                                            Parameter richMenuBatchRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method richMenuBatchWithHttpInfo

                                                                                                                                          richMenuBatchWithHttpInfo: (
                                                                                                                                          richMenuBatchRequest: RichMenuBatchRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu . This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuBatchRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method setDefaultRichMenu

                                                                                                                                          setDefaultRichMenu: (
                                                                                                                                          richMenuId: string
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Set default rich menu

                                                                                                                                            Parameter richMenuId

                                                                                                                                            ID of a rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method setDefaultRichMenuWithHttpInfo

                                                                                                                                          setDefaultRichMenuWithHttpInfo: (
                                                                                                                                          richMenuId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Set default rich menu. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuId

                                                                                                                                            ID of a rich menu

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method setWebhookEndpoint

                                                                                                                                          setWebhookEndpoint: (
                                                                                                                                          setWebhookEndpointRequest: SetWebhookEndpointRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Set webhook endpoint URL

                                                                                                                                            Parameter setWebhookEndpointRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method setWebhookEndpointWithHttpInfo

                                                                                                                                          setWebhookEndpointWithHttpInfo: (
                                                                                                                                          setWebhookEndpointRequest: SetWebhookEndpointRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Set webhook endpoint URL. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter setWebhookEndpointRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method showLoadingAnimation

                                                                                                                                          showLoadingAnimation: (
                                                                                                                                          showLoadingAnimationRequest: ShowLoadingAnimationRequest
                                                                                                                                          ) => Promise<object>;
                                                                                                                                          • Display a loading animation in one-on-one chats between users and LINE Official Accounts.

                                                                                                                                            Parameter showLoadingAnimationRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method showLoadingAnimationWithHttpInfo

                                                                                                                                          showLoadingAnimationWithHttpInfo: (
                                                                                                                                          showLoadingAnimationRequest: ShowLoadingAnimationRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<object>>;
                                                                                                                                          • Display a loading animation in one-on-one chats between users and LINE Official Accounts.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter showLoadingAnimationRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method testWebhookEndpoint

                                                                                                                                          testWebhookEndpoint: (
                                                                                                                                          testWebhookEndpointRequest?: TestWebhookEndpointRequest
                                                                                                                                          ) => Promise<TestWebhookEndpointResponse>;
                                                                                                                                          • Test webhook endpoint

                                                                                                                                            Parameter testWebhookEndpointRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method testWebhookEndpointWithHttpInfo

                                                                                                                                          testWebhookEndpointWithHttpInfo: (
                                                                                                                                          testWebhookEndpointRequest?: TestWebhookEndpointRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<TestWebhookEndpointResponse>>;
                                                                                                                                          • Test webhook endpoint. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter testWebhookEndpointRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method unlinkRichMenuIdFromUser

                                                                                                                                          unlinkRichMenuIdFromUser: (
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Unlink rich menu from user

                                                                                                                                            Parameter userId

                                                                                                                                            User ID. Found in the source object of webhook event objects. Do not use the LINE ID used in LINE.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method unlinkRichMenuIdFromUsers

                                                                                                                                          unlinkRichMenuIdFromUsers: (
                                                                                                                                          richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Unlink rich menus from multiple users

                                                                                                                                            Parameter richMenuBulkUnlinkRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method unlinkRichMenuIdFromUsersWithHttpInfo

                                                                                                                                          unlinkRichMenuIdFromUsersWithHttpInfo: (
                                                                                                                                          richMenuBulkUnlinkRequest: RichMenuBulkUnlinkRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Unlink rich menus from multiple users. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuBulkUnlinkRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method unlinkRichMenuIdFromUserWithHttpInfo

                                                                                                                                          unlinkRichMenuIdFromUserWithHttpInfo: (
                                                                                                                                          userId: string
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Unlink rich menu from user. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter userId

                                                                                                                                            User ID. Found in the source object of webhook event objects. Do not use the LINE ID used in LINE.

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method updateRichMenuAlias

                                                                                                                                          updateRichMenuAlias: (
                                                                                                                                          richMenuAliasId: string,
                                                                                                                                          updateRichMenuAliasRequest: UpdateRichMenuAliasRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Update rich menu alias

                                                                                                                                            Parameter richMenuAliasId

                                                                                                                                            The rich menu alias ID you want to update.

                                                                                                                                            Parameter updateRichMenuAliasRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method updateRichMenuAliasWithHttpInfo

                                                                                                                                          updateRichMenuAliasWithHttpInfo: (
                                                                                                                                          richMenuAliasId: string,
                                                                                                                                          updateRichMenuAliasRequest: UpdateRichMenuAliasRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Update rich menu alias. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuAliasId

                                                                                                                                            The rich menu alias ID you want to update.

                                                                                                                                            Parameter updateRichMenuAliasRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateBroadcast

                                                                                                                                          validateBroadcast: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Validate message objects of a broadcast message

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateBroadcastWithHttpInfo

                                                                                                                                          validateBroadcastWithHttpInfo: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Validate message objects of a broadcast message. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateMulticast

                                                                                                                                          validateMulticast: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Validate message objects of a multicast message

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateMulticastWithHttpInfo

                                                                                                                                          validateMulticastWithHttpInfo: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Validate message objects of a multicast message. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateNarrowcast

                                                                                                                                          validateNarrowcast: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Validate message objects of a narrowcast message

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateNarrowcastWithHttpInfo

                                                                                                                                          validateNarrowcastWithHttpInfo: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Validate message objects of a narrowcast message. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validatePush

                                                                                                                                          validatePush: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Validate message objects of a push message

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validatePushWithHttpInfo

                                                                                                                                          validatePushWithHttpInfo: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Validate message objects of a push message. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateReply

                                                                                                                                          validateReply: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Validate message objects of a reply message

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateReplyWithHttpInfo

                                                                                                                                          validateReplyWithHttpInfo: (
                                                                                                                                          validateMessageRequest: ValidateMessageRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Validate message objects of a reply message. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter validateMessageRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateRichMenuBatchRequest

                                                                                                                                          validateRichMenuBatchRequest: (
                                                                                                                                          richMenuBatchRequest: RichMenuBatchRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.

                                                                                                                                            Parameter richMenuBatchRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateRichMenuBatchRequestWithHttpInfo

                                                                                                                                          validateRichMenuBatchRequestWithHttpInfo: (
                                                                                                                                          richMenuBatchRequest: RichMenuBatchRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Validate a request body of the Replace or unlink the linked rich menus in batches endpoint.. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuBatchRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateRichMenuObject

                                                                                                                                          validateRichMenuObject: (
                                                                                                                                          richMenuRequest: RichMenuRequest
                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                          • Validate rich menu object

                                                                                                                                            Parameter richMenuRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          method validateRichMenuObjectWithHttpInfo

                                                                                                                                          validateRichMenuObjectWithHttpInfo: (
                                                                                                                                          richMenuRequest: RichMenuRequest
                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                          • Validate rich menu object. This method includes HttpInfo object to return additional information.

                                                                                                                                            Parameter richMenuRequest

                                                                                                                                            See Also

                                                                                                                                            • Documentation

                                                                                                                                          type AcquisitionConditionRequest

                                                                                                                                          type AcquisitionConditionRequest =
                                                                                                                                          | LotteryAcquisitionConditionRequest
                                                                                                                                          | NormalAcquisitionConditionRequest;

                                                                                                                                            type AcquisitionConditionRequestBase

                                                                                                                                            type AcquisitionConditionRequestBase = {
                                                                                                                                            /**
                                                                                                                                            * Determines how the coupon is distributed or used.
                                                                                                                                            */
                                                                                                                                            type: string;
                                                                                                                                            };

                                                                                                                                              type AcquisitionConditionResponse

                                                                                                                                              type AcquisitionConditionResponse =
                                                                                                                                              | LotteryAcquisitionConditionResponse
                                                                                                                                              | NormalAcquisitionConditionResponse
                                                                                                                                              | ReferralAcquisitionConditionResponse;

                                                                                                                                                type AcquisitionConditionResponseBase

                                                                                                                                                type AcquisitionConditionResponseBase = {
                                                                                                                                                /**
                                                                                                                                                * Determines how the coupon is distributed or used.
                                                                                                                                                */
                                                                                                                                                type: string;
                                                                                                                                                };

                                                                                                                                                  type Action

                                                                                                                                                  type Action =
                                                                                                                                                  | CameraAction
                                                                                                                                                  | CameraRollAction
                                                                                                                                                  | ClipboardAction
                                                                                                                                                  | DatetimePickerAction
                                                                                                                                                  | LocationAction
                                                                                                                                                  | MessageAction
                                                                                                                                                  | PostbackAction
                                                                                                                                                  | RichMenuSwitchAction
                                                                                                                                                  | URIAction;
                                                                                                                                                  • Action

                                                                                                                                                    See Also

                                                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#action-objects

                                                                                                                                                  type ActionBase

                                                                                                                                                  type ActionBase = {
                                                                                                                                                  /**
                                                                                                                                                  * Type of action
                                                                                                                                                  */
                                                                                                                                                  type?: string;
                                                                                                                                                  /**
                                                                                                                                                  * Label for the action.
                                                                                                                                                  */
                                                                                                                                                  label?: string;
                                                                                                                                                  };

                                                                                                                                                    type AgeDemographic

                                                                                                                                                    type AgeDemographic =
                                                                                                                                                    | 'age_15'
                                                                                                                                                    | 'age_20'
                                                                                                                                                    | 'age_25'
                                                                                                                                                    | 'age_30'
                                                                                                                                                    | 'age_35'
                                                                                                                                                    | 'age_40'
                                                                                                                                                    | 'age_45'
                                                                                                                                                    | 'age_50'
                                                                                                                                                    | 'age_55'
                                                                                                                                                    | 'age_60'
                                                                                                                                                    | 'age_65'
                                                                                                                                                    | 'age_70';
                                                                                                                                                    • 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.

                                                                                                                                                    type AgeDemographicFilter

                                                                                                                                                    type AgeDemographicFilter = DemographicFilterBase & {
                                                                                                                                                    type: 'age';
                                                                                                                                                    gte?: AgeDemographic;
                                                                                                                                                    lt?: AgeDemographic;
                                                                                                                                                    };

                                                                                                                                                      type AllMentionTarget

                                                                                                                                                      type AllMentionTarget = MentionTargetBase & {
                                                                                                                                                      type: 'all';
                                                                                                                                                      };
                                                                                                                                                      • See Also

                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#text-message-v2-mentionee-all

                                                                                                                                                      type AltUri

                                                                                                                                                      type AltUri = {
                                                                                                                                                      /**
                                                                                                                                                      * @minLength 0
                                                                                                                                                      * @maxLength 1000
                                                                                                                                                      */
                                                                                                                                                      desktop?: string;
                                                                                                                                                      };
                                                                                                                                                      • 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.

                                                                                                                                                      type AppTypeDemographic

                                                                                                                                                      type AppTypeDemographic = 'ios' | 'android';
                                                                                                                                                      • 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.

                                                                                                                                                      type AppTypeDemographicFilter

                                                                                                                                                      type AppTypeDemographicFilter = DemographicFilterBase & {
                                                                                                                                                      type: 'appType';
                                                                                                                                                      oneOf?: Array<AppTypeDemographic>;
                                                                                                                                                      };

                                                                                                                                                        type AreaDemographic

                                                                                                                                                        type AreaDemographic =
                                                                                                                                                        | 'jp_01'
                                                                                                                                                        | 'jp_02'
                                                                                                                                                        | 'jp_03'
                                                                                                                                                        | 'jp_04'
                                                                                                                                                        | 'jp_05'
                                                                                                                                                        | 'jp_06'
                                                                                                                                                        | 'jp_07'
                                                                                                                                                        | 'jp_08'
                                                                                                                                                        | 'jp_09'
                                                                                                                                                        | 'jp_10'
                                                                                                                                                        | 'jp_11'
                                                                                                                                                        | 'jp_12'
                                                                                                                                                        | 'jp_13'
                                                                                                                                                        | 'jp_14'
                                                                                                                                                        | 'jp_15'
                                                                                                                                                        | 'jp_16'
                                                                                                                                                        | 'jp_17'
                                                                                                                                                        | 'jp_18'
                                                                                                                                                        | 'jp_19'
                                                                                                                                                        | 'jp_20'
                                                                                                                                                        | 'jp_21'
                                                                                                                                                        | 'jp_22'
                                                                                                                                                        | 'jp_23'
                                                                                                                                                        | 'jp_24'
                                                                                                                                                        | 'jp_25'
                                                                                                                                                        | 'jp_26'
                                                                                                                                                        | 'jp_27'
                                                                                                                                                        | 'jp_28'
                                                                                                                                                        | 'jp_29'
                                                                                                                                                        | 'jp_30'
                                                                                                                                                        | 'jp_31'
                                                                                                                                                        | 'jp_32'
                                                                                                                                                        | 'jp_33'
                                                                                                                                                        | 'jp_34'
                                                                                                                                                        | 'jp_35'
                                                                                                                                                        | 'jp_36'
                                                                                                                                                        | 'jp_37'
                                                                                                                                                        | 'jp_38'
                                                                                                                                                        | 'jp_39'
                                                                                                                                                        | 'jp_40'
                                                                                                                                                        | 'jp_41'
                                                                                                                                                        | 'jp_42'
                                                                                                                                                        | 'jp_43'
                                                                                                                                                        | 'jp_44'
                                                                                                                                                        | 'jp_45'
                                                                                                                                                        | 'jp_46'
                                                                                                                                                        | 'jp_47'
                                                                                                                                                        | 'tw_01'
                                                                                                                                                        | 'tw_02'
                                                                                                                                                        | 'tw_03'
                                                                                                                                                        | 'tw_04'
                                                                                                                                                        | 'tw_05'
                                                                                                                                                        | 'tw_06'
                                                                                                                                                        | 'tw_07'
                                                                                                                                                        | 'tw_08'
                                                                                                                                                        | 'tw_09'
                                                                                                                                                        | 'tw_10'
                                                                                                                                                        | 'tw_11'
                                                                                                                                                        | 'tw_12'
                                                                                                                                                        | 'tw_13'
                                                                                                                                                        | 'tw_14'
                                                                                                                                                        | 'tw_15'
                                                                                                                                                        | 'tw_16'
                                                                                                                                                        | 'tw_17'
                                                                                                                                                        | 'tw_18'
                                                                                                                                                        | 'tw_19'
                                                                                                                                                        | 'tw_20'
                                                                                                                                                        | 'tw_21'
                                                                                                                                                        | 'tw_22'
                                                                                                                                                        | 'th_01'
                                                                                                                                                        | 'th_02'
                                                                                                                                                        | 'th_03'
                                                                                                                                                        | 'th_04'
                                                                                                                                                        | 'th_05'
                                                                                                                                                        | 'th_06'
                                                                                                                                                        | 'th_07'
                                                                                                                                                        | 'th_08'
                                                                                                                                                        | 'id_01'
                                                                                                                                                        | 'id_02'
                                                                                                                                                        | 'id_03'
                                                                                                                                                        | 'id_04'
                                                                                                                                                        | 'id_05'
                                                                                                                                                        | 'id_06'
                                                                                                                                                        | 'id_07'
                                                                                                                                                        | 'id_08'
                                                                                                                                                        | 'id_09'
                                                                                                                                                        | 'id_10'
                                                                                                                                                        | 'id_11'
                                                                                                                                                        | 'id_12';
                                                                                                                                                        • See Also

                                                                                                                                                          • https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message

                                                                                                                                                        type AreaDemographicFilter

                                                                                                                                                        type AreaDemographicFilter = DemographicFilterBase & {
                                                                                                                                                        type: 'area';
                                                                                                                                                        oneOf?: Array<AreaDemographic>;
                                                                                                                                                        };

                                                                                                                                                          type AudienceRecipient

                                                                                                                                                          type AudienceRecipient = RecipientBase & {
                                                                                                                                                          type: 'audience';
                                                                                                                                                          audienceGroupId?: number;
                                                                                                                                                          };

                                                                                                                                                            type AudioMessage

                                                                                                                                                            type AudioMessage = MessageBase & {
                                                                                                                                                            type: 'audio';
                                                                                                                                                            originalContentUrl: string;
                                                                                                                                                            duration: number;
                                                                                                                                                            };
                                                                                                                                                            • See Also

                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#audio-message

                                                                                                                                                            type BotInfoResponse

                                                                                                                                                            type BotInfoResponse = {
                                                                                                                                                            /**
                                                                                                                                                            * Bot's user ID
                                                                                                                                                            */
                                                                                                                                                            userId: string;
                                                                                                                                                            /**
                                                                                                                                                            * Bot's basic ID
                                                                                                                                                            */
                                                                                                                                                            basicId: string;
                                                                                                                                                            /**
                                                                                                                                                            * Bot's premium ID. Not included in the response if the premium ID isn't set.
                                                                                                                                                            */
                                                                                                                                                            premiumId?: string;
                                                                                                                                                            /**
                                                                                                                                                            * Bot's display name
                                                                                                                                                            */
                                                                                                                                                            displayName: string;
                                                                                                                                                            /**
                                                                                                                                                            * Profile image URL. `https` image URL. Not included in the response if the bot doesn't have a profile image.
                                                                                                                                                            */
                                                                                                                                                            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\".
                                                                                                                                                            */
                                                                                                                                                            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.
                                                                                                                                                            */
                                                                                                                                                            markAsReadMode: BotInfoResponse.MarkAsReadModeEnum;
                                                                                                                                                            };
                                                                                                                                                            • See Also

                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-bot-info

                                                                                                                                                            type BroadcastRequest

                                                                                                                                                            type BroadcastRequest = {
                                                                                                                                                            /**
                                                                                                                                                            * List of Message objects.
                                                                                                                                                            * @minItems 1
                                                                                                                                                            * @maxItems 5
                                                                                                                                                            */
                                                                                                                                                            messages: Array<Message>;
                                                                                                                                                            /**
                                                                                                                                                            * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
                                                                                                                                                            * @default false
                                                                                                                                                            */
                                                                                                                                                            notificationDisabled?: boolean;
                                                                                                                                                            };
                                                                                                                                                            • See Also

                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message

                                                                                                                                                            type ButtonsTemplate

                                                                                                                                                            type ButtonsTemplate = TemplateBase & {
                                                                                                                                                            type: 'buttons';
                                                                                                                                                            thumbnailImageUrl?: string;
                                                                                                                                                            imageAspectRatio?: string;
                                                                                                                                                            imageSize?: string;
                                                                                                                                                            imageBackgroundColor?: string;
                                                                                                                                                            title?: string;
                                                                                                                                                            text: string;
                                                                                                                                                            defaultAction?: Action;
                                                                                                                                                            actions: Array<Action>;
                                                                                                                                                            };

                                                                                                                                                              type CameraAction

                                                                                                                                                              type CameraAction = ActionBase & {
                                                                                                                                                              type: 'camera';
                                                                                                                                                              };

                                                                                                                                                                type CameraRollAction

                                                                                                                                                                type CameraRollAction = ActionBase & {
                                                                                                                                                                type: 'cameraRoll';
                                                                                                                                                                };

                                                                                                                                                                  type CarouselColumn

                                                                                                                                                                  type CarouselColumn = {
                                                                                                                                                                  thumbnailImageUrl?: string;
                                                                                                                                                                  imageBackgroundColor?: string;
                                                                                                                                                                  title?: string;
                                                                                                                                                                  text: string;
                                                                                                                                                                  defaultAction?: Action;
                                                                                                                                                                  actions: Array<Action>;
                                                                                                                                                                  };
                                                                                                                                                                  • Column object for carousel template.

                                                                                                                                                                  type CarouselTemplate

                                                                                                                                                                  type CarouselTemplate = TemplateBase & {
                                                                                                                                                                  type: 'carousel';
                                                                                                                                                                  columns: Array<CarouselColumn>;
                                                                                                                                                                  imageAspectRatio?: string;
                                                                                                                                                                  imageSize?: string;
                                                                                                                                                                  };

                                                                                                                                                                    type CashBackFixedPriceInfoRequest

                                                                                                                                                                    type CashBackFixedPriceInfoRequest = CashBackPriceInfoRequestBase & {
                                                                                                                                                                    type: 'fixed';
                                                                                                                                                                    fixedAmount?: number;
                                                                                                                                                                    };

                                                                                                                                                                      type CashBackFixedPriceInfoResponse

                                                                                                                                                                      type CashBackFixedPriceInfoResponse = CashBackPriceInfoResponseBase & {
                                                                                                                                                                      type: 'fixed';
                                                                                                                                                                      /**
                                                                                                                                                                      * Currency code (e.g., JPY, THB, TWD).
                                                                                                                                                                      */
                                                                                                                                                                      currency?: CashBackFixedPriceInfoResponse.CurrencyEnum;
                                                                                                                                                                      fixedAmount?: number;
                                                                                                                                                                      };

                                                                                                                                                                        type CashBackPercentagePriceInfoRequest

                                                                                                                                                                        type CashBackPercentagePriceInfoRequest = CashBackPriceInfoRequestBase & {
                                                                                                                                                                        type: 'percentage';
                                                                                                                                                                        /**
                                                                                                                                                                        * Specifies the cashback rate as a percentage. Must be an integer between 1 and 99.
                                                                                                                                                                        * @minimum 1
                                                                                                                                                                        * @maximum 99
                                                                                                                                                                        */
                                                                                                                                                                        percentage?: number;
                                                                                                                                                                        };

                                                                                                                                                                          type CashBackPercentagePriceInfoResponse

                                                                                                                                                                          type CashBackPercentagePriceInfoResponse = CashBackPriceInfoResponseBase & {
                                                                                                                                                                          type: 'percentage';
                                                                                                                                                                          percentage?: number;
                                                                                                                                                                          };

                                                                                                                                                                            type CashBackPriceInfoRequest

                                                                                                                                                                            type CashBackPriceInfoRequest =
                                                                                                                                                                            | CashBackFixedPriceInfoRequest
                                                                                                                                                                            | CashBackPercentagePriceInfoRequest;

                                                                                                                                                                              type CashBackPriceInfoRequestBase

                                                                                                                                                                              type CashBackPriceInfoRequestBase = {
                                                                                                                                                                              type: string;
                                                                                                                                                                              };

                                                                                                                                                                                type CashBackPriceInfoResponse

                                                                                                                                                                                type CashBackPriceInfoResponse =
                                                                                                                                                                                | CashBackFixedPriceInfoResponse
                                                                                                                                                                                | CashBackPercentagePriceInfoResponse;

                                                                                                                                                                                  type CashBackPriceInfoResponseBase

                                                                                                                                                                                  type CashBackPriceInfoResponseBase = {
                                                                                                                                                                                  type: string;
                                                                                                                                                                                  };

                                                                                                                                                                                    type ChatReference

                                                                                                                                                                                    type ChatReference = {
                                                                                                                                                                                    /**
                                                                                                                                                                                    * The target user ID
                                                                                                                                                                                    */
                                                                                                                                                                                    userId: string;
                                                                                                                                                                                    };
                                                                                                                                                                                    • Chat reference

                                                                                                                                                                                      See Also

                                                                                                                                                                                      • https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read

                                                                                                                                                                                    type ClipboardAction

                                                                                                                                                                                    type ClipboardAction = ActionBase & {
                                                                                                                                                                                    type: 'clipboard';
                                                                                                                                                                                    /**
                                                                                                                                                                                    * Text that is copied to the clipboard. Max character limit: 1000
                                                                                                                                                                                    * @minLength 1
                                                                                                                                                                                    * @maxLength 1000
                                                                                                                                                                                    */
                                                                                                                                                                                    clipboardText: string;
                                                                                                                                                                                    };
                                                                                                                                                                                    • See Also

                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#clipboard-action

                                                                                                                                                                                    type ClipboardImagemapAction

                                                                                                                                                                                    type ClipboardImagemapAction = ImagemapActionBase & {
                                                                                                                                                                                    type: 'clipboard';
                                                                                                                                                                                    /**
                                                                                                                                                                                    * Text that is copied to the clipboard. Max character limit: 1000
                                                                                                                                                                                    * @minLength 1
                                                                                                                                                                                    * @maxLength 1000
                                                                                                                                                                                    */
                                                                                                                                                                                    clipboardText: string;
                                                                                                                                                                                    label?: string;
                                                                                                                                                                                    };
                                                                                                                                                                                    • See Also

                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#imagemap-clipboard-action-object

                                                                                                                                                                                    type ConfirmTemplate

                                                                                                                                                                                    type ConfirmTemplate = TemplateBase & {
                                                                                                                                                                                    type: 'confirm';
                                                                                                                                                                                    text: string;
                                                                                                                                                                                    actions: Array<Action>;
                                                                                                                                                                                    };

                                                                                                                                                                                      type CouponCashBackRewardRequest

                                                                                                                                                                                      type CouponCashBackRewardRequest = CouponRewardRequestBase & {
                                                                                                                                                                                      type: 'cashBack';
                                                                                                                                                                                      priceInfo?: CashBackPriceInfoRequest;
                                                                                                                                                                                      };

                                                                                                                                                                                        type CouponCashBackRewardResponse

                                                                                                                                                                                        type CouponCashBackRewardResponse = CouponRewardResponseBase & {
                                                                                                                                                                                        type: 'cashBack';
                                                                                                                                                                                        priceInfo?: CashBackPriceInfoResponse;
                                                                                                                                                                                        };

                                                                                                                                                                                          type CouponCreateRequest

                                                                                                                                                                                          type CouponCreateRequest = {
                                                                                                                                                                                          acquisitionCondition: AcquisitionConditionRequest;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * URL of the barcode image associated with the coupon. Used for in-store redemption.
                                                                                                                                                                                          */
                                                                                                                                                                                          barcodeImageUrl?: string;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Unique code to be presented by the user to redeem the coupon. Optional.
                                                                                                                                                                                          */
                                                                                                                                                                                          couponCode?: string;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Detailed description of the coupon. Displayed to users.
                                                                                                                                                                                          * @minLength 0
                                                                                                                                                                                          * @maxLength 1000
                                                                                                                                                                                          */
                                                                                                                                                                                          description?: string;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Coupon expiration time (epoch seconds). Coupon cannot be used after this time.
                                                                                                                                                                                          */
                                                                                                                                                                                          endTimestamp: number;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * URL of the main image representing the coupon. Displayed in the coupon list.
                                                                                                                                                                                          */
                                                                                                                                                                                          imageUrl?: string;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Maximum number of times a single coupon ticket can be used. Use -1 to indicate no limit.
                                                                                                                                                                                          * @maximum 1
                                                                                                                                                                                          */
                                                                                                                                                                                          maxUseCountPerTicket: number;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Coupon start time (epoch seconds). Coupon can be used from this time.
                                                                                                                                                                                          */
                                                                                                                                                                                          startTimestamp: number;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Title of the coupon. Displayed in the coupon list.
                                                                                                                                                                                          * @minLength 1
                                                                                                                                                                                          * @maxLength 60
                                                                                                                                                                                          */
                                                                                                                                                                                          title: string;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Conditions for using the coupon. Shown to users.
                                                                                                                                                                                          * @minLength 0
                                                                                                                                                                                          * @maxLength 100
                                                                                                                                                                                          */
                                                                                                                                                                                          usageCondition?: string;
                                                                                                                                                                                          reward?: CouponRewardRequest;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Visibility of the coupon. Determines who can see or acquire the coupon.
                                                                                                                                                                                          */
                                                                                                                                                                                          visibility: CouponCreateRequest.VisibilityEnum;
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Timezone for interpreting start and end timestamps.
                                                                                                                                                                                          */
                                                                                                                                                                                          timezone: CouponCreateRequest.TimezoneEnum;
                                                                                                                                                                                          };
                                                                                                                                                                                          • Request object for creating a coupon. Contains all configurable coupon properties.

                                                                                                                                                                                          type CouponCreateResponse

                                                                                                                                                                                          type CouponCreateResponse = {
                                                                                                                                                                                          /**
                                                                                                                                                                                          * Unique identifier of the coupon.
                                                                                                                                                                                          */
                                                                                                                                                                                          couponId: string;
                                                                                                                                                                                          };
                                                                                                                                                                                          • Response object returned after creating a coupon. Contains the coupon ID.

                                                                                                                                                                                          type CouponDiscountRewardRequest

                                                                                                                                                                                          type CouponDiscountRewardRequest = CouponRewardRequestBase & {
                                                                                                                                                                                          type: 'discount';
                                                                                                                                                                                          priceInfo?: DiscountPriceInfoRequest;
                                                                                                                                                                                          };

                                                                                                                                                                                            type CouponDiscountRewardResponse

                                                                                                                                                                                            type CouponDiscountRewardResponse = CouponRewardResponseBase & {
                                                                                                                                                                                            type: 'discount';
                                                                                                                                                                                            priceInfo?: DiscountPriceInfoResponse;
                                                                                                                                                                                            };

                                                                                                                                                                                              type CouponFreeRewardRequest

                                                                                                                                                                                              type CouponFreeRewardRequest = CouponRewardRequestBase & {
                                                                                                                                                                                              type: 'free';
                                                                                                                                                                                              };

                                                                                                                                                                                                type CouponFreeRewardResponse

                                                                                                                                                                                                type CouponFreeRewardResponse = CouponRewardResponseBase & {
                                                                                                                                                                                                type: 'free';
                                                                                                                                                                                                };

                                                                                                                                                                                                  type CouponGiftRewardRequest

                                                                                                                                                                                                  type CouponGiftRewardRequest = CouponRewardRequestBase & {
                                                                                                                                                                                                  type: 'gift';
                                                                                                                                                                                                  };

                                                                                                                                                                                                    type CouponGiftRewardResponse

                                                                                                                                                                                                    type CouponGiftRewardResponse = CouponRewardResponseBase & {
                                                                                                                                                                                                    type: 'gift';
                                                                                                                                                                                                    };

                                                                                                                                                                                                      type CouponListResponse

                                                                                                                                                                                                      type CouponListResponse = {
                                                                                                                                                                                                      /**
                                                                                                                                                                                                      * Unique identifier of the coupon.
                                                                                                                                                                                                      */
                                                                                                                                                                                                      couponId: string;
                                                                                                                                                                                                      /**
                                                                                                                                                                                                      * Title of the coupon. Displayed in the coupon list.
                                                                                                                                                                                                      */
                                                                                                                                                                                                      title: string;
                                                                                                                                                                                                      };
                                                                                                                                                                                                      • Summary information about a coupon, used in coupon lists.

                                                                                                                                                                                                      type CouponMessage

                                                                                                                                                                                                      type CouponMessage = MessageBase & {
                                                                                                                                                                                                      type: 'coupon';
                                                                                                                                                                                                      /**
                                                                                                                                                                                                      * Unique identifier of the coupon.
                                                                                                                                                                                                      */
                                                                                                                                                                                                      couponId: string;
                                                                                                                                                                                                      /**
                                                                                                                                                                                                      * Delivery route tag information. It can be used for analysis in LINE OA Manager.
                                                                                                                                                                                                      * @maxLength 30
                                                                                                                                                                                                      */
                                                                                                                                                                                                      deliveryTag?: string;
                                                                                                                                                                                                      };
                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#coupon-message

                                                                                                                                                                                                      type CouponOthersRewardRequest

                                                                                                                                                                                                      type CouponOthersRewardRequest = CouponRewardRequestBase & {
                                                                                                                                                                                                      type: 'others';
                                                                                                                                                                                                      };

                                                                                                                                                                                                        type CouponOthersRewardResponse

                                                                                                                                                                                                        type CouponOthersRewardResponse = CouponRewardResponseBase & {
                                                                                                                                                                                                        type: 'others';
                                                                                                                                                                                                        };

                                                                                                                                                                                                          type CouponResponse

                                                                                                                                                                                                          type CouponResponse = {
                                                                                                                                                                                                          acquisitionCondition?: AcquisitionConditionResponse;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * URL of the barcode image associated with the coupon. Used for in-store redemption.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          barcodeImageUrl?: string;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Unique code to be presented by the user to redeem the coupon.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          couponCode?: string;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Detailed description of the coupon. Displayed to users.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          description?: string;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Coupon expiration time (epoch seconds). Coupon cannot be used after this time.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          endTimestamp?: number;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * URL of the main image representing the coupon. Displayed in the coupon list.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          imageUrl?: string;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Maximum number of coupons that can be issued in total.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          maxAcquireCount?: number;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Maximum number of times a single coupon ticket can be used.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          maxUseCountPerTicket?: number;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Maximum number of coupon tickets a single user can acquire.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          maxTicketPerUser?: number;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Coupon start time (epoch seconds). Coupon can be used from this time.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          startTimestamp?: number;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Title of the coupon. Displayed in the coupon list.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          title?: string;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Conditions for using the coupon. Shown to users.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          usageCondition?: string;
                                                                                                                                                                                                          reward?: CouponRewardResponse;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Visibility of the coupon. Determines who can see or acquire the coupon.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          visibility?: CouponResponse.VisibilityEnum;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Timezone for interpreting start and end timestamps.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          timezone?: CouponResponse.TimezoneEnum;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Unique identifier of the coupon.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          couponId?: string;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Created timestamp (seconds) of the coupon.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          createdTimestamp?: number;
                                                                                                                                                                                                          /**
                                                                                                                                                                                                          * Current status of the coupon.
                                                                                                                                                                                                          */
                                                                                                                                                                                                          status?: CouponResponse.StatusEnum;
                                                                                                                                                                                                          };
                                                                                                                                                                                                          • Detailed information about a coupon, including all properties and current status.

                                                                                                                                                                                                          type CouponRewardRequest

                                                                                                                                                                                                          type CouponRewardRequest =
                                                                                                                                                                                                          | CouponCashBackRewardRequest
                                                                                                                                                                                                          | CouponDiscountRewardRequest
                                                                                                                                                                                                          | CouponFreeRewardRequest
                                                                                                                                                                                                          | CouponGiftRewardRequest
                                                                                                                                                                                                          | CouponOthersRewardRequest;

                                                                                                                                                                                                            type CouponRewardRequestBase

                                                                                                                                                                                                            type CouponRewardRequestBase = {
                                                                                                                                                                                                            /**
                                                                                                                                                                                                            * Type of coupon. Determines the benefit provided.
                                                                                                                                                                                                            */
                                                                                                                                                                                                            type: string;
                                                                                                                                                                                                            };

                                                                                                                                                                                                              type CouponRewardResponse

                                                                                                                                                                                                              type CouponRewardResponse =
                                                                                                                                                                                                              | CouponCashBackRewardResponse
                                                                                                                                                                                                              | CouponDiscountRewardResponse
                                                                                                                                                                                                              | CouponFreeRewardResponse
                                                                                                                                                                                                              | CouponGiftRewardResponse
                                                                                                                                                                                                              | CouponOthersRewardResponse;

                                                                                                                                                                                                                type CouponRewardResponseBase

                                                                                                                                                                                                                type CouponRewardResponseBase = {
                                                                                                                                                                                                                /**
                                                                                                                                                                                                                * Type of coupon. Determines the benefit provided.
                                                                                                                                                                                                                */
                                                                                                                                                                                                                type: string;
                                                                                                                                                                                                                };

                                                                                                                                                                                                                  type CreateRichMenuAliasRequest

                                                                                                                                                                                                                  type CreateRichMenuAliasRequest = {
                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                  * Rich menu alias ID, which can be any ID, unique for each channel.
                                                                                                                                                                                                                  * @minLength 1
                                                                                                                                                                                                                  * @maxLength 32
                                                                                                                                                                                                                  * @pattern /^[a-z0-9_-]{1,32}$/
                                                                                                                                                                                                                  */
                                                                                                                                                                                                                  richMenuAliasId: string;
                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                  * The rich menu ID to be associated with the rich menu alias.
                                                                                                                                                                                                                  */
                                                                                                                                                                                                                  richMenuId: string;
                                                                                                                                                                                                                  };
                                                                                                                                                                                                                  • See Also

                                                                                                                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias

                                                                                                                                                                                                                  type DatetimePickerAction

                                                                                                                                                                                                                  type DatetimePickerAction = ActionBase & {
                                                                                                                                                                                                                  type: 'datetimepicker';
                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                  * @minLength 0
                                                                                                                                                                                                                  * @maxLength 300
                                                                                                                                                                                                                  */
                                                                                                                                                                                                                  data?: string;
                                                                                                                                                                                                                  mode?: DatetimePickerAction.ModeEnum;
                                                                                                                                                                                                                  initial?: string;
                                                                                                                                                                                                                  max?: string;
                                                                                                                                                                                                                  min?: string;
                                                                                                                                                                                                                  };
                                                                                                                                                                                                                  • See Also

                                                                                                                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#datetime-picker-action

                                                                                                                                                                                                                  type DemographicFilter

                                                                                                                                                                                                                  type DemographicFilter =
                                                                                                                                                                                                                  | AgeDemographicFilter
                                                                                                                                                                                                                  | AppTypeDemographicFilter
                                                                                                                                                                                                                  | AreaDemographicFilter
                                                                                                                                                                                                                  | GenderDemographicFilter
                                                                                                                                                                                                                  | OperatorDemographicFilter
                                                                                                                                                                                                                  | SubscriptionPeriodDemographicFilter;
                                                                                                                                                                                                                  • Demographic filter

                                                                                                                                                                                                                  type DemographicFilterBase

                                                                                                                                                                                                                  type DemographicFilterBase = {
                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                  * Type of demographic filter
                                                                                                                                                                                                                  */
                                                                                                                                                                                                                  type?: string;
                                                                                                                                                                                                                  };

                                                                                                                                                                                                                    type DiscountExplicitPriceInfoRequest

                                                                                                                                                                                                                    type DiscountExplicitPriceInfoRequest = DiscountPriceInfoRequestBase & {
                                                                                                                                                                                                                    type: 'explicit';
                                                                                                                                                                                                                    priceAfterDiscount?: number;
                                                                                                                                                                                                                    originalPrice?: number;
                                                                                                                                                                                                                    };

                                                                                                                                                                                                                      type DiscountExplicitPriceInfoResponse

                                                                                                                                                                                                                      type DiscountExplicitPriceInfoResponse = DiscountPriceInfoResponseBase & {
                                                                                                                                                                                                                      type: 'explicit';
                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                      * Currency code (e.g., JPY, THB, TWD).
                                                                                                                                                                                                                      */
                                                                                                                                                                                                                      currency?: DiscountExplicitPriceInfoResponse.CurrencyEnum;
                                                                                                                                                                                                                      priceAfterDiscount?: number;
                                                                                                                                                                                                                      originalPrice?: number;
                                                                                                                                                                                                                      };

                                                                                                                                                                                                                        type DiscountFixedPriceInfoRequest

                                                                                                                                                                                                                        type DiscountFixedPriceInfoRequest = DiscountPriceInfoRequestBase & {
                                                                                                                                                                                                                        type: 'fixed';
                                                                                                                                                                                                                        fixedAmount?: number;
                                                                                                                                                                                                                        };

                                                                                                                                                                                                                          type DiscountFixedPriceInfoResponse

                                                                                                                                                                                                                          type DiscountFixedPriceInfoResponse = DiscountPriceInfoResponseBase & {
                                                                                                                                                                                                                          type: 'fixed';
                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                          * Currency code (e.g., JPY, THB, TWD).
                                                                                                                                                                                                                          */
                                                                                                                                                                                                                          currency?: DiscountFixedPriceInfoResponse.CurrencyEnum;
                                                                                                                                                                                                                          fixedAmount?: number;
                                                                                                                                                                                                                          };

                                                                                                                                                                                                                            type DiscountPercentagePriceInfoRequest

                                                                                                                                                                                                                            type DiscountPercentagePriceInfoRequest = DiscountPriceInfoRequestBase & {
                                                                                                                                                                                                                            type: 'percentage';
                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                            * Specifies the discount rate as a percentage. Must be an integer between 1 and 99.
                                                                                                                                                                                                                            * @minimum 1
                                                                                                                                                                                                                            * @maximum 99
                                                                                                                                                                                                                            */
                                                                                                                                                                                                                            percentage?: number;
                                                                                                                                                                                                                            };

                                                                                                                                                                                                                              type DiscountPercentagePriceInfoResponse

                                                                                                                                                                                                                              type DiscountPercentagePriceInfoResponse = DiscountPriceInfoResponseBase & {
                                                                                                                                                                                                                              type: 'percentage';
                                                                                                                                                                                                                              percentage?: number;
                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                type DiscountPriceInfoRequest

                                                                                                                                                                                                                                type DiscountPriceInfoRequest =
                                                                                                                                                                                                                                | DiscountExplicitPriceInfoRequest
                                                                                                                                                                                                                                | DiscountFixedPriceInfoRequest
                                                                                                                                                                                                                                | DiscountPercentagePriceInfoRequest;

                                                                                                                                                                                                                                  type DiscountPriceInfoRequestBase

                                                                                                                                                                                                                                  type DiscountPriceInfoRequestBase = {
                                                                                                                                                                                                                                  type: string;
                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                    type DiscountPriceInfoResponse

                                                                                                                                                                                                                                    type DiscountPriceInfoResponse =
                                                                                                                                                                                                                                    | DiscountExplicitPriceInfoResponse
                                                                                                                                                                                                                                    | DiscountFixedPriceInfoResponse
                                                                                                                                                                                                                                    | DiscountPercentagePriceInfoResponse;

                                                                                                                                                                                                                                      type DiscountPriceInfoResponseBase

                                                                                                                                                                                                                                      type DiscountPriceInfoResponseBase = {
                                                                                                                                                                                                                                      type: string;
                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                        type Emoji

                                                                                                                                                                                                                                        type Emoji = {
                                                                                                                                                                                                                                        index?: number;
                                                                                                                                                                                                                                        productId?: string;
                                                                                                                                                                                                                                        emojiId?: string;
                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                        type EmojiSubstitutionObject

                                                                                                                                                                                                                                        type EmojiSubstitutionObject = SubstitutionObjectBase & {
                                                                                                                                                                                                                                        type: 'emoji';
                                                                                                                                                                                                                                        productId: string;
                                                                                                                                                                                                                                        emojiId: string;
                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                        • An object representing a emoji substitution.

                                                                                                                                                                                                                                          See Also

                                                                                                                                                                                                                                          • https://developers.line.biz/en/reference/messaging-api/#text-message-v2-emoji-object

                                                                                                                                                                                                                                        type ErrorDetail

                                                                                                                                                                                                                                        type ErrorDetail = {
                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                        * Details of the error. Not included in the response under certain situations.
                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                        message?: string;
                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                        * Location of where the error occurred. Returns the JSON field name or query parameter name of the request. Not included in the response under certain situations.
                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                        property?: string;
                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                        type ErrorResponse

                                                                                                                                                                                                                                        type ErrorResponse = {
                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                        * Message containing information about the error.
                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                        message: string;
                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                        * An array of error details. If the array is empty, this property will not be included in the response.
                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                        details?: Array<ErrorDetail>;
                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                        * Array of sent messages.
                                                                                                                                                                                                                                        * @minItems 1
                                                                                                                                                                                                                                        * @maxItems 5
                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                        sentMessages?: Array<SentMessage>;
                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                        • See Also

                                                                                                                                                                                                                                          • https://developers.line.biz/en/reference/messaging-api/#error-responses

                                                                                                                                                                                                                                        type Filter

                                                                                                                                                                                                                                        type Filter = {
                                                                                                                                                                                                                                        demographic?: DemographicFilter;
                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                        • Filter for narrowcast

                                                                                                                                                                                                                                        type FlexBlockStyle

                                                                                                                                                                                                                                        type FlexBlockStyle = {
                                                                                                                                                                                                                                        backgroundColor?: string;
                                                                                                                                                                                                                                        separator?: boolean;
                                                                                                                                                                                                                                        separatorColor?: string;
                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                        type FlexBox

                                                                                                                                                                                                                                        type FlexBox = FlexComponentBase & {
                                                                                                                                                                                                                                        type: 'box';
                                                                                                                                                                                                                                        layout: FlexBox.LayoutEnum;
                                                                                                                                                                                                                                        flex?: number;
                                                                                                                                                                                                                                        contents: Array<FlexComponent>;
                                                                                                                                                                                                                                        spacing?: string;
                                                                                                                                                                                                                                        margin?: string;
                                                                                                                                                                                                                                        position?: FlexBox.PositionEnum;
                                                                                                                                                                                                                                        offsetTop?: string;
                                                                                                                                                                                                                                        offsetBottom?: string;
                                                                                                                                                                                                                                        offsetStart?: string;
                                                                                                                                                                                                                                        offsetEnd?: string;
                                                                                                                                                                                                                                        backgroundColor?: string;
                                                                                                                                                                                                                                        borderColor?: string;
                                                                                                                                                                                                                                        borderWidth?: string;
                                                                                                                                                                                                                                        cornerRadius?: string;
                                                                                                                                                                                                                                        width?: string;
                                                                                                                                                                                                                                        maxWidth?: string;
                                                                                                                                                                                                                                        height?: string;
                                                                                                                                                                                                                                        maxHeight?: string;
                                                                                                                                                                                                                                        paddingAll?: string;
                                                                                                                                                                                                                                        paddingTop?: string;
                                                                                                                                                                                                                                        paddingBottom?: string;
                                                                                                                                                                                                                                        paddingStart?: string;
                                                                                                                                                                                                                                        paddingEnd?: string;
                                                                                                                                                                                                                                        action?: Action;
                                                                                                                                                                                                                                        justifyContent?: FlexBox.JustifyContentEnum;
                                                                                                                                                                                                                                        alignItems?: FlexBox.AlignItemsEnum;
                                                                                                                                                                                                                                        background?: FlexBoxBackground;
                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                          type FlexBoxBackground

                                                                                                                                                                                                                                          type FlexBoxBackground = FlexBoxLinearGradient;

                                                                                                                                                                                                                                            type FlexBoxBackgroundBase

                                                                                                                                                                                                                                            type FlexBoxBackgroundBase = {
                                                                                                                                                                                                                                            type: string;
                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                              type FlexBoxBorderWidth

                                                                                                                                                                                                                                              type FlexBoxBorderWidth =
                                                                                                                                                                                                                                              | 'none'
                                                                                                                                                                                                                                              | 'light'
                                                                                                                                                                                                                                              | 'normal'
                                                                                                                                                                                                                                              | 'medium'
                                                                                                                                                                                                                                              | 'semi-bold'
                                                                                                                                                                                                                                              | 'bold';
                                                                                                                                                                                                                                              • Width of box border. This is only for borderWidth in FlexBox. A value of none means that borders are not rendered; the other values are listed in order of increasing width.

                                                                                                                                                                                                                                              type FlexBoxCornerRadius

                                                                                                                                                                                                                                              type FlexBoxCornerRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
                                                                                                                                                                                                                                              • Radius at the time of rounding the corners of the box. This is only for cornerRadius in FlexBox. A value of none means that corners are not rounded; the other values are listed in order of increasing radius.

                                                                                                                                                                                                                                              type FlexBoxLinearGradient

                                                                                                                                                                                                                                              type FlexBoxLinearGradient = FlexBoxBackgroundBase & {
                                                                                                                                                                                                                                              type: 'linearGradient';
                                                                                                                                                                                                                                              angle?: string;
                                                                                                                                                                                                                                              startColor?: string;
                                                                                                                                                                                                                                              endColor?: string;
                                                                                                                                                                                                                                              centerColor?: string;
                                                                                                                                                                                                                                              centerPosition?: string;
                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                type FlexBoxPadding

                                                                                                                                                                                                                                                type FlexBoxPadding = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
                                                                                                                                                                                                                                                • Padding can be specified in pixels, percentage (to the parent box width) or with a keyword. FlexBoxPadding just provides only keywords.

                                                                                                                                                                                                                                                type FlexBoxSpacing

                                                                                                                                                                                                                                                type FlexBoxSpacing = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
                                                                                                                                                                                                                                                • You can specify the minimum space between two components with the spacing property of the parent box component, in pixels or with a keyword. FlexBoxSpacing just provides only keywords.

                                                                                                                                                                                                                                                type FlexBubble

                                                                                                                                                                                                                                                type FlexBubble = FlexContainerBase & {
                                                                                                                                                                                                                                                type: 'bubble';
                                                                                                                                                                                                                                                direction?: FlexBubble.DirectionEnum;
                                                                                                                                                                                                                                                styles?: FlexBubbleStyles;
                                                                                                                                                                                                                                                header?: FlexBox;
                                                                                                                                                                                                                                                hero?: FlexComponent;
                                                                                                                                                                                                                                                body?: FlexBox;
                                                                                                                                                                                                                                                footer?: FlexBox;
                                                                                                                                                                                                                                                size?: FlexBubble.SizeEnum;
                                                                                                                                                                                                                                                action?: Action;
                                                                                                                                                                                                                                                };

                                                                                                                                                                                                                                                  type FlexBubbleStyles

                                                                                                                                                                                                                                                  type FlexBubbleStyles = {
                                                                                                                                                                                                                                                  header?: FlexBlockStyle;
                                                                                                                                                                                                                                                  hero?: FlexBlockStyle;
                                                                                                                                                                                                                                                  body?: FlexBlockStyle;
                                                                                                                                                                                                                                                  footer?: FlexBlockStyle;
                                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                                    type FlexButton

                                                                                                                                                                                                                                                    type FlexButton = FlexComponentBase & {
                                                                                                                                                                                                                                                    type: 'button';
                                                                                                                                                                                                                                                    flex?: number;
                                                                                                                                                                                                                                                    color?: string;
                                                                                                                                                                                                                                                    style?: FlexButton.StyleEnum;
                                                                                                                                                                                                                                                    action: Action;
                                                                                                                                                                                                                                                    gravity?: FlexButton.GravityEnum;
                                                                                                                                                                                                                                                    margin?: string;
                                                                                                                                                                                                                                                    position?: FlexButton.PositionEnum;
                                                                                                                                                                                                                                                    offsetTop?: string;
                                                                                                                                                                                                                                                    offsetBottom?: string;
                                                                                                                                                                                                                                                    offsetStart?: string;
                                                                                                                                                                                                                                                    offsetEnd?: string;
                                                                                                                                                                                                                                                    height?: FlexButton.HeightEnum;
                                                                                                                                                                                                                                                    adjustMode?: FlexButton.AdjustModeEnum;
                                                                                                                                                                                                                                                    scaling?: boolean;
                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                      type FlexCarousel

                                                                                                                                                                                                                                                      type FlexCarousel = FlexContainerBase & {
                                                                                                                                                                                                                                                      type: 'carousel';
                                                                                                                                                                                                                                                      contents: Array<FlexBubble>;
                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                        type FlexComponent

                                                                                                                                                                                                                                                        type FlexComponent =
                                                                                                                                                                                                                                                        | FlexBox
                                                                                                                                                                                                                                                        | FlexButton
                                                                                                                                                                                                                                                        | FlexFiller
                                                                                                                                                                                                                                                        | FlexIcon
                                                                                                                                                                                                                                                        | FlexImage
                                                                                                                                                                                                                                                        | FlexSeparator
                                                                                                                                                                                                                                                        | FlexSpan
                                                                                                                                                                                                                                                        | FlexText
                                                                                                                                                                                                                                                        | FlexVideo;

                                                                                                                                                                                                                                                          type FlexComponentBase

                                                                                                                                                                                                                                                          type FlexComponentBase = {
                                                                                                                                                                                                                                                          type: string;
                                                                                                                                                                                                                                                          };

                                                                                                                                                                                                                                                            type FlexContainer

                                                                                                                                                                                                                                                            type FlexContainer = FlexBubble | FlexCarousel;

                                                                                                                                                                                                                                                              type FlexContainerBase

                                                                                                                                                                                                                                                              type FlexContainerBase = {
                                                                                                                                                                                                                                                              type: string;
                                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                                type FlexFiller

                                                                                                                                                                                                                                                                type FlexFiller = FlexComponentBase & {
                                                                                                                                                                                                                                                                type: 'filler';
                                                                                                                                                                                                                                                                flex?: number;
                                                                                                                                                                                                                                                                };

                                                                                                                                                                                                                                                                  type FlexIcon

                                                                                                                                                                                                                                                                  type FlexIcon = FlexComponentBase & {
                                                                                                                                                                                                                                                                  type: 'icon';
                                                                                                                                                                                                                                                                  url: string;
                                                                                                                                                                                                                                                                  size?: string;
                                                                                                                                                                                                                                                                  aspectRatio?: string;
                                                                                                                                                                                                                                                                  margin?: string;
                                                                                                                                                                                                                                                                  position?: FlexIcon.PositionEnum;
                                                                                                                                                                                                                                                                  offsetTop?: string;
                                                                                                                                                                                                                                                                  offsetBottom?: string;
                                                                                                                                                                                                                                                                  offsetStart?: string;
                                                                                                                                                                                                                                                                  offsetEnd?: string;
                                                                                                                                                                                                                                                                  scaling?: boolean;
                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                  • See Also

                                                                                                                                                                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#icon

                                                                                                                                                                                                                                                                  type FlexIconSize

                                                                                                                                                                                                                                                                  type FlexIconSize =
                                                                                                                                                                                                                                                                  | 'xxs'
                                                                                                                                                                                                                                                                  | 'xs'
                                                                                                                                                                                                                                                                  | 'sm'
                                                                                                                                                                                                                                                                  | 'md'
                                                                                                                                                                                                                                                                  | 'lg'
                                                                                                                                                                                                                                                                  | 'xl'
                                                                                                                                                                                                                                                                  | 'xxl'
                                                                                                                                                                                                                                                                  | '3xl'
                                                                                                                                                                                                                                                                  | '4xl'
                                                                                                                                                                                                                                                                  | '5xl';
                                                                                                                                                                                                                                                                  • You can set the width of an Flex icon component with the size property, in pixels, as a percentage, or with a keyword. FlexIconSize just provides only keywords.

                                                                                                                                                                                                                                                                  type FlexImage

                                                                                                                                                                                                                                                                  type FlexImage = FlexComponentBase & {
                                                                                                                                                                                                                                                                  type: 'image';
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Image URL (Max character limit: 2000) Protocol: HTTPS (TLS 1.2 or later) Image format: JPEG or PNG Maximum image size: 1024×1024 pixels Maximum file size: 10 MB (300 KB when the animated property is true)
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  url: string;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * The ratio of the width or height of this component within the parent box.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  flex?: number;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * The minimum amount of space to include before this component in its parent container.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  margin?: string;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Reference for offsetTop, offsetBottom, offsetStart, and offsetEnd. Specify one of the following values: `relative`: Use the previous box as reference. `absolute`: Use the top left of parent element as reference. The default value is relative.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  position?: FlexImage.PositionEnum;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Offset.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  offsetTop?: string;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Offset.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  offsetBottom?: string;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Offset.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  offsetStart?: string;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Offset.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  offsetEnd?: string;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Alignment style in horizontal direction.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  align?: FlexImage.AlignEnum;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Alignment style in vertical direction.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  gravity?: FlexImage.GravityEnum;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * The maximum image width. This is md by default.
                                                                                                                                                                                                                                                                  * @default 'md'
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  size?: string;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Aspect ratio of the image. `{width}:{height}` format. Specify the value of `{width}` and `{height}` in the range from `1` to `100000`. However, you cannot set `{height}` to a value that is more than three times the value of `{width}`. The default value is `1:1`.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  aspectRatio?: string;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * The display style of the image if the aspect ratio of the image and that specified by the aspectRatio property do not match.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  aspectMode?: FlexImage.AspectModeEnum;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * Background color of the image. Use a hexadecimal color code.
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  backgroundColor?: string;
                                                                                                                                                                                                                                                                  action?: Action;
                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                  * When this is `true`, an animated image (APNG) plays. You can specify a value of true up to 10 images in a single message. You can't send messages that exceed this limit. This is `false` by default. Animated images larger than 300 KB aren't played back.
                                                                                                                                                                                                                                                                  * @default false
                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                  animated?: boolean;
                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                  • See Also

                                                                                                                                                                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#f-image

                                                                                                                                                                                                                                                                  type FlexImageSize

                                                                                                                                                                                                                                                                  type FlexImageSize =
                                                                                                                                                                                                                                                                  | 'xxs'
                                                                                                                                                                                                                                                                  | 'xs'
                                                                                                                                                                                                                                                                  | 'sm'
                                                                                                                                                                                                                                                                  | 'md'
                                                                                                                                                                                                                                                                  | 'lg'
                                                                                                                                                                                                                                                                  | 'xl'
                                                                                                                                                                                                                                                                  | 'xxl'
                                                                                                                                                                                                                                                                  | '3xl'
                                                                                                                                                                                                                                                                  | '4xl'
                                                                                                                                                                                                                                                                  | '5xl'
                                                                                                                                                                                                                                                                  | 'full';
                                                                                                                                                                                                                                                                  • You can set the width of an Flex image component with the size property, in pixels, as a percentage, or with a keyword. FlexImageSize just provides only keywords.

                                                                                                                                                                                                                                                                  type FlexMargin

                                                                                                                                                                                                                                                                  type FlexMargin = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
                                                                                                                                                                                                                                                                  • You can specify the minimum space before a child component with the margin property of the child component, in pixels or with a keyword. FlexMargin just provides only keywords.

                                                                                                                                                                                                                                                                  type FlexMessage

                                                                                                                                                                                                                                                                  type FlexMessage = MessageBase & {
                                                                                                                                                                                                                                                                  type: 'flex';
                                                                                                                                                                                                                                                                  altText: string;
                                                                                                                                                                                                                                                                  contents: FlexContainer;
                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                  • See Also

                                                                                                                                                                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#flex-message

                                                                                                                                                                                                                                                                  type FlexOffset

                                                                                                                                                                                                                                                                  type FlexOffset = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
                                                                                                                                                                                                                                                                  • You can specify the offset of a component with the offset* property, in pixels or with a keyword. You can also specify the percentage to the box width for offsetStart and offsetEnd and to the box height for offsetTop and offsetBottom. FlexOffset just provides only keywords.

                                                                                                                                                                                                                                                                  type FlexSeparator

                                                                                                                                                                                                                                                                  type FlexSeparator = FlexComponentBase & {
                                                                                                                                                                                                                                                                  type: 'separator';
                                                                                                                                                                                                                                                                  margin?: string;
                                                                                                                                                                                                                                                                  color?: string;
                                                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                                                    type FlexSpan

                                                                                                                                                                                                                                                                    type FlexSpan = FlexComponentBase & {
                                                                                                                                                                                                                                                                    type: 'span';
                                                                                                                                                                                                                                                                    text?: string;
                                                                                                                                                                                                                                                                    size?: string;
                                                                                                                                                                                                                                                                    color?: string;
                                                                                                                                                                                                                                                                    weight?: FlexSpan.WeightEnum;
                                                                                                                                                                                                                                                                    style?: FlexSpan.StyleEnum;
                                                                                                                                                                                                                                                                    decoration?: FlexSpan.DecorationEnum;
                                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                                      type FlexSpanSize

                                                                                                                                                                                                                                                                      type FlexSpanSize =
                                                                                                                                                                                                                                                                      | 'xxs'
                                                                                                                                                                                                                                                                      | 'xs'
                                                                                                                                                                                                                                                                      | 'sm'
                                                                                                                                                                                                                                                                      | 'md'
                                                                                                                                                                                                                                                                      | 'lg'
                                                                                                                                                                                                                                                                      | 'xl'
                                                                                                                                                                                                                                                                      | 'xxl'
                                                                                                                                                                                                                                                                      | '3xl'
                                                                                                                                                                                                                                                                      | '4xl'
                                                                                                                                                                                                                                                                      | '5xl';
                                                                                                                                                                                                                                                                      • Font size in the size property of the Flex span component. You can specify the size in pixels or with a keyword. FlexSpanSize just provides only keywords.

                                                                                                                                                                                                                                                                      type FlexText

                                                                                                                                                                                                                                                                      type FlexText = FlexComponentBase & {
                                                                                                                                                                                                                                                                      type: 'text';
                                                                                                                                                                                                                                                                      flex?: number;
                                                                                                                                                                                                                                                                      text?: string;
                                                                                                                                                                                                                                                                      size?: string;
                                                                                                                                                                                                                                                                      align?: FlexText.AlignEnum;
                                                                                                                                                                                                                                                                      gravity?: FlexText.GravityEnum;
                                                                                                                                                                                                                                                                      color?: string;
                                                                                                                                                                                                                                                                      weight?: FlexText.WeightEnum;
                                                                                                                                                                                                                                                                      style?: FlexText.StyleEnum;
                                                                                                                                                                                                                                                                      decoration?: FlexText.DecorationEnum;
                                                                                                                                                                                                                                                                      wrap?: boolean;
                                                                                                                                                                                                                                                                      lineSpacing?: string;
                                                                                                                                                                                                                                                                      margin?: string;
                                                                                                                                                                                                                                                                      position?: FlexText.PositionEnum;
                                                                                                                                                                                                                                                                      offsetTop?: string;
                                                                                                                                                                                                                                                                      offsetBottom?: string;
                                                                                                                                                                                                                                                                      offsetStart?: string;
                                                                                                                                                                                                                                                                      offsetEnd?: string;
                                                                                                                                                                                                                                                                      action?: Action;
                                                                                                                                                                                                                                                                      maxLines?: number;
                                                                                                                                                                                                                                                                      contents?: Array<FlexSpan>;
                                                                                                                                                                                                                                                                      adjustMode?: FlexText.AdjustModeEnum;
                                                                                                                                                                                                                                                                      scaling?: boolean;
                                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                                        type FlexTextFontSize

                                                                                                                                                                                                                                                                        type FlexTextFontSize =
                                                                                                                                                                                                                                                                        | 'xxs'
                                                                                                                                                                                                                                                                        | 'xs'
                                                                                                                                                                                                                                                                        | 'sm'
                                                                                                                                                                                                                                                                        | 'md'
                                                                                                                                                                                                                                                                        | 'lg'
                                                                                                                                                                                                                                                                        | 'xl'
                                                                                                                                                                                                                                                                        | 'xxl'
                                                                                                                                                                                                                                                                        | '3xl'
                                                                                                                                                                                                                                                                        | '4xl'
                                                                                                                                                                                                                                                                        | '5xl';
                                                                                                                                                                                                                                                                        • Font size in the size property of the Flex text component. You can specify the size in pixels or with a keyword. FlexTextFontSize just provides only keywords.

                                                                                                                                                                                                                                                                        type FlexVideo

                                                                                                                                                                                                                                                                        type FlexVideo = FlexComponentBase & {
                                                                                                                                                                                                                                                                        type: 'video';
                                                                                                                                                                                                                                                                        url: string;
                                                                                                                                                                                                                                                                        previewUrl: string;
                                                                                                                                                                                                                                                                        altContent: FlexComponent;
                                                                                                                                                                                                                                                                        aspectRatio?: string;
                                                                                                                                                                                                                                                                        action?: Action;
                                                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                                                          type GenderDemographic

                                                                                                                                                                                                                                                                          type GenderDemographic = 'male' | 'female';
                                                                                                                                                                                                                                                                          • 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.

                                                                                                                                                                                                                                                                          type GenderDemographicFilter

                                                                                                                                                                                                                                                                          type GenderDemographicFilter = DemographicFilterBase & {
                                                                                                                                                                                                                                                                          type: 'gender';
                                                                                                                                                                                                                                                                          oneOf?: Array<GenderDemographic>;
                                                                                                                                                                                                                                                                          };

                                                                                                                                                                                                                                                                            type GetAggregationUnitNameListResponse

                                                                                                                                                                                                                                                                            type GetAggregationUnitNameListResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * An array of strings indicating the names of aggregation units used this month.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            customAggregationUnits: Array<string>;
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * A continuation token to get the next array of unit names. Returned only when there are remaining aggregation units that weren't returned in customAggregationUnits in the original request.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            next?: string;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month

                                                                                                                                                                                                                                                                            type GetAggregationUnitUsageResponse

                                                                                                                                                                                                                                                                            type GetAggregationUnitUsageResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * Number of aggregation units used this month.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            numOfCustomAggregationUnits: number;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month

                                                                                                                                                                                                                                                                            type GetFollowersResponse

                                                                                                                                                                                                                                                                            type GetFollowersResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * An array of strings indicating user IDs of users that have added the LINE Official Account as a friend. Only users of LINE for iOS and LINE for Android are included in `userIds`.
                                                                                                                                                                                                                                                                            * @maxItems 1000
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            userIds: Array<string>;
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * A continuation token to get the next array of user IDs. Returned only when there are remaining user IDs that weren't returned in `userIds` in the original request. The number of user IDs in the `userIds` element doesn't have to reach the maximum number specified by `limit` for the `next` property to be included in the response.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            next?: string;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-follower-ids

                                                                                                                                                                                                                                                                            type GetJoinedMembershipUsersResponse

                                                                                                                                                                                                                                                                            type GetJoinedMembershipUsersResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * A list of user IDs who joined the membership. Users who have not agreed to the bot user agreement, are not following the bot, or are not active will be excluded. If there are no users in the membership, an empty list will be returned.
                                                                                                                                                                                                                                                                            * @maxItems 1000
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            userIds: Array<string>;
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds).
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            next?: string;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • List of users who have joined the membership

                                                                                                                                                                                                                                                                              See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids

                                                                                                                                                                                                                                                                            type GetMembershipSubscriptionResponse

                                                                                                                                                                                                                                                                            type GetMembershipSubscriptionResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * List of subscription information
                                                                                                                                                                                                                                                                            * @minItems 0
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            subscriptions: Array<Subscription>;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • A user's membership subscription status

                                                                                                                                                                                                                                                                              See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status

                                                                                                                                                                                                                                                                            type GetMessageContentTranscodingResponse

                                                                                                                                                                                                                                                                            type GetMessageContentTranscodingResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * The preparation status. One of: `processing`: Preparing to get content. `succeeded`: Ready to get the content. You can get the content sent by users. `failed`: Failed to prepare to get the content.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            status: GetMessageContentTranscodingResponse.StatusEnum;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • Transcoding response

                                                                                                                                                                                                                                                                              See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status

                                                                                                                                                                                                                                                                            type GetWebhookEndpointResponse

                                                                                                                                                                                                                                                                            type GetWebhookEndpointResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * Webhook URL
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            endpoint: string;
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * Webhook usage status. Send a webhook event from the LINE Platform to the webhook URL only if enabled. `true`: Webhook usage is enabled. `false`: Webhook usage is disabled.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            active: boolean;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information

                                                                                                                                                                                                                                                                            type GroupMemberCountResponse

                                                                                                                                                                                                                                                                            type GroupMemberCountResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * The count of members in the group chat. The number returned excludes the LINE Official Account.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            count: number;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-members-group-count

                                                                                                                                                                                                                                                                            type GroupSummaryResponse

                                                                                                                                                                                                                                                                            type GroupSummaryResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * Group ID
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            groupId: string;
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * Group name
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            groupName: string;
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * Group icon URL. Not included in the response if the user doesn't set a group profile icon.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            pictureUrl?: string;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-group-summary

                                                                                                                                                                                                                                                                            type GroupUserProfileResponse

                                                                                                                                                                                                                                                                            type GroupUserProfileResponse = {
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * User's display name
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            displayName: string;
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * User ID
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            userId: string;
                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                            * Profile image URL. `https` image URL. Not included in the response if the user doesn't have a profile image.
                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                            pictureUrl?: string;
                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile

                                                                                                                                                                                                                                                                            type ImageCarouselColumn

                                                                                                                                                                                                                                                                            type ImageCarouselColumn = {
                                                                                                                                                                                                                                                                            imageUrl: string;
                                                                                                                                                                                                                                                                            action: Action;
                                                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                                                              type ImageCarouselTemplate

                                                                                                                                                                                                                                                                              type ImageCarouselTemplate = TemplateBase & {
                                                                                                                                                                                                                                                                              type: 'image_carousel';
                                                                                                                                                                                                                                                                              columns: Array<ImageCarouselColumn>;
                                                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                                                type ImagemapAction

                                                                                                                                                                                                                                                                                type ImagemapAction =
                                                                                                                                                                                                                                                                                | ClipboardImagemapAction
                                                                                                                                                                                                                                                                                | MessageImagemapAction
                                                                                                                                                                                                                                                                                | URIImagemapAction;
                                                                                                                                                                                                                                                                                • See Also

                                                                                                                                                                                                                                                                                  • https://developers.line.biz/en/reference/messaging-api/#imagemap-action-objects

                                                                                                                                                                                                                                                                                type ImagemapActionBase

                                                                                                                                                                                                                                                                                type ImagemapActionBase = {
                                                                                                                                                                                                                                                                                type: string;
                                                                                                                                                                                                                                                                                area: ImagemapArea;
                                                                                                                                                                                                                                                                                };

                                                                                                                                                                                                                                                                                  type ImagemapArea

                                                                                                                                                                                                                                                                                  type ImagemapArea = {
                                                                                                                                                                                                                                                                                  x: number;
                                                                                                                                                                                                                                                                                  y: number;
                                                                                                                                                                                                                                                                                  width: number;
                                                                                                                                                                                                                                                                                  height: number;
                                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                  type ImagemapBaseSize

                                                                                                                                                                                                                                                                                  type ImagemapBaseSize = {
                                                                                                                                                                                                                                                                                  height: number;
                                                                                                                                                                                                                                                                                  width: number;
                                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                  type ImagemapExternalLink = {
                                                                                                                                                                                                                                                                                  linkUri?: string;
                                                                                                                                                                                                                                                                                  label?: string;
                                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                  type ImagemapMessage

                                                                                                                                                                                                                                                                                  type ImagemapMessage = MessageBase & {
                                                                                                                                                                                                                                                                                  type: 'imagemap';
                                                                                                                                                                                                                                                                                  baseUrl: string;
                                                                                                                                                                                                                                                                                  altText: string;
                                                                                                                                                                                                                                                                                  baseSize: ImagemapBaseSize;
                                                                                                                                                                                                                                                                                  actions: Array<ImagemapAction>;
                                                                                                                                                                                                                                                                                  video?: ImagemapVideo;
                                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                                  • See Also

                                                                                                                                                                                                                                                                                    • https://developers.line.biz/en/reference/messaging-api/#imagemap-message

                                                                                                                                                                                                                                                                                  type ImagemapVideo

                                                                                                                                                                                                                                                                                  type ImagemapVideo = {
                                                                                                                                                                                                                                                                                  originalContentUrl?: string;
                                                                                                                                                                                                                                                                                  previewImageUrl?: string;
                                                                                                                                                                                                                                                                                  area?: ImagemapArea;
                                                                                                                                                                                                                                                                                  externalLink?: ImagemapExternalLink;
                                                                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                                                                    type ImageMessage

                                                                                                                                                                                                                                                                                    type ImageMessage = MessageBase & {
                                                                                                                                                                                                                                                                                    type: 'image';
                                                                                                                                                                                                                                                                                    originalContentUrl: string;
                                                                                                                                                                                                                                                                                    previewImageUrl: string;
                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#image-message

                                                                                                                                                                                                                                                                                    type IssueLinkTokenResponse

                                                                                                                                                                                                                                                                                    type IssueLinkTokenResponse = {
                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                    * Link token. Link tokens are valid for 10 minutes and can only be used once.
                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                    linkToken: string;
                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#issue-link-token

                                                                                                                                                                                                                                                                                    type Limit

                                                                                                                                                                                                                                                                                    type Limit = {
                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                    * The maximum number of narrowcast messages to send. Use this parameter to limit the number of narrowcast messages sent. The recipients will be chosen at random.
                                                                                                                                                                                                                                                                                    * @minimum 1
                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                    max?: number;
                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                    * If true, the message will be sent within the maximum number of deliverable messages. The default value is `false`. Targets will be selected at random.
                                                                                                                                                                                                                                                                                    * @default false
                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                    upToRemainingQuota?: boolean;
                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                    * This option prevents messages from being delivered to only a subset of the target audience. If true, the narrowcast request success but fails asynchronously. You can check whether message delivery was canceled by retrieving the narrowcast message progress. This property can be set to true only if upToRemainingQuota is set to true.
                                                                                                                                                                                                                                                                                    * @default false
                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                    forbidPartialDelivery?: boolean;
                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                    • Limit of the Narrowcast

                                                                                                                                                                                                                                                                                      See Also

                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message

                                                                                                                                                                                                                                                                                    type LocationAction

                                                                                                                                                                                                                                                                                    type LocationAction = ActionBase & {
                                                                                                                                                                                                                                                                                    type: 'location';
                                                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                                                      type LocationMessage

                                                                                                                                                                                                                                                                                      type LocationMessage = MessageBase & {
                                                                                                                                                                                                                                                                                      type: 'location';
                                                                                                                                                                                                                                                                                      title: string;
                                                                                                                                                                                                                                                                                      address: string;
                                                                                                                                                                                                                                                                                      latitude: number;
                                                                                                                                                                                                                                                                                      longitude: number;
                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#location-message

                                                                                                                                                                                                                                                                                      type LotteryAcquisitionConditionRequest

                                                                                                                                                                                                                                                                                      type LotteryAcquisitionConditionRequest = AcquisitionConditionRequestBase & {
                                                                                                                                                                                                                                                                                      type: 'lottery';
                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                      * Probability (1-99) of winning the coupon in lottery-type campaigns.
                                                                                                                                                                                                                                                                                      * @minimum 1
                                                                                                                                                                                                                                                                                      * @maximum 99
                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                      lotteryProbability: number;
                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                      * Maximum number of coupons that can be issued in total. Use -1 to indicate no limit
                                                                                                                                                                                                                                                                                      * @maximum 999999
                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                      maxAcquireCount: number;
                                                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                                                        type LotteryAcquisitionConditionResponse

                                                                                                                                                                                                                                                                                        type LotteryAcquisitionConditionResponse = AcquisitionConditionResponseBase & {
                                                                                                                                                                                                                                                                                        type: 'lottery';
                                                                                                                                                                                                                                                                                        lotteryProbability?: number;
                                                                                                                                                                                                                                                                                        maxAcquireCount?: number;
                                                                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                                                                          type MarkMessagesAsReadByTokenRequest

                                                                                                                                                                                                                                                                                          type MarkMessagesAsReadByTokenRequest = {
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * Token used to mark messages as read.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          markAsReadToken: string;
                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                          • See Also

                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/messaging-api/#mark-as-read-request-body

                                                                                                                                                                                                                                                                                          type MarkMessagesAsReadRequest

                                                                                                                                                                                                                                                                                          type MarkMessagesAsReadRequest = {
                                                                                                                                                                                                                                                                                          chat: ChatReference;
                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                          • See Also

                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read

                                                                                                                                                                                                                                                                                          type Membership

                                                                                                                                                                                                                                                                                          type Membership = {
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * Membership plan ID.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          membershipId: number;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * Membership plan name.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          title: string;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * Membership plan description.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          description: string;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * List of membership plan perks.
                                                                                                                                                                                                                                                                                          * @minItems 1
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          benefits: Array<string>;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * Monthly fee for membership plan. (e.g. 1500.00)
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          price: number;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * The currency of membership.price.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          currency: Membership.CurrencyEnum;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * Number of members subscribed to the membership plan.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          memberCount: number;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * The upper limit of members who can subscribe. If no upper limit is set, it will be null.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          memberLimit: number | null;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * Payment method for users who subscribe to a membership plan.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          isInAppPurchase: boolean;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * Membership plan status.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          isPublished: boolean;
                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                          • 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.

                                                                                                                                                                                                                                                                                          type MembershipListResponse

                                                                                                                                                                                                                                                                                          type MembershipListResponse = {
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * List of membership information
                                                                                                                                                                                                                                                                                          * @minItems 0
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          memberships: Array<Membership>;
                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                          • List of memberships

                                                                                                                                                                                                                                                                                          type MembersIdsResponse

                                                                                                                                                                                                                                                                                          type MembersIdsResponse = {
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * List of user IDs of members in the group chat. Only users of LINE for iOS and LINE for Android are included in `memberIds`.
                                                                                                                                                                                                                                                                                          * @maxItems 100
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          memberIds: Array<string>;
                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                          * A continuation token to get the next array of user IDs of the members in the group chat. Returned only when there are remaining user IDs that were not returned in `memberIds` in the original request.
                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                          next?: string;
                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                          • 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.

                                                                                                                                                                                                                                                                                          type MentionSubstitutionObject

                                                                                                                                                                                                                                                                                          type MentionSubstitutionObject = SubstitutionObjectBase & {
                                                                                                                                                                                                                                                                                          type: 'mention';
                                                                                                                                                                                                                                                                                          mentionee: MentionTarget;
                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                          • An object representing a mention substitution.

                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/messaging-api/#text-message-v2-mention-object

                                                                                                                                                                                                                                                                                          type MentionTarget

                                                                                                                                                                                                                                                                                          type MentionTarget = AllMentionTarget | UserMentionTarget;

                                                                                                                                                                                                                                                                                            type MentionTargetBase

                                                                                                                                                                                                                                                                                            type MentionTargetBase = {
                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                            * Target to be mentioned
                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                            type: string;
                                                                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                                                                              type Message

                                                                                                                                                                                                                                                                                              type Message =
                                                                                                                                                                                                                                                                                              | AudioMessage
                                                                                                                                                                                                                                                                                              | CouponMessage
                                                                                                                                                                                                                                                                                              | FlexMessage
                                                                                                                                                                                                                                                                                              | ImageMessage
                                                                                                                                                                                                                                                                                              | ImagemapMessage
                                                                                                                                                                                                                                                                                              | LocationMessage
                                                                                                                                                                                                                                                                                              | StickerMessage
                                                                                                                                                                                                                                                                                              | TemplateMessage
                                                                                                                                                                                                                                                                                              | TextMessage
                                                                                                                                                                                                                                                                                              | TextMessageV2
                                                                                                                                                                                                                                                                                              | VideoMessage;
                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#message-common-properties

                                                                                                                                                                                                                                                                                              type MessageAction

                                                                                                                                                                                                                                                                                              type MessageAction = ActionBase & {
                                                                                                                                                                                                                                                                                              type: 'message';
                                                                                                                                                                                                                                                                                              text?: string;
                                                                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                                                                type MessageBase

                                                                                                                                                                                                                                                                                                type MessageBase = {
                                                                                                                                                                                                                                                                                                /**
                                                                                                                                                                                                                                                                                                * Type of message
                                                                                                                                                                                                                                                                                                */
                                                                                                                                                                                                                                                                                                type: string;
                                                                                                                                                                                                                                                                                                quickReply?: QuickReply;
                                                                                                                                                                                                                                                                                                sender?: Sender;
                                                                                                                                                                                                                                                                                                };

                                                                                                                                                                                                                                                                                                  type MessageImagemapAction

                                                                                                                                                                                                                                                                                                  type MessageImagemapAction = ImagemapActionBase & {
                                                                                                                                                                                                                                                                                                  type: 'message';
                                                                                                                                                                                                                                                                                                  text: string;
                                                                                                                                                                                                                                                                                                  label?: string;
                                                                                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                                                                                    type MessageQuotaResponse

                                                                                                                                                                                                                                                                                                    type MessageQuotaResponse = {
                                                                                                                                                                                                                                                                                                    type: QuotaType;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * The target limit for sending messages in the current month. This property is returned when the `type` property has a value of `limited`.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    value?: number;
                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#get-quota

                                                                                                                                                                                                                                                                                                    type MessagingApiPagerCouponListResponse

                                                                                                                                                                                                                                                                                                    type MessagingApiPagerCouponListResponse = {
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * List of coupon summary objects.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    items: Array<CouponListResponse>;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * Token for fetching the next page of results.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    next?: string;
                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                    • Paginated response object containing a list of coupons.

                                                                                                                                                                                                                                                                                                    type MulticastRequest

                                                                                                                                                                                                                                                                                                    type MulticastRequest = {
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * Messages to send
                                                                                                                                                                                                                                                                                                    * @minItems 1
                                                                                                                                                                                                                                                                                                    * @maxItems 5
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    messages: Array<Message>;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * Array of user IDs. Use userId values which are returned in webhook event objects. Do not use LINE IDs found on LINE.
                                                                                                                                                                                                                                                                                                    * @minItems 1
                                                                                                                                                                                                                                                                                                    * @maxItems 500
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    to: Array<string>;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
                                                                                                                                                                                                                                                                                                    * @default false
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    notificationDisabled?: boolean;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * Name of aggregation unit. Case-sensitive.
                                                                                                                                                                                                                                                                                                    * @maxItems 1
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    customAggregationUnits?: Array<string>;
                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#send-multicast-message

                                                                                                                                                                                                                                                                                                    type NarrowcastProgressResponse

                                                                                                                                                                                                                                                                                                    type NarrowcastProgressResponse = {
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * The current status. One of: `waiting`: Messages are not yet ready to be sent. They are currently being filtered or processed in some way. `sending`: Messages are currently being sent. `succeeded`: Messages were sent successfully. This may not mean the messages were successfully received. `failed`: Messages failed to be sent. Use the failedDescription property to find the cause of the failure.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    phase: NarrowcastProgressResponse.PhaseEnum;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * The number of users who successfully received the message.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    successCount?: number;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * The number of users who failed to send the message.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    failureCount?: number;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * The number of intended recipients of the message.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    targetCount?: number;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * The reason the message failed to be sent. This is only included with a `phase` property value of `failed`.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    failedDescription?: string;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * Error summary. This is only included with a phase property value of failed. One of: `1`: An internal error occurred. `2`: An error occurred because there weren't enough recipients. `3`: A conflict error of requests occurs because a request that has already been accepted is retried. `4`: An audience of less than 50 recipients is included as a condition of sending. `5`: Message delivery has been canceled to prevent messages from being delivered only to a subset of the target audience.
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    errorCode?: number;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * Narrowcast message request accepted time in milliseconds. Format: ISO 8601 (e.g. 2020-12-03T10:15:30.121Z) Timezone: UTC
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    acceptedTime: Date;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * Processing of narrowcast message request completion time in milliseconds. Returned when the phase property is succeeded or failed. Format: ISO 8601 (e.g. 2020-12-03T10:15:30.121Z) Timezone: UTC
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    completedTime?: Date;
                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status

                                                                                                                                                                                                                                                                                                    type NarrowcastRequest

                                                                                                                                                                                                                                                                                                    type NarrowcastRequest = {
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * List of Message objects.
                                                                                                                                                                                                                                                                                                    * @minItems 1
                                                                                                                                                                                                                                                                                                    * @maxItems 5
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    messages: Array<Message>;
                                                                                                                                                                                                                                                                                                    recipient?: Recipient;
                                                                                                                                                                                                                                                                                                    filter?: Filter;
                                                                                                                                                                                                                                                                                                    limit?: Limit;
                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                    * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
                                                                                                                                                                                                                                                                                                    * @default false
                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                    notificationDisabled?: boolean;
                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message

                                                                                                                                                                                                                                                                                                    type NormalAcquisitionConditionRequest

                                                                                                                                                                                                                                                                                                    type NormalAcquisitionConditionRequest = AcquisitionConditionRequestBase & {
                                                                                                                                                                                                                                                                                                    type: 'normal';
                                                                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                                                                      type NormalAcquisitionConditionResponse

                                                                                                                                                                                                                                                                                                      type NormalAcquisitionConditionResponse = AcquisitionConditionResponseBase & {
                                                                                                                                                                                                                                                                                                      type: 'normal';
                                                                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                                                                        type NumberOfMessagesResponse

                                                                                                                                                                                                                                                                                                        type NumberOfMessagesResponse = {
                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                        * Aggregation process status. One of: `ready`: The number of messages can be obtained. `unready`: We haven't finished calculating the number of sent messages for the specified in date. For example, this property is returned when the delivery date or a future date is specified. Calculation usually takes about a day. `unavailable_for_privacy`: The total number of messages on the specified day is less than 20. `out_of_service`: The specified date is earlier than the date on which we first started calculating sent messages (March 31, 2018).
                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                        status: NumberOfMessagesResponse.StatusEnum;
                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                        * The number of messages delivered using the phone number on the date specified in `date`. The response has this property only when the value of `status` is `ready`.
                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                        success?: number;
                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                        type OperatorDemographicFilter

                                                                                                                                                                                                                                                                                                        type OperatorDemographicFilter = DemographicFilterBase & {
                                                                                                                                                                                                                                                                                                        type: 'operator';
                                                                                                                                                                                                                                                                                                        and?: Array<DemographicFilter>;
                                                                                                                                                                                                                                                                                                        or?: Array<DemographicFilter>;
                                                                                                                                                                                                                                                                                                        not?: DemographicFilter;
                                                                                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                                                                                          type OperatorRecipient

                                                                                                                                                                                                                                                                                                          type OperatorRecipient = RecipientBase & {
                                                                                                                                                                                                                                                                                                          type: 'operator';
                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                          * Create a new recipient object by taking the logical conjunction (AND) of the specified array of recipient objects.
                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                          and?: Array<Recipient>;
                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                          * Create a new recipient object by taking the logical disjunction (OR) of the specified array of recipient objects.
                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                          or?: Array<Recipient>;
                                                                                                                                                                                                                                                                                                          not?: Recipient;
                                                                                                                                                                                                                                                                                                          };

                                                                                                                                                                                                                                                                                                            type PnpMessagesRequest

                                                                                                                                                                                                                                                                                                            type PnpMessagesRequest = {
                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                            * Message to be sent.
                                                                                                                                                                                                                                                                                                            * @minItems 1
                                                                                                                                                                                                                                                                                                            * @maxItems 5
                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                            messages: Array<Message>;
                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                            * Message destination. Specify a phone number that has been normalized to E.164 format and hashed with SHA256.
                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                            to: string;
                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                            * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
                                                                                                                                                                                                                                                                                                            * @default false
                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                            notificationDisabled?: boolean;
                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message

                                                                                                                                                                                                                                                                                                            type PostbackAction

                                                                                                                                                                                                                                                                                                            type PostbackAction = ActionBase & {
                                                                                                                                                                                                                                                                                                            type: 'postback';
                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                            * @minLength 0
                                                                                                                                                                                                                                                                                                            * @maxLength 300
                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                            data?: string;
                                                                                                                                                                                                                                                                                                            displayText?: string;
                                                                                                                                                                                                                                                                                                            text?: string;
                                                                                                                                                                                                                                                                                                            inputOption?: PostbackAction.InputOptionEnum;
                                                                                                                                                                                                                                                                                                            fillInText?: string;
                                                                                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                                                                                              type PushMessageRequest

                                                                                                                                                                                                                                                                                                              type PushMessageRequest = {
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * ID of the receiver.
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              to: string;
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * List of Message objects.
                                                                                                                                                                                                                                                                                                              * @minItems 1
                                                                                                                                                                                                                                                                                                              * @maxItems 5
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              messages: Array<Message>;
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
                                                                                                                                                                                                                                                                                                              * @default false
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              notificationDisabled?: boolean;
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * List of aggregation unit name. Case-sensitive. This functions can only be used by corporate users who have submitted the required applications.
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              customAggregationUnits?: Array<string>;
                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#send-push-message

                                                                                                                                                                                                                                                                                                              type PushMessageResponse

                                                                                                                                                                                                                                                                                                              type PushMessageResponse = {
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * Array of sent messages.
                                                                                                                                                                                                                                                                                                              * @minItems 1
                                                                                                                                                                                                                                                                                                              * @maxItems 5
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              sentMessages: Array<SentMessage>;
                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#send-push-message-response

                                                                                                                                                                                                                                                                                                              type QuickReply

                                                                                                                                                                                                                                                                                                              type QuickReply = {
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * Quick reply button objects.
                                                                                                                                                                                                                                                                                                              * @maxItems 13
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              items?: Array<QuickReplyItem>;
                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                              • Quick reply

                                                                                                                                                                                                                                                                                                                See Also

                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#items-object

                                                                                                                                                                                                                                                                                                              type QuickReplyItem

                                                                                                                                                                                                                                                                                                              type QuickReplyItem = {
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * URL of the icon that is displayed at the beginning of the button
                                                                                                                                                                                                                                                                                                              * @maxLength 2000
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              imageUrl?: string;
                                                                                                                                                                                                                                                                                                              action?: Action;
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * `action`
                                                                                                                                                                                                                                                                                                              * @default 'action'
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              type?: string;
                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#items-object

                                                                                                                                                                                                                                                                                                              type QuotaConsumptionResponse

                                                                                                                                                                                                                                                                                                              type QuotaConsumptionResponse = {
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * The number of sent messages in the current month
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              totalUsage: number;
                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#get-consumption

                                                                                                                                                                                                                                                                                                              type QuotaType

                                                                                                                                                                                                                                                                                                              type QuotaType = 'none' | 'limited';
                                                                                                                                                                                                                                                                                                              • One of the following values to indicate whether a target limit is set or not.

                                                                                                                                                                                                                                                                                                                See Also

                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#get-quota

                                                                                                                                                                                                                                                                                                              type Recipient

                                                                                                                                                                                                                                                                                                              type Recipient = AudienceRecipient | OperatorRecipient | RedeliveryRecipient;
                                                                                                                                                                                                                                                                                                              • Recipient

                                                                                                                                                                                                                                                                                                              type RecipientBase

                                                                                                                                                                                                                                                                                                              type RecipientBase = {
                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                              * Type of recipient
                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                              type?: string;
                                                                                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                                                                                type RedeliveryRecipient

                                                                                                                                                                                                                                                                                                                type RedeliveryRecipient = RecipientBase & {
                                                                                                                                                                                                                                                                                                                type: 'redelivery';
                                                                                                                                                                                                                                                                                                                requestId?: string;
                                                                                                                                                                                                                                                                                                                };

                                                                                                                                                                                                                                                                                                                  type ReferralAcquisitionConditionResponse

                                                                                                                                                                                                                                                                                                                  type ReferralAcquisitionConditionResponse = AcquisitionConditionResponseBase & {
                                                                                                                                                                                                                                                                                                                  type: 'referral';
                                                                                                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                                                                                                    type ReplyMessageRequest

                                                                                                                                                                                                                                                                                                                    type ReplyMessageRequest = {
                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                    * replyToken received via webhook.
                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                    replyToken: string;
                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                    * List of messages.
                                                                                                                                                                                                                                                                                                                    * @minItems 1
                                                                                                                                                                                                                                                                                                                    * @maxItems 5
                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                    messages: Array<Message>;
                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                    * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
                                                                                                                                                                                                                                                                                                                    * @default false
                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                    notificationDisabled?: boolean;
                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#send-reply-message

                                                                                                                                                                                                                                                                                                                    type ReplyMessageResponse

                                                                                                                                                                                                                                                                                                                    type ReplyMessageResponse = {
                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                    * Array of sent messages.
                                                                                                                                                                                                                                                                                                                    * @minItems 1
                                                                                                                                                                                                                                                                                                                    * @maxItems 5
                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                    sentMessages: Array<SentMessage>;
                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#send-reply-message-response

                                                                                                                                                                                                                                                                                                                    type RichMenuAliasListResponse

                                                                                                                                                                                                                                                                                                                    type RichMenuAliasListResponse = {
                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                    * Rich menu aliases.
                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                    aliases: Array<RichMenuAliasResponse>;
                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list

                                                                                                                                                                                                                                                                                                                    type RichMenuAliasResponse

                                                                                                                                                                                                                                                                                                                    type RichMenuAliasResponse = {
                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                    * Rich menu alias ID.
                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                    richMenuAliasId: string;
                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                    * The rich menu ID associated with the rich menu alias.
                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                    richMenuId: string;
                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                    • 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.

                                                                                                                                                                                                                                                                                                                    type RichMenuArea

                                                                                                                                                                                                                                                                                                                    type RichMenuArea = {
                                                                                                                                                                                                                                                                                                                    bounds?: RichMenuBounds;
                                                                                                                                                                                                                                                                                                                    action?: Action;
                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                    • Rich menu area

                                                                                                                                                                                                                                                                                                                    type RichMenuBatchLinkOperation

                                                                                                                                                                                                                                                                                                                    type RichMenuBatchLinkOperation = RichMenuBatchOperationBase & {
                                                                                                                                                                                                                                                                                                                    type: 'link';
                                                                                                                                                                                                                                                                                                                    from: string;
                                                                                                                                                                                                                                                                                                                    to: string;
                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                    • Replace the rich menu with the rich menu specified in the to property for all users linked to the rich menu specified in the from property.

                                                                                                                                                                                                                                                                                                                    type RichMenuBatchOperation

                                                                                                                                                                                                                                                                                                                    type RichMenuBatchOperation =
                                                                                                                                                                                                                                                                                                                    | RichMenuBatchLinkOperation
                                                                                                                                                                                                                                                                                                                    | RichMenuBatchUnlinkOperation
                                                                                                                                                                                                                                                                                                                    | RichMenuBatchUnlinkAllOperation;
                                                                                                                                                                                                                                                                                                                    • Rich menu operation object represents the batch operation to the rich menu linked to the user.

                                                                                                                                                                                                                                                                                                                      See Also

                                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users-operations

                                                                                                                                                                                                                                                                                                                    type RichMenuBatchOperationBase

                                                                                                                                                                                                                                                                                                                    type RichMenuBatchOperationBase = {
                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                    * The type of operation to the rich menu linked to the user. One of link, unlink, or unlinkAll.
                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                    type: string;
                                                                                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                                                                                      type RichMenuBatchProgressPhase

                                                                                                                                                                                                                                                                                                                      type RichMenuBatchProgressPhase = 'ongoing' | 'succeeded' | 'failed';
                                                                                                                                                                                                                                                                                                                      • The current status. One of: ongoing: Rich menu batch control is in progress. succeeded: Rich menu batch control is complete. failed: Rich menu batch control failed. This means that the rich menu for one or more users couldn't be controlled. There may also be users whose operations have been successfully completed.

                                                                                                                                                                                                                                                                                                                      type RichMenuBatchProgressResponse

                                                                                                                                                                                                                                                                                                                      type RichMenuBatchProgressResponse = {
                                                                                                                                                                                                                                                                                                                      phase: RichMenuBatchProgressPhase;
                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                      * The accepted time in milliseconds of the request of batch control the rich menu. Format: ISO 8601 (e.g. 2023-06-08T10:15:30.121Z) Timezone: UTC
                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                      acceptedTime: Date;
                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                      * The completed time in milliseconds of rich menu batch control. Returned when the phase property is succeeded or failed. Format: ISO 8601 (e.g. 2023-06-08T10:15:30.121Z) Timezone: UTC
                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                      completedTime?: Date;
                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status-response

                                                                                                                                                                                                                                                                                                                      type RichMenuBatchRequest

                                                                                                                                                                                                                                                                                                                      type RichMenuBatchRequest = {
                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                      * Array of Rich menu operation object...
                                                                                                                                                                                                                                                                                                                      * @maxItems 1000
                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                      operations: Array<RichMenuBatchOperation>;
                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                      * Key for retry. Key value is a string matching the regular expression pattern
                                                                                                                                                                                                                                                                                                                      * @minLength 1
                                                                                                                                                                                                                                                                                                                      * @maxLength 100
                                                                                                                                                                                                                                                                                                                      * @pattern /^[a-zA-Z0-9_-]{1,100}$/
                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                      resumeRequestKey?: string;
                                                                                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                                                                                        type RichMenuBatchUnlinkAllOperation

                                                                                                                                                                                                                                                                                                                        type RichMenuBatchUnlinkAllOperation = RichMenuBatchOperationBase & {
                                                                                                                                                                                                                                                                                                                        type: 'unlinkAll';
                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                        • Unlink the rich menu from all users linked to the rich menu.

                                                                                                                                                                                                                                                                                                                        type RichMenuBatchUnlinkOperation

                                                                                                                                                                                                                                                                                                                        type RichMenuBatchUnlinkOperation = RichMenuBatchOperationBase & {
                                                                                                                                                                                                                                                                                                                        type: 'unlink';
                                                                                                                                                                                                                                                                                                                        from: string;
                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                        • Unlink the rich menu for all users linked to the rich menu specified in the from property.

                                                                                                                                                                                                                                                                                                                        type RichMenuBounds

                                                                                                                                                                                                                                                                                                                        type RichMenuBounds = {
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Horizontal position relative to the top-left corner of the area.
                                                                                                                                                                                                                                                                                                                        * @minimum 0
                                                                                                                                                                                                                                                                                                                        * @maximum 2147483647
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        x?: number;
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Vertical position relative to the top-left corner of the area.
                                                                                                                                                                                                                                                                                                                        * @minimum 0
                                                                                                                                                                                                                                                                                                                        * @maximum 2147483647
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        y?: number;
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Width of the area.
                                                                                                                                                                                                                                                                                                                        * @minimum 1
                                                                                                                                                                                                                                                                                                                        * @maximum 2147483647
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        width?: number;
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Height of the area.
                                                                                                                                                                                                                                                                                                                        * @minimum 1
                                                                                                                                                                                                                                                                                                                        * @maximum 2147483647
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        height?: number;
                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                        • Rich menu bounds

                                                                                                                                                                                                                                                                                                                          See Also

                                                                                                                                                                                                                                                                                                                          • https://developers.line.biz/en/reference/messaging-api/#bounds-object

                                                                                                                                                                                                                                                                                                                        type RichMenuBulkLinkRequest

                                                                                                                                                                                                                                                                                                                        type RichMenuBulkLinkRequest = {
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * ID of a rich menu
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        richMenuId: string;
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Array of user IDs. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
                                                                                                                                                                                                                                                                                                                        * @minItems 1
                                                                                                                                                                                                                                                                                                                        * @maxItems 500
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        userIds: Array<string>;
                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                        • See Also

                                                                                                                                                                                                                                                                                                                          • https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users

                                                                                                                                                                                                                                                                                                                        type RichMenuBulkUnlinkRequest

                                                                                                                                                                                                                                                                                                                        type RichMenuBulkUnlinkRequest = {
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Array of user IDs. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
                                                                                                                                                                                                                                                                                                                        * @minItems 1
                                                                                                                                                                                                                                                                                                                        * @maxItems 500
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        userIds: Array<string>;
                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                        • See Also

                                                                                                                                                                                                                                                                                                                          • https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users

                                                                                                                                                                                                                                                                                                                        type RichMenuIdResponse

                                                                                                                                                                                                                                                                                                                        type RichMenuIdResponse = {
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Rich menu ID
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        richMenuId: string;
                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                        • 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.

                                                                                                                                                                                                                                                                                                                        type RichMenuListResponse

                                                                                                                                                                                                                                                                                                                        type RichMenuListResponse = {
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Rich menus
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        richmenus: Array<RichMenuResponse>;
                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                        • See Also

                                                                                                                                                                                                                                                                                                                          • https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list

                                                                                                                                                                                                                                                                                                                        type RichMenuRequest

                                                                                                                                                                                                                                                                                                                        type RichMenuRequest = {
                                                                                                                                                                                                                                                                                                                        size?: RichMenuSize;
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * `true` to display the rich menu by default. Otherwise, `false`.
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        selected?: boolean;
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Name of the rich menu. This value can be used to help manage your rich menus and is not displayed to users.
                                                                                                                                                                                                                                                                                                                        * @maxLength 300
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        name?: string;
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Text displayed in the chat bar
                                                                                                                                                                                                                                                                                                                        * @maxLength 14
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        chatBarText?: string;
                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                        * Array of area objects which define the coordinates and size of tappable areas
                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                        areas?: Array<RichMenuArea>;
                                                                                                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                                                                                                          type RichMenuResponse

                                                                                                                                                                                                                                                                                                                          type RichMenuResponse = {
                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                          * ID of a rich menu
                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                          richMenuId: string;
                                                                                                                                                                                                                                                                                                                          size: RichMenuSize;
                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                          * `true` to display the rich menu by default. Otherwise, `false`.
                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                          selected: boolean;
                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                          * Name of the rich menu. This value can be used to help manage your rich menus and is not displayed to users.
                                                                                                                                                                                                                                                                                                                          * @maxLength 300
                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                          name: string;
                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                          * Text displayed in the chat bar
                                                                                                                                                                                                                                                                                                                          * @maxLength 14
                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                          chatBarText: string;
                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                          * Array of area objects which define the coordinates and size of tappable areas
                                                                                                                                                                                                                                                                                                                          * @maxItems 20
                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                          areas: Array<RichMenuArea>;
                                                                                                                                                                                                                                                                                                                          };

                                                                                                                                                                                                                                                                                                                            type RichMenuSize

                                                                                                                                                                                                                                                                                                                            type RichMenuSize = {
                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                            * width
                                                                                                                                                                                                                                                                                                                            * @minimum 1
                                                                                                                                                                                                                                                                                                                            * @maximum 2147483647
                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                            width?: number;
                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                            * height
                                                                                                                                                                                                                                                                                                                            * @minimum 1
                                                                                                                                                                                                                                                                                                                            * @maximum 2147483647
                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                            height?: number;
                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                            • Rich menu size

                                                                                                                                                                                                                                                                                                                            type RichMenuSwitchAction

                                                                                                                                                                                                                                                                                                                            type RichMenuSwitchAction = ActionBase & {
                                                                                                                                                                                                                                                                                                                            type: 'richmenuswitch';
                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                            * @minLength 0
                                                                                                                                                                                                                                                                                                                            * @maxLength 300
                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                            data?: string;
                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                            * @minLength 0
                                                                                                                                                                                                                                                                                                                            * @maxLength 32
                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                            richMenuAliasId?: string;
                                                                                                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                                                                                                              type RoomMemberCountResponse

                                                                                                                                                                                                                                                                                                                              type RoomMemberCountResponse = {
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * The count of members in the multi-person chat. The number returned excludes the LINE Official Account.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              count: number;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#get-members-room-count

                                                                                                                                                                                                                                                                                                                              type RoomUserProfileResponse

                                                                                                                                                                                                                                                                                                                              type RoomUserProfileResponse = {
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * User's display name
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              displayName: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * User ID
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              userId: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Profile image URL. `https` image URL. Not included in the response if the user doesn't have a profile image.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              pictureUrl?: string;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile

                                                                                                                                                                                                                                                                                                                              type Sender

                                                                                                                                                                                                                                                                                                                              type Sender = {
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Display name. Certain words such as `LINE` may not be used.
                                                                                                                                                                                                                                                                                                                              * @maxLength 20
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              name?: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * URL of the image to display as an icon when sending a message
                                                                                                                                                                                                                                                                                                                              * @maxLength 2000
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              iconUrl?: string;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • Change icon and display name

                                                                                                                                                                                                                                                                                                                              type SentMessage

                                                                                                                                                                                                                                                                                                                              type SentMessage = {
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * ID of the sent message.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              id: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Quote token of the message. Only included when a message object that can be specified as a quote target was sent as a push or reply message.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              quoteToken?: string;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • 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.

                                                                                                                                                                                                                                                                                                                              type SetWebhookEndpointRequest

                                                                                                                                                                                                                                                                                                                              type SetWebhookEndpointRequest = {
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * A valid webhook URL.
                                                                                                                                                                                                                                                                                                                              * @minLength 0
                                                                                                                                                                                                                                                                                                                              * @maxLength 500
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              endpoint: string;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url

                                                                                                                                                                                                                                                                                                                              type ShowLoadingAnimationRequest

                                                                                                                                                                                                                                                                                                                              type ShowLoadingAnimationRequest = {
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * User ID of the target user for whom the loading animation is to be displayed.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              chatId: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * The number of seconds to display the loading indicator. It must be a multiple of 5. The maximum value is 60 seconds.
                                                                                                                                                                                                                                                                                                                              * @minimum 5
                                                                                                                                                                                                                                                                                                                              * @maximum 60
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              loadingSeconds?: number;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator-request-body

                                                                                                                                                                                                                                                                                                                              type StickerMessage

                                                                                                                                                                                                                                                                                                                              type StickerMessage = MessageBase & {
                                                                                                                                                                                                                                                                                                                              type: 'sticker';
                                                                                                                                                                                                                                                                                                                              packageId: string;
                                                                                                                                                                                                                                                                                                                              stickerId: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Quote token of the message you want to quote.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              quoteToken?: string;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#sticker-message

                                                                                                                                                                                                                                                                                                                              type SubscribedMembershipPlan

                                                                                                                                                                                                                                                                                                                              type SubscribedMembershipPlan = {
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Membership plan ID.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              membershipId: number;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Membership plan name.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              title: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Membership plan description.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              description: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * List of membership plan perks.
                                                                                                                                                                                                                                                                                                                              * @minItems 1
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              benefits: Array<string>;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Monthly fee for membership plan. (e.g. 1500.00)
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              price: number;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * The currency of membership.price.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              currency: SubscribedMembershipPlan.CurrencyEnum;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • Object containing information about the membership plan.

                                                                                                                                                                                                                                                                                                                              type SubscribedMembershipUser

                                                                                                                                                                                                                                                                                                                              type SubscribedMembershipUser = {
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * The user's member number in the membership plan.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              membershipNo: number;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * UNIX timestamp at which the user subscribed to the membership.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              joinedTime: number;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * Next payment date for membership plan. - Format: yyyy-MM-dd (e.g. 2024-02-08) - Timezone: UTC+9
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              nextBillingDate: string;
                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                              * The period of time in months that the user has been subscribed to a membership plan. If a user previously canceled and then re-subscribed to the same membership plan, only the period after the re-subscription will be counted.
                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                              totalSubscriptionMonths: number;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • Object containing user membership subscription information.

                                                                                                                                                                                                                                                                                                                              type Subscription

                                                                                                                                                                                                                                                                                                                              type Subscription = {
                                                                                                                                                                                                                                                                                                                              membership: SubscribedMembershipPlan;
                                                                                                                                                                                                                                                                                                                              user: SubscribedMembershipUser;
                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                              • An array of memberships.

                                                                                                                                                                                                                                                                                                                              type SubscriptionPeriodDemographic

                                                                                                                                                                                                                                                                                                                              type SubscriptionPeriodDemographic =
                                                                                                                                                                                                                                                                                                                              | 'day_7'
                                                                                                                                                                                                                                                                                                                              | 'day_30'
                                                                                                                                                                                                                                                                                                                              | 'day_90'
                                                                                                                                                                                                                                                                                                                              | 'day_180'
                                                                                                                                                                                                                                                                                                                              | 'day_365';
                                                                                                                                                                                                                                                                                                                              • 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.

                                                                                                                                                                                                                                                                                                                              type SubscriptionPeriodDemographicFilter

                                                                                                                                                                                                                                                                                                                              type SubscriptionPeriodDemographicFilter = DemographicFilterBase & {
                                                                                                                                                                                                                                                                                                                              type: 'subscriptionPeriod';
                                                                                                                                                                                                                                                                                                                              gte?: SubscriptionPeriodDemographic;
                                                                                                                                                                                                                                                                                                                              lt?: SubscriptionPeriodDemographic;
                                                                                                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                                                                                                type SubstitutionObject

                                                                                                                                                                                                                                                                                                                                type SubstitutionObject = EmojiSubstitutionObject | MentionSubstitutionObject;
                                                                                                                                                                                                                                                                                                                                • An object that defines the replacement value for a placeholder in the text.

                                                                                                                                                                                                                                                                                                                                type SubstitutionObjectBase

                                                                                                                                                                                                                                                                                                                                type SubstitutionObjectBase = {
                                                                                                                                                                                                                                                                                                                                /**
                                                                                                                                                                                                                                                                                                                                * Type of substitution object
                                                                                                                                                                                                                                                                                                                                */
                                                                                                                                                                                                                                                                                                                                type: string;
                                                                                                                                                                                                                                                                                                                                };

                                                                                                                                                                                                                                                                                                                                  type Template

                                                                                                                                                                                                                                                                                                                                  type Template =
                                                                                                                                                                                                                                                                                                                                  | ButtonsTemplate
                                                                                                                                                                                                                                                                                                                                  | CarouselTemplate
                                                                                                                                                                                                                                                                                                                                  | ConfirmTemplate
                                                                                                                                                                                                                                                                                                                                  | ImageCarouselTemplate;

                                                                                                                                                                                                                                                                                                                                    type TemplateBase

                                                                                                                                                                                                                                                                                                                                    type TemplateBase = {
                                                                                                                                                                                                                                                                                                                                    type: string;
                                                                                                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                                                                                                      type TemplateImageAspectRatio

                                                                                                                                                                                                                                                                                                                                      type TemplateImageAspectRatio = 'rectangle' | 'square';
                                                                                                                                                                                                                                                                                                                                      • Aspect ratio of the image. This is only for the imageAspectRatio in ButtonsTemplate. Specify one of the following values: rectangle: 1.51:1 square: 1:1

                                                                                                                                                                                                                                                                                                                                      type TemplateImageSize

                                                                                                                                                                                                                                                                                                                                      type TemplateImageSize = 'cover' | 'contain';
                                                                                                                                                                                                                                                                                                                                      • Size of the image. This is only for the imageSize in ButtonsTemplate. Specify one of the following values: cover: The image fills the entire image area. Parts of the image that do not fit in the area are not displayed. contain: The entire image is displayed in the image area. A background is displayed in the unused areas to the left and right of vertical images and in the areas above and below horizontal images.

                                                                                                                                                                                                                                                                                                                                      type TemplateMessage

                                                                                                                                                                                                                                                                                                                                      type TemplateMessage = MessageBase & {
                                                                                                                                                                                                                                                                                                                                      type: 'template';
                                                                                                                                                                                                                                                                                                                                      altText: string;
                                                                                                                                                                                                                                                                                                                                      template: Template;
                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#template-messages

                                                                                                                                                                                                                                                                                                                                      type TestWebhookEndpointRequest

                                                                                                                                                                                                                                                                                                                                      type TestWebhookEndpointRequest = {
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * A webhook URL to be validated.
                                                                                                                                                                                                                                                                                                                                      * @minLength 0
                                                                                                                                                                                                                                                                                                                                      * @maxLength 500
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      endpoint?: string;
                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint

                                                                                                                                                                                                                                                                                                                                      type TestWebhookEndpointResponse

                                                                                                                                                                                                                                                                                                                                      type TestWebhookEndpointResponse = {
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * Result of the communication from the LINE platform to the webhook URL.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      success?: boolean;
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * Time of the event in milliseconds. Even in the case of a redelivered webhook, it represents the time the event occurred, not the time it was redelivered.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      timestamp: Date;
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * The HTTP status code. If the webhook response isn't received, the status code is set to zero or a negative number.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      statusCode: number;
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * Reason for the response.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      reason: string;
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * Details of the response.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      detail: string;
                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint

                                                                                                                                                                                                                                                                                                                                      type TextMessage

                                                                                                                                                                                                                                                                                                                                      type TextMessage = MessageBase & {
                                                                                                                                                                                                                                                                                                                                      type: 'text';
                                                                                                                                                                                                                                                                                                                                      text: string;
                                                                                                                                                                                                                                                                                                                                      emojis?: Array<Emoji>;
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * Quote token of the message you want to quote.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      quoteToken?: string;
                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#text-message

                                                                                                                                                                                                                                                                                                                                      type TextMessageV2

                                                                                                                                                                                                                                                                                                                                      type TextMessageV2 = MessageBase & {
                                                                                                                                                                                                                                                                                                                                      type: 'textV2';
                                                                                                                                                                                                                                                                                                                                      text: string;
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * A mapping that specifies substitutions for parts enclosed in {} within the `text` field.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      substitution?: {
                                                                                                                                                                                                                                                                                                                                      [key: string]: SubstitutionObject;
                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * Quote token of the message you want to quote.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      quoteToken?: string;
                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#text-message-v2

                                                                                                                                                                                                                                                                                                                                      type UpdateRichMenuAliasRequest

                                                                                                                                                                                                                                                                                                                                      type UpdateRichMenuAliasRequest = {
                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                      * The rich menu ID to be associated with the rich menu alias.
                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                      richMenuId: string;
                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                      • See Also

                                                                                                                                                                                                                                                                                                                                        • https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias

                                                                                                                                                                                                                                                                                                                                      type URIAction

                                                                                                                                                                                                                                                                                                                                      type URIAction = ActionBase & {
                                                                                                                                                                                                                                                                                                                                      type: 'uri';
                                                                                                                                                                                                                                                                                                                                      uri?: string;
                                                                                                                                                                                                                                                                                                                                      altUri?: AltUri;
                                                                                                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                                                                                                        type URIImagemapAction

                                                                                                                                                                                                                                                                                                                                        type URIImagemapAction = ImagemapActionBase & {
                                                                                                                                                                                                                                                                                                                                        type: 'uri';
                                                                                                                                                                                                                                                                                                                                        linkUri: string;
                                                                                                                                                                                                                                                                                                                                        label?: string;
                                                                                                                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                                                                                                                          type UserMentionTarget

                                                                                                                                                                                                                                                                                                                                          type UserMentionTarget = MentionTargetBase & {
                                                                                                                                                                                                                                                                                                                                          type: 'user';
                                                                                                                                                                                                                                                                                                                                          userId: string;
                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                          • See Also

                                                                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/messaging-api/#text-message-v2-mentionee-user

                                                                                                                                                                                                                                                                                                                                          type UserProfileResponse

                                                                                                                                                                                                                                                                                                                                          type UserProfileResponse = {
                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                          * User's display name
                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                          displayName: string;
                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                          * User ID
                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                          userId: string;
                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                          * Profile image URL. `https` image URL. Not included in the response if the user doesn't have a profile image.
                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                          pictureUrl?: string;
                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                          * User's status message. Not included in the response if the user doesn't have a status message.
                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                          statusMessage?: string;
                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                          * User's language, as a BCP 47 language tag. Not included in the response if the user hasn't yet consented to the LINE Privacy Policy.
                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                          language?: string;
                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                          • See Also

                                                                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/messaging-api/#get-profile

                                                                                                                                                                                                                                                                                                                                          type ValidateMessageRequest

                                                                                                                                                                                                                                                                                                                                          type ValidateMessageRequest = {
                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                          * Array of message objects to validate
                                                                                                                                                                                                                                                                                                                                          * @minItems 1
                                                                                                                                                                                                                                                                                                                                          * @maxItems 5
                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                          messages: Array<Message>;
                                                                                                                                                                                                                                                                                                                                          };

                                                                                                                                                                                                                                                                                                                                            type VideoMessage

                                                                                                                                                                                                                                                                                                                                            type VideoMessage = MessageBase & {
                                                                                                                                                                                                                                                                                                                                            type: 'video';
                                                                                                                                                                                                                                                                                                                                            originalContentUrl: string;
                                                                                                                                                                                                                                                                                                                                            previewImageUrl: string;
                                                                                                                                                                                                                                                                                                                                            trackingId?: string;
                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#video-message

                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.AgeDemographicFilter

                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.AgeDemographicFilter {}

                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.BotInfoResponse

                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.BotInfoResponse {}

                                                                                                                                                                                                                                                                                                                                                type ChatModeEnum

                                                                                                                                                                                                                                                                                                                                                type ChatModeEnum = 'chat' | 'bot';

                                                                                                                                                                                                                                                                                                                                                  type MarkAsReadModeEnum

                                                                                                                                                                                                                                                                                                                                                  type MarkAsReadModeEnum = 'auto' | 'manual';

                                                                                                                                                                                                                                                                                                                                                    namespace messagingApi.CashBackFixedPriceInfoResponse

                                                                                                                                                                                                                                                                                                                                                    namespace messagingApi.CashBackFixedPriceInfoResponse {}

                                                                                                                                                                                                                                                                                                                                                      type CurrencyEnum

                                                                                                                                                                                                                                                                                                                                                      type CurrencyEnum = 'JPY' | 'THB' | 'TWD';

                                                                                                                                                                                                                                                                                                                                                        namespace messagingApi.CouponCreateRequest

                                                                                                                                                                                                                                                                                                                                                        namespace messagingApi.CouponCreateRequest {}

                                                                                                                                                                                                                                                                                                                                                          type TimezoneEnum

                                                                                                                                                                                                                                                                                                                                                          type TimezoneEnum =
                                                                                                                                                                                                                                                                                                                                                          | 'ETC_GMT_MINUS_12'
                                                                                                                                                                                                                                                                                                                                                          | 'ETC_GMT_MINUS_11'
                                                                                                                                                                                                                                                                                                                                                          | 'PACIFIC_HONOLULU'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_ANCHORAGE'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_LOS_ANGELES'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_PHOENIX'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_CHICAGO'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_NEW_YORK'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_CARACAS'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_SANTIAGO'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_ST_JOHNS'
                                                                                                                                                                                                                                                                                                                                                          | 'AMERICA_SAO_PAULO'
                                                                                                                                                                                                                                                                                                                                                          | 'ETC_GMT_MINUS_2'
                                                                                                                                                                                                                                                                                                                                                          | 'ATLANTIC_CAPE_VERDE'
                                                                                                                                                                                                                                                                                                                                                          | 'EUROPE_LONDON'
                                                                                                                                                                                                                                                                                                                                                          | 'EUROPE_PARIS'
                                                                                                                                                                                                                                                                                                                                                          | 'EUROPE_ISTANBUL'
                                                                                                                                                                                                                                                                                                                                                          | 'EUROPE_MOSCOW'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_TEHRAN'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_TBILISI'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_KABUL'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_TASHKENT'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_COLOMBO'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_KATHMANDU'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_ALMATY'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_RANGOON'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_BANGKOK'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_TAIPEI'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_TOKYO'
                                                                                                                                                                                                                                                                                                                                                          | 'AUSTRALIA_DARWIN'
                                                                                                                                                                                                                                                                                                                                                          | 'AUSTRALIA_SYDNEY'
                                                                                                                                                                                                                                                                                                                                                          | 'ASIA_VLADIVOSTOK'
                                                                                                                                                                                                                                                                                                                                                          | 'ETC_GMT_PLUS_12'
                                                                                                                                                                                                                                                                                                                                                          | 'PACIFIC_TONGATAPU';

                                                                                                                                                                                                                                                                                                                                                            type VisibilityEnum

                                                                                                                                                                                                                                                                                                                                                            type VisibilityEnum = 'UNLISTED' | 'PUBLIC';

                                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.CouponResponse

                                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.CouponResponse {}

                                                                                                                                                                                                                                                                                                                                                                type StatusEnum

                                                                                                                                                                                                                                                                                                                                                                type StatusEnum = 'DRAFT' | 'RUNNING' | 'CLOSED';

                                                                                                                                                                                                                                                                                                                                                                  type TimezoneEnum

                                                                                                                                                                                                                                                                                                                                                                  type TimezoneEnum =
                                                                                                                                                                                                                                                                                                                                                                  | 'ETC_GMT_MINUS_12'
                                                                                                                                                                                                                                                                                                                                                                  | 'ETC_GMT_MINUS_11'
                                                                                                                                                                                                                                                                                                                                                                  | 'PACIFIC_HONOLULU'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_ANCHORAGE'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_LOS_ANGELES'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_PHOENIX'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_CHICAGO'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_NEW_YORK'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_CARACAS'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_SANTIAGO'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_ST_JOHNS'
                                                                                                                                                                                                                                                                                                                                                                  | 'AMERICA_SAO_PAULO'
                                                                                                                                                                                                                                                                                                                                                                  | 'ETC_GMT_MINUS_2'
                                                                                                                                                                                                                                                                                                                                                                  | 'ATLANTIC_CAPE_VERDE'
                                                                                                                                                                                                                                                                                                                                                                  | 'EUROPE_LONDON'
                                                                                                                                                                                                                                                                                                                                                                  | 'EUROPE_PARIS'
                                                                                                                                                                                                                                                                                                                                                                  | 'EUROPE_ISTANBUL'
                                                                                                                                                                                                                                                                                                                                                                  | 'EUROPE_MOSCOW'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_TEHRAN'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_TBILISI'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_KABUL'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_TASHKENT'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_COLOMBO'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_KATHMANDU'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_ALMATY'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_RANGOON'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_BANGKOK'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_TAIPEI'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_TOKYO'
                                                                                                                                                                                                                                                                                                                                                                  | 'AUSTRALIA_DARWIN'
                                                                                                                                                                                                                                                                                                                                                                  | 'AUSTRALIA_SYDNEY'
                                                                                                                                                                                                                                                                                                                                                                  | 'ASIA_VLADIVOSTOK'
                                                                                                                                                                                                                                                                                                                                                                  | 'ETC_GMT_PLUS_12'
                                                                                                                                                                                                                                                                                                                                                                  | 'PACIFIC_TONGATAPU';

                                                                                                                                                                                                                                                                                                                                                                    type VisibilityEnum

                                                                                                                                                                                                                                                                                                                                                                    type VisibilityEnum = 'UNLISTED' | 'PUBLIC' | 'PRIVATE';

                                                                                                                                                                                                                                                                                                                                                                      namespace messagingApi.DatetimePickerAction

                                                                                                                                                                                                                                                                                                                                                                      namespace messagingApi.DatetimePickerAction {}

                                                                                                                                                                                                                                                                                                                                                                        type ModeEnum

                                                                                                                                                                                                                                                                                                                                                                        type ModeEnum = 'date' | 'time' | 'datetime';

                                                                                                                                                                                                                                                                                                                                                                          namespace messagingApi.DiscountExplicitPriceInfoResponse

                                                                                                                                                                                                                                                                                                                                                                          namespace messagingApi.DiscountExplicitPriceInfoResponse {}

                                                                                                                                                                                                                                                                                                                                                                            type CurrencyEnum

                                                                                                                                                                                                                                                                                                                                                                            type CurrencyEnum = 'JPY' | 'THB' | 'TWD';

                                                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.DiscountFixedPriceInfoResponse

                                                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.DiscountFixedPriceInfoResponse {}

                                                                                                                                                                                                                                                                                                                                                                                type CurrencyEnum

                                                                                                                                                                                                                                                                                                                                                                                type CurrencyEnum = 'JPY' | 'THB' | 'TWD';

                                                                                                                                                                                                                                                                                                                                                                                  namespace messagingApi.FlexBox

                                                                                                                                                                                                                                                                                                                                                                                  namespace messagingApi.FlexBox {}

                                                                                                                                                                                                                                                                                                                                                                                    type AlignItemsEnum

                                                                                                                                                                                                                                                                                                                                                                                    type AlignItemsEnum = 'center' | 'flex-start' | 'flex-end';

                                                                                                                                                                                                                                                                                                                                                                                      type JustifyContentEnum

                                                                                                                                                                                                                                                                                                                                                                                      type JustifyContentEnum =
                                                                                                                                                                                                                                                                                                                                                                                      | 'center'
                                                                                                                                                                                                                                                                                                                                                                                      | 'flex-start'
                                                                                                                                                                                                                                                                                                                                                                                      | 'flex-end'
                                                                                                                                                                                                                                                                                                                                                                                      | 'space-between'
                                                                                                                                                                                                                                                                                                                                                                                      | 'space-around'
                                                                                                                                                                                                                                                                                                                                                                                      | 'space-evenly';

                                                                                                                                                                                                                                                                                                                                                                                        type LayoutEnum

                                                                                                                                                                                                                                                                                                                                                                                        type LayoutEnum = 'horizontal' | 'vertical' | 'baseline';

                                                                                                                                                                                                                                                                                                                                                                                          type PositionEnum

                                                                                                                                                                                                                                                                                                                                                                                          type PositionEnum = 'relative' | 'absolute';

                                                                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.FlexBubble

                                                                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.FlexBubble {}

                                                                                                                                                                                                                                                                                                                                                                                              type DirectionEnum

                                                                                                                                                                                                                                                                                                                                                                                              type DirectionEnum = 'ltr' | 'rtl';

                                                                                                                                                                                                                                                                                                                                                                                                type SizeEnum

                                                                                                                                                                                                                                                                                                                                                                                                type SizeEnum = 'nano' | 'micro' | 'deca' | 'hecto' | 'kilo' | 'mega' | 'giga';

                                                                                                                                                                                                                                                                                                                                                                                                  namespace messagingApi.FlexButton

                                                                                                                                                                                                                                                                                                                                                                                                  namespace messagingApi.FlexButton {}

                                                                                                                                                                                                                                                                                                                                                                                                    type AdjustModeEnum

                                                                                                                                                                                                                                                                                                                                                                                                    type AdjustModeEnum = 'shrink-to-fit';

                                                                                                                                                                                                                                                                                                                                                                                                      type GravityEnum

                                                                                                                                                                                                                                                                                                                                                                                                      type GravityEnum = 'top' | 'bottom' | 'center';

                                                                                                                                                                                                                                                                                                                                                                                                        type HeightEnum

                                                                                                                                                                                                                                                                                                                                                                                                        type HeightEnum = 'md' | 'sm';

                                                                                                                                                                                                                                                                                                                                                                                                          type PositionEnum

                                                                                                                                                                                                                                                                                                                                                                                                          type PositionEnum = 'relative' | 'absolute';

                                                                                                                                                                                                                                                                                                                                                                                                            type StyleEnum

                                                                                                                                                                                                                                                                                                                                                                                                            type StyleEnum = 'primary' | 'secondary' | 'link';

                                                                                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.FlexIcon

                                                                                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.FlexIcon {}

                                                                                                                                                                                                                                                                                                                                                                                                                type PositionEnum

                                                                                                                                                                                                                                                                                                                                                                                                                type PositionEnum = 'relative' | 'absolute';

                                                                                                                                                                                                                                                                                                                                                                                                                  namespace messagingApi.FlexImage

                                                                                                                                                                                                                                                                                                                                                                                                                  namespace messagingApi.FlexImage {}

                                                                                                                                                                                                                                                                                                                                                                                                                    type AlignEnum

                                                                                                                                                                                                                                                                                                                                                                                                                    type AlignEnum = 'start' | 'end' | 'center';

                                                                                                                                                                                                                                                                                                                                                                                                                      type AspectModeEnum

                                                                                                                                                                                                                                                                                                                                                                                                                      type AspectModeEnum = 'fit' | 'cover';

                                                                                                                                                                                                                                                                                                                                                                                                                        type GravityEnum

                                                                                                                                                                                                                                                                                                                                                                                                                        type GravityEnum = 'top' | 'bottom' | 'center';

                                                                                                                                                                                                                                                                                                                                                                                                                          type PositionEnum

                                                                                                                                                                                                                                                                                                                                                                                                                          type PositionEnum = 'relative' | 'absolute';

                                                                                                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.FlexSpan

                                                                                                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.FlexSpan {}

                                                                                                                                                                                                                                                                                                                                                                                                                              type DecorationEnum

                                                                                                                                                                                                                                                                                                                                                                                                                              type DecorationEnum = 'none' | 'underline' | 'line-through';

                                                                                                                                                                                                                                                                                                                                                                                                                                type StyleEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                type StyleEnum = 'normal' | 'italic';

                                                                                                                                                                                                                                                                                                                                                                                                                                  type WeightEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                  type WeightEnum = 'regular' | 'bold';

                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace messagingApi.FlexText

                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace messagingApi.FlexText {}

                                                                                                                                                                                                                                                                                                                                                                                                                                      type AdjustModeEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                      type AdjustModeEnum = 'shrink-to-fit';

                                                                                                                                                                                                                                                                                                                                                                                                                                        type AlignEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                        type AlignEnum = 'start' | 'end' | 'center';

                                                                                                                                                                                                                                                                                                                                                                                                                                          type DecorationEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                          type DecorationEnum = 'none' | 'underline' | 'line-through';

                                                                                                                                                                                                                                                                                                                                                                                                                                            type GravityEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                            type GravityEnum = 'top' | 'bottom' | 'center';

                                                                                                                                                                                                                                                                                                                                                                                                                                              type PositionEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                              type PositionEnum = 'relative' | 'absolute';

                                                                                                                                                                                                                                                                                                                                                                                                                                                type StyleEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                type StyleEnum = 'normal' | 'italic';

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type WeightEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type WeightEnum = 'regular' | 'bold';

                                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace messagingApi.GetMessageContentTranscodingResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace messagingApi.GetMessageContentTranscodingResponse {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type StatusEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type StatusEnum = 'processing' | 'succeeded' | 'failed';

                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace messagingApi.Membership

                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace messagingApi.Membership {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                          type CurrencyEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                          type CurrencyEnum = 'JPY' | 'TWD' | 'THB';

                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.MessageQuotaResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.MessageQuotaResponse {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.NarrowcastProgressResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace messagingApi.NarrowcastProgressResponse {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                type PhaseEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                type PhaseEnum = 'waiting' | 'sending' | 'succeeded' | 'failed';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace messagingApi.NumberOfMessagesResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace messagingApi.NumberOfMessagesResponse {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type StatusEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type StatusEnum = 'ready' | 'unready' | 'unavailable_for_privacy' | 'out_of_service';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      namespace messagingApi.PostbackAction

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      namespace messagingApi.PostbackAction {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type InputOptionEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type InputOptionEnum =
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 'closeRichMenu'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 'openRichMenu'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 'openKeyboard'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 'openVoice';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace messagingApi.RichMenuBatchProgressResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace messagingApi.RichMenuBatchProgressResponse {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.SubscribedMembershipPlan

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace messagingApi.SubscribedMembershipPlan {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type CurrencyEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type CurrencyEnum = 'JPY' | 'TWD' | 'THB';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                namespace messagingApi.SubscriptionPeriodDemographicFilter

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                namespace messagingApi.SubscriptionPeriodDemographicFilter {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace moduleAttach

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  module 'dist/module-attach/api.d.ts' {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    class LineModuleAttachClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    class LineModuleAttachClient {}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    constructor

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    constructor(config: httpClientConfig);

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method attachModule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      attachModule: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      grantType: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      code: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      redirectUri: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      codeVerifier?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      clientId?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      clientSecret?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      region?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      basicSearchId?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      scope?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      brandType?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ) => Promise<AttachModuleResponse>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Attach by operation of the module channel provider

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter grantType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        authorization_code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Authorization code received from the LINE Platform.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter redirectUri

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Specify the redirect_uri specified in the URL for authentication and authorization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter codeVerifier

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Specify when using PKCE (Proof Key for Code Exchange) defined in the OAuth 2.0 extension specification as a countermeasure against authorization code interception attacks.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter clientId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Instead of using Authorization header, you can use this parameter to specify the channel ID of the module channel. You can find the channel ID of the module channel in the LINE Developers Console.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter clientSecret

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Instead of using Authorization header, you can use this parameter to specify the channel secret of the module channel. You can find the channel secret of the module channel in the LINE Developers Console.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter region

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you specified a value for region in the URL for authentication and authorization, specify the same value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter basicSearchId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter scope

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you specified a value for scope in the URL for authentication and authorization, specify the same value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter brandType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method attachModuleWithHttpInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      attachModuleWithHttpInfo: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      grantType: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      code: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      redirectUri: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      codeVerifier?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      clientId?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      clientSecret?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      region?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      basicSearchId?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      scope?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      brandType?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ) => Promise<Types.ApiResponseType<AttachModuleResponse>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Attach by operation of the module channel provider. This method includes HttpInfo object to return additional information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter grantType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        authorization_code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Authorization code received from the LINE Platform.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter redirectUri

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Specify the redirect_uri specified in the URL for authentication and authorization.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter codeVerifier

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Specify when using PKCE (Proof Key for Code Exchange) defined in the OAuth 2.0 extension specification as a countermeasure against authorization code interception attacks.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter clientId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Instead of using Authorization header, you can use this parameter to specify the channel ID of the module channel. You can find the channel ID of the module channel in the LINE Developers Console.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter clientSecret

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Instead of using Authorization header, you can use this parameter to specify the channel secret of the module channel. You can find the channel secret of the module channel in the LINE Developers Console.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter region

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you specified a value for region in the URL for authentication and authorization, specify the same value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter basicSearchId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you specified a value for basic_search_id in the URL for authentication and authorization, specify the same value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter scope

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you specified a value for scope in the URL for authentication and authorization, specify the same value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameter brandType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If you specified a value for brand_type in the URL for authentication and authorization, specify the same value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type AttachModuleResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type AttachModuleResponse = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * User ID of the bot on the LINE Official Account.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      bot_id: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Permissions (scope) granted by the LINE Official Account admin.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      scopes: Array<string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Attach by operation of the module channel provider

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      namespace moduleOperation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      module 'dist/module/api.d.ts' {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        class LineModuleClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        class LineModuleClient {}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        constructor

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        constructor(config: httpClientConfig);

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method acquireChatControl

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          acquireChatControl: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          chatId: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          acquireChatControlRequest?: AcquireChatControlRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter chatId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The userId, roomId, or groupId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter acquireChatControlRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method acquireChatControlWithHttpInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          acquireChatControlWithHttpInfo: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          chatId: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          acquireChatControlRequest?: AcquireChatControlRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • If the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will automatically switch to a Standby Channel. . This method includes HttpInfo object to return additional information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter chatId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The userId, roomId, or groupId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter acquireChatControlRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method detachModule

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          detachModule: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          detachModuleRequest?: DetachModuleRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • The module channel admin calls the Detach API to detach the module channel from a LINE Official Account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter detachModuleRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method detachModuleWithHttpInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          detachModuleWithHttpInfo: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          detachModuleRequest?: DetachModuleRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • The module channel admin calls the Detach API to detach the module channel from a LINE Official Account.. This method includes HttpInfo object to return additional information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter detachModuleRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method getModules

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          getModules: (start?: string, limit?: number) => Promise<GetModulesResponse>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter start

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all basic information about the bots in one request, include this parameter to get the remaining array.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter limit

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method getModulesWithHttpInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          getModulesWithHttpInfo: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          start?: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          limit?: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ) => Promise<Types.ApiResponseType<GetModulesResponse>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Gets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels.. This method includes HttpInfo object to return additional information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter start

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Value of the continuation token found in the next property of the JSON object returned in the response. If you can't get all basic information about the bots in one request, include this parameter to get the remaining array.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter limit

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Specify the maximum number of bots that you get basic information from. The default value is 100. Max value: 100

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method releaseChatControl

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          releaseChatControl: (chatId: string) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter chatId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The userId, roomId, or groupId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method releaseChatControlWithHttpInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          releaseChatControlWithHttpInfo: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          chatId: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • To return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API. . This method includes HttpInfo object to return additional information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameter chatId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The userId, roomId, or groupId

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type AcquireChatControlRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type AcquireChatControlRequest = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * `True`: After the time limit (ttl) has passed, the initiative (Chat Control) will return to the Primary Channel. (Default) `False`: There's no time limit and the initiative (Chat Control) doesn't change over time.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          expired?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * The time it takes for initiative (Chat Control) to return to the Primary Channel (the time that the module channel stays on the Active Channel). The value is specified in seconds. The maximum value is one year (3600 * 24 * 365). The default value is 3600 (1 hour). * Ignored if the value of expired is false.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * @maximum 31536000
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ttl?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Request entity of the Acquire Control API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/partner-docs/#acquire-control-api

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type DetachModuleRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type DetachModuleRequest = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * User ID of the LINE Official Account bot attached to the module channel.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          botId?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Unlink (detach) the module channel by the operation of the module channel administrator

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/partner-docs/#unlink-detach-module-channel-by-operation-mc-admin

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type GetModulesResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type GetModulesResponse = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Array of Bot list Item objects representing basic information about the bot.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          bots: Array<ModuleBot>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Continuation token. Used to get the next array of basic bot information. This property is only returned if there are more unreturned results.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          next?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • List of bots to which the module is attached

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ModuleBot

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ModuleBot = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Bot's user ID
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          userId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Bot's basic ID
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          basicId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Bot's premium ID. Not included in the response if the premium ID isn't set.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          premiumId?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Bot's display name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          displayName: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Profile image URL. Image URL starting with `https://`. Not included in the response if the bot doesn't have a profile image.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pictureUrl?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • basic information about the bot.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/partner-docs/#get-multiple-bot-info-api

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace shop

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module 'dist/shop/api.d.ts' {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            class ShopClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            class ShopClient {}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            constructor

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            constructor(config: httpClientConfig);

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              method missionStickerV3

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              missionStickerV3: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              missionStickerRequest: MissionStickerRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ) => Promise<Types.MessageAPIResponseBase>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Sends a mission sticker.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameter missionStickerRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              method missionStickerV3WithHttpInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              missionStickerV3WithHttpInfo: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              missionStickerRequest: MissionStickerRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ) => Promise<Types.ApiResponseType<Types.MessageAPIResponseBase>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Sends a mission sticker.. This method includes HttpInfo object to return additional information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameter missionStickerRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Documentation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ErrorResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ErrorResponse = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Message containing information about the error.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              message: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type MissionStickerRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type MissionStickerRequest = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Destination user ID
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              to: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Package ID for a set of stickers
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              productId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * `STICKER`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              productType: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * `false`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              sendPresentMessage: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Send mission stickers (v3)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/partner-docs/#send-mission-stickers-v3

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace webhook

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              module 'dist/webhook/api.d.ts' {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type AccountLinkEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type AccountLinkEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: 'accountLink';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * Reply token used to send reply message to this event. This property won't be included if linking the account has failed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                replyToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                link: LinkContent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Event object for when a user has linked their LINE account with a provider's service account. You can reply to account link events.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ActivatedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ActivatedEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: 'activated';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                chatControl: ChatControl;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • This event indicates that the module channel has been switched to Active Channel by calling the Acquire Control API. Sent to the webhook URL server of the module channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type AllMentionee

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type AllMentionee = MentioneeBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: 'all';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Mentioned target is entire group

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type AttachedModuleContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type AttachedModuleContent = ModuleContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: 'attached';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * User ID of the bot on the attached LINE Official Account
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                botId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * An array of strings indicating the scope permitted by the admin of the LINE Official Account.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                scopes: Array<string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type AudioMessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type AudioMessageContent = MessageContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type: 'audio';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  contentProvider: ContentProvider;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * Length of audio file (milliseconds)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  duration?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * Token used to mark the message as read.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  markAsReadToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type BeaconContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type BeaconContent = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Hardware ID of the beacon that was detected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    hwid: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Type of beacon event.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: BeaconContent.TypeEnum;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Device message of beacon that was detected.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    dm?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Webhook Type Definition Webhook event definition of the LINE Messaging API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The version of the OpenAPI document: 1.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type BeaconEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type BeaconEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'beacon';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Reply token used to send reply message to this event
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    replyToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    beacon: BeaconContent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Event object for when a user enters the range of a LINE Beacon. You can reply to beacon events.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type BotResumedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type BotResumedEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'botResumed';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • This event indicates that the LINE Official Account has returned from the suspended state. Sent to the webhook URL server of the module channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type BotSuspendedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type BotSuspendedEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'botSuspended';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • This event indicates that the LINE Official Account has been suspended (Suspend). Sent to the webhook URL server of the module channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type CallbackRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type CallbackRequest = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * User ID of a bot that should receive webhook events. The user ID value is a string that matches the regular expression, `U[0-9a-f]{32}`.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * @minLength 33
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * @maxLength 33
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * @pattern /^U[0-9a-f]{32}$/
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    destination: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Array of webhook event objects. The LINE Platform may send an empty array that doesn't include a webhook event object to confirm communication.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    events: Array<Event>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • The request body contains a JSON object with the user ID of a bot that should receive webhook events and an array of webhook event objects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • https://developers.line.biz/en/reference/messaging-api/#request-body

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ChatControl

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ChatControl = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    expireAt: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Webhook Type Definition Webhook event definition of the LINE Messaging API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The version of the OpenAPI document: 1.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ContentProvider

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ContentProvider = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Provider of the image file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: ContentProvider.TypeEnum;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * URL of the image file. Only included when contentProvider.type is external.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    originalContentUrl?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * URL of the preview image. Only included when contentProvider.type is external.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    previewImageUrl?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Provider of the media file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type DeactivatedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type DeactivatedEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'deactivated';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • This event indicates that the module channel has been switched to Standby Channel by calling Acquire Control API or Release Control API. Sent to the webhook URL server of the module channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type DeliveryContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type DeliveryContext = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Whether the webhook event is a redelivered one or not.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    isRedelivery: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • webhook's delivery context information

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type DetachedModuleContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type DetachedModuleContent = ModuleContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'detached';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Detached LINE Official Account bot user ID
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    botId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Reason for detaching
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    reason: DetachedModuleContent.ReasonEnum;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type Emoji

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type Emoji = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Index position for a character in text, with the first character being at position 0.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      index: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * The length of the LINE emoji string. For LINE emoji (hello), 7 is the length.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      length: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Product ID for a LINE emoji set.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      productId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * ID for a LINE emoji inside a set.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      emojiId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Webhook Type Definition Webhook event definition of the LINE Messaging API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The version of the OpenAPI document: 1.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type Event

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type Event =
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | AccountLinkEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ActivatedEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | BeaconEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | BotResumedEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | BotSuspendedEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | DeactivatedEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | PnpDeliveryCompletionEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | FollowEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | JoinEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | LeaveEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | MemberJoinedEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | MemberLeftEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | MembershipEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | MessageEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ModuleEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | PostbackEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | UnfollowEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | UnsendEvent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | VideoPlayCompleteEvent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Webhook event

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type EventBase

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type EventBase = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Type of the event
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      source?: Source;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Time of the event in milliseconds.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      timestamp: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      mode: EventMode;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Webhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      webhookEventId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      deliveryContext: DeliveryContext;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type EventMode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type EventMode = 'active' | 'standby';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Channel state.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type FileMessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type FileMessageContent = MessageContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type: 'file';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * File name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        fileName: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * File size in bytes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        fileSize: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * Token used to mark the message as read.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        markAsReadToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type FollowDetail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type FollowDetail = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Whether a user has added your LINE Official Account as a friend or unblocked.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          isUnblocked: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Webhook Type Definition Webhook event definition of the LINE Messaging API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The version of the OpenAPI document: 1.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type FollowEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type FollowEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type: 'follow';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Reply token used to send reply message to this event
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          replyToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          follow: FollowDetail;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Event object for when your LINE Official Account is added as a friend (or unblocked). You can reply to follow events.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type GroupSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type GroupSource = SourceBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type: 'group';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Group ID of the source group chat
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          groupId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * ID of the source user. Only included in message events. Only users of LINE for iOS and LINE for Android are included in userId.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          userId?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ImageMessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ImageMessageContent = MessageContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: 'image';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contentProvider: ContentProvider;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            imageSet?: ImageSet;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * Quote token to quote this message.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            quoteToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * Token used to mark the message as read.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            markAsReadToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ImageSet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ImageSet = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Image set ID. Only included when multiple images are sent simultaneously.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              id: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * An index starting from 1, indicating the image number in a set of images sent simultaneously. Only included when multiple images are sent simultaneously. However, it won't be included if the sender is using LINE 11.15 or earlier for Android.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              index?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * The total number of images sent simultaneously.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              total?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Webhook Type Definition Webhook event definition of the LINE Messaging API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The version of the OpenAPI document: 1.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type JoinedMembers

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type JoinedMembers = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Users who joined. Array of source user objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              members: Array<UserSource>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type JoinedMembershipContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type JoinedMembershipContent = MembershipContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: 'joined';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * The ID of the membership that the user joined. This is defined for each membership.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                membershipId: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type JoinEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type JoinEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type: 'join';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * Reply token used to send reply message to this event
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  replyToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Event object for when your LINE Official Account joins a group chat or multi-person chat. You can reply to join events.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type LeaveEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type LeaveEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type: 'leave';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Event object for when a user removes your LINE Official Account from a group chat or when your LINE Official Account leaves a group chat or multi-person chat.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type LeftMembers

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type LeftMembers = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * Users who left. Array of source user objects.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  members: Array<UserSource>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type LeftMembershipContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type LeftMembershipContent = MembershipContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'left';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * The ID of the membership that the user left. This is defined for each membership.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    membershipId: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type LinkContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type LinkContent = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * One of the following values to indicate whether linking the account was successful or not
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      result: LinkContent.ResultEnum;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Specified nonce (number used once) when verifying the user ID.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      nonce: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Content of the account link event.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type LocationMessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type LocationMessageContent = MessageContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type: 'location';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Title
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      title?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Address
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      address?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Latitude
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      latitude: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Longitude
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      longitude: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Token used to mark the message as read.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      markAsReadToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type MemberJoinedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type MemberJoinedEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type: 'memberJoined';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * Reply token used to send reply message to this event
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        replyToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        joined: JoinedMembers;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Event object for when a user joins a group chat or multi-person chat that the LINE Official Account is in.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type MemberLeftEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type MemberLeftEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type: 'memberLeft';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        left: LeftMembers;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Event object for when a user leaves a group chat or multi-person chat that the LINE Official Account is in.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type MembershipContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type MembershipContent =
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | JoinedMembershipContent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | LeftMembershipContent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | RenewedMembershipContent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Content of the membership event.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type MembershipContentBase

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type MembershipContentBase = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * Type of membership event.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type MembershipEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type MembershipEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type: 'membership';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Reply token used to send reply message to this event
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          replyToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          membership: MembershipContent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • This event indicates that a user has subscribed (joined), unsubscribed (left), or renewed the bot's membership.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type Mention

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type Mention = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Array of one or more mention objects. Max: 20 mentions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          mentionees: Array<Mentionee>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type Mentionee

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type Mentionee = AllMentionee | UserMentionee;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • https://developers.line.biz/en/reference/messaging-api/#wh-text

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type MentioneeBase

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type MentioneeBase = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * Mentioned target.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * Index position of the user mention for a character in text, with the first character being at position 0.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            index: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * The length of the text of the mentioned user. For a mention @example, 8 is the length.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            length: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type MessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type MessageContent =
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | AudioMessageContent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | FileMessageContent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ImageMessageContent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | LocationMessageContent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | StickerMessageContent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | TextMessageContent
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | VideoMessageContent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • https://developers.line.biz/en/reference/messaging-api/#message-event

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type MessageContentBase

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type MessageContentBase = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Type
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Message ID
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              id: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type MessageEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type MessageEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: 'message';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                replyToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                message: MessageContent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Webhook event object which contains the sent message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ModuleContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ModuleContent = AttachedModuleContent | DetachedModuleContent;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ModuleContentBase

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ModuleContentBase = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  * Type
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ModuleEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ModuleEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'module';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module: ModuleContent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • This event indicates that the module channel has been attached to the LINE Official Account. Sent to the webhook URL server of the module channel.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PnpDelivery

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PnpDelivery = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * A hashed phone number string or a string specified by `X-Line-Delivery-Tag` header
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    data: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • A delivery object containing a hashed phone number string or a string specified by X-Line-Delivery-Tag header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PnpDeliveryCompletionEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PnpDeliveryCompletionEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'delivery';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    delivery: PnpDelivery;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • When a request is made to the LINE notification messages API and delivery of the LINE notification message to the user is completed, a dedicated webhook event (delivery completion event) is sent from the LINE Platform to the webhook URL of the bot server.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PostbackContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PostbackContent = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Postback data
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    data: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    params?: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [key: string]: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Webhook Type Definition Webhook event definition of the LINE Messaging API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The version of the OpenAPI document: 1.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PostbackEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type PostbackEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'postback';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * Reply token used to send reply message to this event
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    replyToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    postback: PostbackContent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Event object for when a user performs a postback action which initiates a postback. You can reply to postback events.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type RenewedMembershipContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type RenewedMembershipContent = MembershipContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type: 'renewed';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    * The ID of the membership that the user renewed. This is defined for each membership.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    membershipId: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type RoomSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type RoomSource = SourceBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type: 'room';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * ID of the source user. Only included in message events. Only users of LINE for iOS and LINE for Android are included in userId.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      userId?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * Room ID of the source multi-person chat
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      roomId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type Source

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type Source = GroupSource | RoomSource | UserSource;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • the source of the event.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • https://developers.line.biz/en/reference/messaging-api/#source-user

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type SourceBase

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type SourceBase = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        * source type
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type StickerMessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type StickerMessageContent = MessageContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type: 'sticker';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Package ID
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          packageId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Sticker ID
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          stickerId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          stickerResourceType: StickerMessageContent.StickerResourceTypeEnum;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * 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.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * @maxItems 15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          keywords?: Array<string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Any text entered by the user. This property is only included for message stickers. Max character limit: 100
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * @maxLength 100
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          text?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Quote token to quote this message.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          quoteToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Message ID of a quoted message. Only included when the received message quotes a past message.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          quotedMessageId?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Token used to mark the message as read.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          markAsReadToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • See Also

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • https://developers.line.biz/en/reference/messaging-api/#wh-sticker

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type TextMessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type TextMessageContent = MessageContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type: 'text';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Message text.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          text: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Array of one or more LINE emoji objects. Only included in the message event when the text property contains a LINE emoji.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          emojis?: Array<Emoji>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          mention?: Mention;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Quote token to quote this message.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          quoteToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Message ID of a quoted message. Only included when the received message quotes a past message.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          quotedMessageId?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          * Token used to mark the message as read.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          markAsReadToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UnfollowEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UnfollowEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: 'unfollow';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Event object for when your LINE Official Account is blocked.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UnsendDetail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UnsendDetail = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * The message ID of the unsent message
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            messageId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Webhook Type Definition Webhook event definition of the LINE Messaging API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The version of the OpenAPI document: 1.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UnsendEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UnsendEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: 'unsend';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            unsend: UnsendDetail;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Event object for when the user unsends a message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UserMentionee

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UserMentionee = MentioneeBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: 'user';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * User ID of the mentioned user. Only included if mention.mentions[].type is user and the user consents to the LINE Official Account obtaining their user profile information.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            userId?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * Whether the mentioned user is the bot that receives the webhook.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            isSelf?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Mentioned target is user

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UserSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type UserSource = SourceBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: 'user';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            * ID of the source user
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            userId?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type VideoMessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type VideoMessageContent = MessageContentBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type: 'video';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Length of video file (milliseconds)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              duration?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              contentProvider: ContentProvider;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Quote token to quote this message.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              quoteToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              * Token used to mark the message as read.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              markAsReadToken?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type VideoPlayComplete

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type VideoPlayComplete = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * ID used to identify a video. Returns the same value as the trackingId assigned to the video message.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                trackingId: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Webhook Type Definition Webhook event definition of the LINE Messaging API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The version of the OpenAPI document: 1.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type VideoPlayCompleteEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type VideoPlayCompleteEvent = EventBase & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: 'videoPlayComplete';
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /**
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                * Reply token used to send reply message to this event
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                replyToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                videoPlayComplete: VideoPlayComplete;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Event for when a user finishes viewing a video at least once with the specified trackingId sent by the LINE Official Account.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                namespace webhook.AccountLinkEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                namespace webhook.AccountLinkEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace webhook.ActivatedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace webhook.ActivatedEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace webhook.BeaconContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace webhook.BeaconContent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type TypeEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type TypeEnum = 'enter' | 'banner' | 'stay';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace webhook.BeaconEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace webhook.BeaconEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace webhook.BotResumedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace webhook.BotResumedEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace webhook.BotSuspendedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace webhook.BotSuspendedEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace webhook.ContentProvider

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace webhook.ContentProvider {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type TypeEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type TypeEnum = 'line' | 'external';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace webhook.DeactivatedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace webhook.DeactivatedEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace webhook.DetachedModuleContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace webhook.DetachedModuleContent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ReasonEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ReasonEnum = 'bot_deleted';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace webhook.Event

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace webhook.Event {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace webhook.FollowEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace webhook.FollowEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace webhook.JoinEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace webhook.JoinEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace webhook.LeaveEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace webhook.LeaveEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                namespace webhook.LinkContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                namespace webhook.LinkContent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ResultEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ResultEnum = 'ok' | 'failed';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace webhook.MemberJoinedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    namespace webhook.MemberJoinedEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      namespace webhook.MemberLeftEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      namespace webhook.MemberLeftEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace webhook.MembershipEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace webhook.MembershipEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace webhook.MessageEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace webhook.MessageEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace webhook.ModuleEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace webhook.ModuleEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace webhook.PnpDeliveryCompletionEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              namespace webhook.PnpDeliveryCompletionEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                namespace webhook.PostbackEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                namespace webhook.PostbackEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace webhook.StickerMessageContent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  namespace webhook.StickerMessageContent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type StickerResourceTypeEnum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type StickerResourceTypeEnum =
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'STATIC'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'ANIMATION'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'SOUND'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'ANIMATION_SOUND'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'POPUP'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'POPUP_SOUND'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'CUSTOM'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'MESSAGE'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'NAME_TEXT'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 'PER_STICKER_TEXT';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      namespace webhook.UnfollowEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      namespace webhook.UnfollowEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace webhook.UnsendEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        namespace webhook.UnsendEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace webhook.VideoPlayCompleteEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          namespace webhook.VideoPlayCompleteEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Package Files (350)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Dependencies (1)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Dev Dependencies (15)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Peer Dependencies (0)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            No peer dependencies.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Badge

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@line/bot-sdk.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Markdown
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@line/bot-sdk)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • HTML
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              <a href="https://www.jsdocs.io/package/@line/bot-sdk"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>