Skip to content

@line/bot-sdk / Exports / insight

Namespace: insight

Table of contents

Namespaces

Classes

Type Aliases

Type Aliases

AgeTile

Ƭ AgeTile: Object

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 declaration

NameTypeDescription
age?AgeEnumusers' age
percentage?numberPercentage

Defined in

lib/insight/model/ageTile.ts:13

lib/insight/model/ageTile.ts:24


AppTypeTile

Ƭ AppTypeTile: Object

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 declaration

NameTypeDescription
appType?AppTypeEnumusers' OS
percentage?numberPercentage

Defined in

lib/insight/model/appTypeTile.ts:13

lib/insight/model/appTypeTile.ts:24


AreaTile

Ƭ AreaTile: Object

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 declaration

NameTypeDescription
area?stringusers' country and region
percentage?numberPercentage

Defined in

lib/insight/model/areaTile.ts:13


ErrorDetail

Ƭ ErrorDetail: Object

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 declaration

NameTypeDescription
message?stringDetails of the error. Not included in the response under certain situations.
property?stringLocation 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.

Defined in

lib/insight/model/errorDetail.ts:13


ErrorResponse

Ƭ ErrorResponse: Object

Type declaration

NameTypeDescription
details?ErrorDetail[]An array of error details. If the array is empty, this property will not be included in the response. See details Documentation
messagestringMessage containing information about the error. See message Documentation

Defined in

lib/insight/model/errorResponse.ts:15


GenderTile

Ƭ GenderTile: Object

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 declaration

NameTypeDescription
gender?GenderEnumusers' gender
percentage?numberPercentage

Defined in

lib/insight/model/genderTile.ts:13

lib/insight/model/genderTile.ts:24


GetFriendsDemographicsResponse

Ƭ GetFriendsDemographicsResponse: Object

Get friend demographics

Type declaration

NameTypeDescription
ages?AgeTile[]Percentage per age group. See ages Documentation
appTypes?AppTypeTile[]Percentage by OS. See appTypes Documentation
areas?AreaTile[]Percentage per area. See areas Documentation
available?booleantrue if friend demographic information is available. See available Documentation
genders?GenderTile[]Percentage per gender. See genders Documentation
subscriptionPeriods?SubscriptionPeriodTile[]Percentage per friendship duration. See subscriptionPeriods Documentation

Defined in

lib/insight/model/getFriendsDemographicsResponse.ts:22


GetMessageEventResponse

Ƭ GetMessageEventResponse: Object

Statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.

Type declaration

NameTypeDescription
clicks?GetMessageEventResponseClick[]Array of information about opened URLs in the message. See clicks Documentation
messages?GetMessageEventResponseMessage[]Array of information about individual message bubbles. See messages Documentation
overview?GetMessageEventResponseOverviewSee overview Documentation

Defined in

lib/insight/model/getMessageEventResponse.ts:20


GetMessageEventResponseClick

Ƭ GetMessageEventResponseClick: Object

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 declaration

NameTypeDescription
click?number | nullNumber of times the URL was opened.
seq?numberThe URL's serial number.
uniqueClick?number | nullNumber of users that opened the URL.
uniqueClickOfRequest?number | nullNumber 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.
url?stringURL.

Defined in

lib/insight/model/getMessageEventResponseClick.ts:13


GetMessageEventResponseMessage

Ƭ GetMessageEventResponseMessage: Object

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 declaration

NameTypeDescription
impression?number | nullNumber of times the bubble was displayed.
mediaPlayed?number | nullNumber of times audio or video in the bubble started playing.
mediaPlayed100Percent?number | nullNumber of times audio or video in the bubble started playing and was played 100% of the total time.
mediaPlayed25Percent?number | nullNumber of times audio or video in the bubble started playing and was played 25% of the total time.
mediaPlayed50Percent?number | nullNumber of times audio or video in the bubble started playing and was played 50% of the total time.
mediaPlayed75Percent?number | nullNumber of times audio or video in the bubble started playing and was played 75% of the total time.
seq?numberBubble's serial number.
uniqueMediaPlayed?number | nullNumber of users that started playing audio or video in the bubble.
uniqueMediaPlayed100Percent?number | nullNumber of users that started playing audio or video in the bubble and played 100% of the total time.
uniqueMediaPlayed25Percent?number | nullNumber of users that started playing audio or video in the bubble and played 25% of the total time.
uniqueMediaPlayed50Percent?number | nullNumber of users that started playing audio or video in the bubble and played 50% of the total time.
uniqueMediaPlayed75Percent?number | nullNumber of users that started playing audio or video in the bubble and played 75% of the total time.

Defined in

lib/insight/model/getMessageEventResponseMessage.ts:13


GetMessageEventResponseOverview

Ƭ GetMessageEventResponseOverview: Object

Summary of message statistics.

Type declaration

NameTypeDescription
delivered?numberNumber of messages delivered. This property shows values of less than 20. However, if all messages have not been sent, it will be null.
requestId?stringRequest ID.
timestamp?numberUNIX timestamp for message delivery time in seconds.
uniqueClick?number | nullNumber of users who opened any URL in the message.
uniqueImpression?number | nullNumber of users who opened the message, meaning they displayed at least 1 bubble.
uniqueMediaPlayed?number | nullNumber of users who started playing any video or audio in the message.
uniqueMediaPlayed100Percent?number | nullNumber of users who played the entirety of any video or audio in the message.

Defined in

lib/insight/model/getMessageEventResponseOverview.ts:16


GetNumberOfFollowersResponse

Ƭ GetNumberOfFollowersResponse: Object

Get number of followers

Type declaration

NameTypeDescription
blocks?numberThe number of users blocking the account as of the specified date. The number decreases when a user unblocks the account. See blocks Documentation
followers?numberThe 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. See followers Documentation
status?StatusEnumCalculation status. See status Documentation
targetedReaches?numberThe 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. See targetedReaches Documentation

Defined in

lib/insight/model/getNumberOfFollowersResponse.ts:16

lib/insight/model/getNumberOfFollowersResponse.ts:43


GetNumberOfMessageDeliveriesResponse

Ƭ GetNumberOfMessageDeliveriesResponse: Object

Get number of message deliveries

Type declaration

NameTypeDescription
apiBroadcast?numberNumber of broadcast messages sent with the Send broadcast message Messaging API operation. See apiBroadcast Documentation
apiMulticast?numberNumber of multicast messages sent with the Send multicast message Messaging API operation. See apiMulticast Documentation
apiNarrowcast?numberNumber of narrowcast messages sent with the Send narrowcast message Messaging API operation. See apiNarrowcast Documentation
apiPush?numberNumber of push messages sent with the Send push message Messaging API operation. See apiPush Documentation
apiReply?numberNumber of replies sent with the Send reply message Messaging API operation. See apiReply Documentation
autoResponse?numberNumber of auto-response messages sent. See autoResponse Documentation
broadcast?numberNumber of messages sent to all of this LINE Official Account's friends (broadcast messages). See broadcast Documentation
chat?numberNumber of messages sent from LINE Official Account Manager Chat screen (only available in Japanese). See chat Documentation
status?StatusEnumStatus of the counting process. See status Documentation
targeting?numberNumber of messages sent to some of this LINE Official Account's friends, based on specific attributes (targeted messages). See targeting Documentation
welcomeResponse?numberNumber of greeting messages sent. See welcomeResponse Documentation

Defined in

lib/insight/model/getNumberOfMessageDeliveriesResponse.ts:16

lib/insight/model/getNumberOfMessageDeliveriesResponse.ts:85


GetStatisticsPerUnitResponse

Ƭ GetStatisticsPerUnitResponse: Object

Response object for get statistics per unit

Type declaration

NameTypeDescription
clicksGetStatisticsPerUnitResponseClick[]Array of information about opened URLs in the message. See clicks Documentation
messagesGetStatisticsPerUnitResponseMessage[]Array of information about individual message bubbles. See messages Documentation
overviewGetStatisticsPerUnitResponseOverviewSee overview Documentation

Defined in

lib/insight/model/getStatisticsPerUnitResponse.ts:20


GetStatisticsPerUnitResponseClick

Ƭ GetStatisticsPerUnitResponseClick: Object

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 declaration

NameTypeDescription
click?number | nullNumber of times the URL in the bubble was opened. See click Documentation
seqnumberThe URL's serial number. See seq Documentation
uniqueClick?number | nullNumber of users that opened the URL in the bubble. See uniqueClick Documentation
uniqueClickOfRequest?number | nullNumber 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. See uniqueClickOfRequest Documentation
urlstringURL. See url Documentation

Defined in

lib/insight/model/getStatisticsPerUnitResponseClick.ts:13


GetStatisticsPerUnitResponseMessage

Ƭ GetStatisticsPerUnitResponseMessage: Object

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 declaration

NameTypeDescription
impression?number | nullNumber of times the bubble was displayed. See impression Documentation
mediaPlayed?number | nullNumber of times audio or video in the bubble started playing. See mediaPlayed Documentation
mediaPlayed100Percent?number | nullNumber of times audio or video in the bubble started playing and was played 100% of the total time. See mediaPlayed100Percent Documentation
mediaPlayed25Percent?number | nullNumber of times audio or video in the bubble started playing and was played 25% of the total time. See mediaPlayed25Percent Documentation
mediaPlayed50Percent?number | nullNumber of times audio or video in the bubble started playing and was played 50% of the total time. See mediaPlayed50Percent Documentation
mediaPlayed75Percent?number | nullNumber of times audio or video in the bubble started playing and was played 75% of the total time. See mediaPlayed75Percent Documentation
seqnumberBubble's serial number. See seq Documentation
uniqueImpression?number | nullNumber of users the bubble was displayed. See uniqueImpression Documentation
uniqueMediaPlayed?number | nullNumber of users that started playing audio or video in the bubble. See uniqueMediaPlayed Documentation
uniqueMediaPlayed100Percent?number | nullNumber of users that started playing audio or video in the bubble and played 100% of the total time. See uniqueMediaPlayed100Percent Documentation
uniqueMediaPlayed25Percent?number | nullNumber of users that started playing audio or video in the bubble and played 25% of the total time. See uniqueMediaPlayed25Percent Documentation
uniqueMediaPlayed50Percent?number | nullNumber of users that started playing audio or video in the bubble and played 50% of the total time. See uniqueMediaPlayed50Percent Documentation
uniqueMediaPlayed75Percent?number | nullNumber of users that started playing audio or video in the bubble and played 75% of the total time. See uniqueMediaPlayed75Percent Documentation

Defined in

lib/insight/model/getStatisticsPerUnitResponseMessage.ts:13


GetStatisticsPerUnitResponseOverview

Ƭ GetStatisticsPerUnitResponseOverview: Object

Statistics related to messages.

Type declaration

NameTypeDescription
uniqueClick?number | nullNumber of users who opened any URL in the message. See uniqueClick Documentation
uniqueImpression?number | nullNumber of users who opened the message, meaning they displayed at least 1 bubble. See uniqueImpression Documentation
uniqueMediaPlayed?number | nullNumber of users who started playing any video or audio in the message. See uniqueMediaPlayed Documentation
uniqueMediaPlayed100Percent?number | nullNumber of users who played the entirety of any video or audio in the message. See uniqueMediaPlayed100Percent Documentation

Defined in

lib/insight/model/getStatisticsPerUnitResponseOverview.ts:16


SubscriptionPeriodTile

Ƭ SubscriptionPeriodTile: Object

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 declaration

NameTypeDescription
percentage?numberPercentage. Possible values: [0.0,100.0] e.g. 0, 2.9, 37.6.
subscriptionPeriod?SubscriptionPeriodEnumSubscription period. Possible values: within7days, within90days, unknown etc.

Defined in

lib/insight/model/subscriptionPeriodTile.ts:13

lib/insight/model/subscriptionPeriodTile.ts:24