line-bot-api 2.8.3 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/line/bot/v2/insight/api/insight_client.rb +166 -0
- data/lib/line/bot/v2/insight/core.rb +10 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response.rb +97 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_bounds.rb +85 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_click.rb +79 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_daily_metrics.rb +79 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_impression.rb +73 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response.rb +97 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_bounds.rb +85 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_click.rb +73 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_impression.rb +67 -0
- data/lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_metrics.rb +73 -0
- data/lib/line/bot/v2/manage_audience/model/audience_group.rb +2 -2
- data/lib/line/bot/v2/webhook/core.rb +1 -0
- data/lib/line/bot/v2/webhook/model/event.rb +1 -0
- data/lib/line/bot/v2/webhook/model/message_edited_event.rb +110 -0
- data/lib/line/bot/version.rb +1 -1
- data/sig/line/bot/v2/insight/api/insight_client.rbs +92 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response.rbs +52 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_bounds.rbs +49 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_click.rbs +43 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_daily_metrics.rbs +46 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_impression.rbs +40 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response.rbs +52 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_bounds.rbs +49 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_click.rbs +43 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_impression.rbs +40 -0
- data/sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_metrics.rbs +43 -0
- data/sig/line/bot/v2/manage_audience/model/audience_group.rbs +3 -3
- data/sig/line/bot/v2/webhook/model/message_edited_event.rbs +60 -0
- metadata +23 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Daily impression and click statistics for a rich menu created via the Messaging API.
|
|
15
|
+
class GetRichMenuInsightDailyResponse
|
|
16
|
+
attr_accessor rich_menu_id: String
|
|
17
|
+
attr_accessor metrics_from: String?
|
|
18
|
+
attr_accessor metrics_to: String?
|
|
19
|
+
attr_accessor impression: GetRichMenuInsightDailyResponseImpression?
|
|
20
|
+
attr_accessor clicks: Array[GetRichMenuInsightDailyResponseClick]?
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# @param rich_menu_id [String] Rich menu ID.
|
|
24
|
+
# @param metrics_from [String,nil] Start date (JST) of the period actually covered by the returned metrics. Format: yyyyMMdd (e.g. 20260213).
|
|
25
|
+
# @param metrics_to [String,nil] End date (JST) of the period actually covered by the returned metrics. Format: yyyyMMdd (e.g. 20260215).
|
|
26
|
+
# @param impression [GetRichMenuInsightDailyResponseImpression, Hash[Symbol, untyped], nil]
|
|
27
|
+
# @param clicks [Array[GetRichMenuInsightDailyResponseClick, Hash[Symbol, untyped]],nil] Daily click metrics for each tappable area of the rich menu.
|
|
28
|
+
def initialize: (
|
|
29
|
+
rich_menu_id: String,
|
|
30
|
+
?metrics_from: String?,
|
|
31
|
+
?metrics_to: String?,
|
|
32
|
+
?impression: GetRichMenuInsightDailyResponseImpression?| Hash[Symbol, untyped]?,
|
|
33
|
+
?clicks: Array[GetRichMenuInsightDailyResponseClick| Hash[Symbol, untyped]]?,
|
|
34
|
+
**untyped dynamic_attributes
|
|
35
|
+
) -> void
|
|
36
|
+
|
|
37
|
+
# Create an instance of the class from a hash
|
|
38
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
39
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightDailyResponse] Instance of the class
|
|
40
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightDailyResponse
|
|
41
|
+
|
|
42
|
+
# @param other [Object] Object to compare
|
|
43
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
44
|
+
def ==: (untyped other) -> bool
|
|
45
|
+
|
|
46
|
+
# @return [Integer] Hash code of the object
|
|
47
|
+
def hash: () -> Integer
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Target area of the metrics, represented by the top-left coordinate, width, and height.
|
|
15
|
+
class GetRichMenuInsightDailyResponseBounds
|
|
16
|
+
attr_accessor x: Integer
|
|
17
|
+
attr_accessor y: Integer
|
|
18
|
+
attr_accessor width: Integer
|
|
19
|
+
attr_accessor height: Integer
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# @param x [Integer] The x coordinate of the top-left corner of the target area.
|
|
23
|
+
# @param y [Integer] The y coordinate of the top-left corner of the target area.
|
|
24
|
+
# @param width [Integer] The width of the target area.
|
|
25
|
+
# @param height [Integer] The height of the target area.
|
|
26
|
+
def initialize: (
|
|
27
|
+
x: Integer,
|
|
28
|
+
y: Integer,
|
|
29
|
+
width: Integer,
|
|
30
|
+
height: Integer,
|
|
31
|
+
**untyped dynamic_attributes
|
|
32
|
+
) -> void
|
|
33
|
+
|
|
34
|
+
# Create an instance of the class from a hash
|
|
35
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
36
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightDailyResponseBounds] Instance of the class
|
|
37
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightDailyResponseBounds
|
|
38
|
+
|
|
39
|
+
# @param other [Object] Object to compare
|
|
40
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
41
|
+
def ==: (untyped other) -> bool
|
|
42
|
+
|
|
43
|
+
# @return [Integer] Hash code of the object
|
|
44
|
+
def hash: () -> Integer
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Daily click metrics for a single tappable area of the rich menu.
|
|
15
|
+
class GetRichMenuInsightDailyResponseClick
|
|
16
|
+
attr_accessor bounds: GetRichMenuInsightDailyResponseBounds
|
|
17
|
+
attr_accessor metrics: Array[GetRichMenuInsightDailyResponseDailyMetrics]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# @param bounds [GetRichMenuInsightDailyResponseBounds, Hash[Symbol, untyped]]
|
|
21
|
+
# @param metrics [Array[GetRichMenuInsightDailyResponseDailyMetrics, Hash[Symbol, untyped]]] Per-day click metrics for the target area.
|
|
22
|
+
def initialize: (
|
|
23
|
+
bounds: GetRichMenuInsightDailyResponseBounds| Hash[Symbol, untyped],
|
|
24
|
+
metrics: Array[GetRichMenuInsightDailyResponseDailyMetrics| Hash[Symbol, untyped]],
|
|
25
|
+
**untyped dynamic_attributes
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
# Create an instance of the class from a hash
|
|
29
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
30
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightDailyResponseClick] Instance of the class
|
|
31
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightDailyResponseClick
|
|
32
|
+
|
|
33
|
+
# @param other [Object] Object to compare
|
|
34
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
35
|
+
def ==: (untyped other) -> bool
|
|
36
|
+
|
|
37
|
+
# @return [Integer] Hash code of the object
|
|
38
|
+
def hash: () -> Integer
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Aggregated number of events and unique users for a single day.
|
|
15
|
+
class GetRichMenuInsightDailyResponseDailyMetrics
|
|
16
|
+
attr_accessor date: String
|
|
17
|
+
attr_accessor count: Integer
|
|
18
|
+
attr_accessor unique_users: Integer
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# @param date [String] The date (JST) of these metrics. Format: yyyyMMdd (e.g. 20260213).
|
|
22
|
+
# @param count [Integer] Number of impressions or clicks on this day.
|
|
23
|
+
# @param unique_users [Integer] Approximate number of unique users who triggered an impression or click on this day.
|
|
24
|
+
def initialize: (
|
|
25
|
+
date: String,
|
|
26
|
+
count: Integer,
|
|
27
|
+
unique_users: Integer,
|
|
28
|
+
**untyped dynamic_attributes
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
# Create an instance of the class from a hash
|
|
32
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
33
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightDailyResponseDailyMetrics] Instance of the class
|
|
34
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightDailyResponseDailyMetrics
|
|
35
|
+
|
|
36
|
+
# @param other [Object] Object to compare
|
|
37
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
38
|
+
def ==: (untyped other) -> bool
|
|
39
|
+
|
|
40
|
+
# @return [Integer] Hash code of the object
|
|
41
|
+
def hash: () -> Integer
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Daily impression metrics for the whole rich menu.
|
|
15
|
+
class GetRichMenuInsightDailyResponseImpression
|
|
16
|
+
attr_accessor metrics: Array[GetRichMenuInsightDailyResponseDailyMetrics]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# @param metrics [Array[GetRichMenuInsightDailyResponseDailyMetrics, Hash[Symbol, untyped]]] Per-day impression metrics.
|
|
20
|
+
def initialize: (
|
|
21
|
+
metrics: Array[GetRichMenuInsightDailyResponseDailyMetrics| Hash[Symbol, untyped]],
|
|
22
|
+
**untyped dynamic_attributes
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
# Create an instance of the class from a hash
|
|
26
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
27
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightDailyResponseImpression] Instance of the class
|
|
28
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightDailyResponseImpression
|
|
29
|
+
|
|
30
|
+
# @param other [Object] Object to compare
|
|
31
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
32
|
+
def ==: (untyped other) -> bool
|
|
33
|
+
|
|
34
|
+
# @return [Integer] Hash code of the object
|
|
35
|
+
def hash: () -> Integer
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Summary of impression and click statistics for a rich menu created via the Messaging API.
|
|
15
|
+
class GetRichMenuInsightSummaryResponse
|
|
16
|
+
attr_accessor rich_menu_id: String
|
|
17
|
+
attr_accessor metrics_from: String?
|
|
18
|
+
attr_accessor metrics_to: String?
|
|
19
|
+
attr_accessor impression: GetRichMenuInsightSummaryResponseImpression?
|
|
20
|
+
attr_accessor clicks: Array[GetRichMenuInsightSummaryResponseClick]?
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# @param rich_menu_id [String] Rich menu ID.
|
|
24
|
+
# @param metrics_from [String,nil] Start date (JST) of the period actually covered by the returned metrics. Format: yyyyMMdd (e.g. 20260213).
|
|
25
|
+
# @param metrics_to [String,nil] End date (JST) of the period actually covered by the returned metrics. Format: yyyyMMdd (e.g. 20260215).
|
|
26
|
+
# @param impression [GetRichMenuInsightSummaryResponseImpression, Hash[Symbol, untyped], nil]
|
|
27
|
+
# @param clicks [Array[GetRichMenuInsightSummaryResponseClick, Hash[Symbol, untyped]],nil] Click metrics for each tappable area of the rich menu.
|
|
28
|
+
def initialize: (
|
|
29
|
+
rich_menu_id: String,
|
|
30
|
+
?metrics_from: String?,
|
|
31
|
+
?metrics_to: String?,
|
|
32
|
+
?impression: GetRichMenuInsightSummaryResponseImpression?| Hash[Symbol, untyped]?,
|
|
33
|
+
?clicks: Array[GetRichMenuInsightSummaryResponseClick| Hash[Symbol, untyped]]?,
|
|
34
|
+
**untyped dynamic_attributes
|
|
35
|
+
) -> void
|
|
36
|
+
|
|
37
|
+
# Create an instance of the class from a hash
|
|
38
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
39
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightSummaryResponse] Instance of the class
|
|
40
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightSummaryResponse
|
|
41
|
+
|
|
42
|
+
# @param other [Object] Object to compare
|
|
43
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
44
|
+
def ==: (untyped other) -> bool
|
|
45
|
+
|
|
46
|
+
# @return [Integer] Hash code of the object
|
|
47
|
+
def hash: () -> Integer
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Target area of the metrics, represented by the top-left coordinate, width, and height.
|
|
15
|
+
class GetRichMenuInsightSummaryResponseBounds
|
|
16
|
+
attr_accessor x: Integer
|
|
17
|
+
attr_accessor y: Integer
|
|
18
|
+
attr_accessor width: Integer
|
|
19
|
+
attr_accessor height: Integer
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# @param x [Integer] The x coordinate of the top-left corner of the target area.
|
|
23
|
+
# @param y [Integer] The y coordinate of the top-left corner of the target area.
|
|
24
|
+
# @param width [Integer] The width of the target area.
|
|
25
|
+
# @param height [Integer] The height of the target area.
|
|
26
|
+
def initialize: (
|
|
27
|
+
x: Integer,
|
|
28
|
+
y: Integer,
|
|
29
|
+
width: Integer,
|
|
30
|
+
height: Integer,
|
|
31
|
+
**untyped dynamic_attributes
|
|
32
|
+
) -> void
|
|
33
|
+
|
|
34
|
+
# Create an instance of the class from a hash
|
|
35
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
36
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightSummaryResponseBounds] Instance of the class
|
|
37
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightSummaryResponseBounds
|
|
38
|
+
|
|
39
|
+
# @param other [Object] Object to compare
|
|
40
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
41
|
+
def ==: (untyped other) -> bool
|
|
42
|
+
|
|
43
|
+
# @return [Integer] Hash code of the object
|
|
44
|
+
def hash: () -> Integer
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Click metrics for a single tappable area of the rich menu.
|
|
15
|
+
class GetRichMenuInsightSummaryResponseClick
|
|
16
|
+
attr_accessor bounds: GetRichMenuInsightSummaryResponseBounds
|
|
17
|
+
attr_accessor metrics: GetRichMenuInsightSummaryResponseMetrics
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# @param bounds [GetRichMenuInsightSummaryResponseBounds, Hash[Symbol, untyped]]
|
|
21
|
+
# @param metrics [GetRichMenuInsightSummaryResponseMetrics, Hash[Symbol, untyped]]
|
|
22
|
+
def initialize: (
|
|
23
|
+
bounds: GetRichMenuInsightSummaryResponseBounds| Hash[Symbol, untyped],
|
|
24
|
+
metrics: GetRichMenuInsightSummaryResponseMetrics| Hash[Symbol, untyped],
|
|
25
|
+
**untyped dynamic_attributes
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
# Create an instance of the class from a hash
|
|
29
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
30
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightSummaryResponseClick] Instance of the class
|
|
31
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightSummaryResponseClick
|
|
32
|
+
|
|
33
|
+
# @param other [Object] Object to compare
|
|
34
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
35
|
+
def ==: (untyped other) -> bool
|
|
36
|
+
|
|
37
|
+
# @return [Integer] Hash code of the object
|
|
38
|
+
def hash: () -> Integer
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Impression metrics for the whole rich menu.
|
|
15
|
+
class GetRichMenuInsightSummaryResponseImpression
|
|
16
|
+
attr_accessor metrics: GetRichMenuInsightSummaryResponseMetrics
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# @param metrics [GetRichMenuInsightSummaryResponseMetrics, Hash[Symbol, untyped]]
|
|
20
|
+
def initialize: (
|
|
21
|
+
metrics: GetRichMenuInsightSummaryResponseMetrics| Hash[Symbol, untyped],
|
|
22
|
+
**untyped dynamic_attributes
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
# Create an instance of the class from a hash
|
|
26
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
27
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightSummaryResponseImpression] Instance of the class
|
|
28
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightSummaryResponseImpression
|
|
29
|
+
|
|
30
|
+
# @param other [Object] Object to compare
|
|
31
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
32
|
+
def ==: (untyped other) -> bool
|
|
33
|
+
|
|
34
|
+
# @return [Integer] Hash code of the object
|
|
35
|
+
def hash: () -> Integer
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# LINE Messaging API(Insight)
|
|
2
|
+
# This document describes LINE Messaging API(Insight).
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 0.0.1
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Insight
|
|
14
|
+
# Aggregated number of events and unique users over the whole period.
|
|
15
|
+
class GetRichMenuInsightSummaryResponseMetrics
|
|
16
|
+
attr_accessor count: Integer
|
|
17
|
+
attr_accessor unique_users: Integer
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# @param count [Integer] Number of impressions or clicks.
|
|
21
|
+
# @param unique_users [Integer] Approximate number of unique users who triggered an impression or click.
|
|
22
|
+
def initialize: (
|
|
23
|
+
count: Integer,
|
|
24
|
+
unique_users: Integer,
|
|
25
|
+
**untyped dynamic_attributes
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
# Create an instance of the class from a hash
|
|
29
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
30
|
+
# @return [Line::Bot::V2::Insight::GetRichMenuInsightSummaryResponseMetrics] Instance of the class
|
|
31
|
+
def self.create: (Hash[Symbol, untyped]) -> GetRichMenuInsightSummaryResponseMetrics
|
|
32
|
+
|
|
33
|
+
# @param other [Object] Object to compare
|
|
34
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
35
|
+
def ==: (untyped other) -> bool
|
|
36
|
+
|
|
37
|
+
# @return [Integer] Hash code of the object
|
|
38
|
+
def hash: () -> Integer
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -17,7 +17,7 @@ module Line
|
|
|
17
17
|
attr_accessor type: 'UPLOAD'|'CLICK'|'IMP'|'CHAT_TAG'|'FRIEND_PATH'|'RESERVATION'|'APP_EVENT'|'VIDEO_VIEW'|'WEBTRAFFIC'|'IMAGE_CLICK'|'RICHMENU_IMP'|'RICHMENU_CLICK'|'POP_AD_IMP'|'TRACKINGTAG_WEBTRAFFIC'?
|
|
18
18
|
attr_accessor description: String?
|
|
19
19
|
attr_accessor status: 'IN_PROGRESS'|'READY'|'FAILED'|'EXPIRED'|'INACTIVE'|'ACTIVATING'?
|
|
20
|
-
attr_accessor failed_type: 'AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT'|'INTERNAL_ERROR'
|
|
20
|
+
attr_accessor failed_type: 'AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT'|'INTERNAL_ERROR'?
|
|
21
21
|
attr_accessor audience_count: Integer?
|
|
22
22
|
attr_accessor created: Integer?
|
|
23
23
|
attr_accessor request_id: String?
|
|
@@ -31,7 +31,7 @@ module Line
|
|
|
31
31
|
# @param type [String,nil] ('UPLOAD'|'CLICK'|'IMP'|'CHAT_TAG'|'FRIEND_PATH'|'RESERVATION'|'APP_EVENT'|'VIDEO_VIEW'|'WEBTRAFFIC'|'IMAGE_CLICK'|'RICHMENU_IMP'|'RICHMENU_CLICK'|'POP_AD_IMP'|'TRACKINGTAG_WEBTRAFFIC')
|
|
32
32
|
# @param description [String,nil] The audience's name.
|
|
33
33
|
# @param status [String,nil] ('IN_PROGRESS'|'READY'|'FAILED'|'EXPIRED'|'INACTIVE'|'ACTIVATING')
|
|
34
|
-
# @param failed_type [String,nil] ('AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT'|'INTERNAL_ERROR'
|
|
34
|
+
# @param failed_type [String,nil] ('AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT'|'INTERNAL_ERROR')
|
|
35
35
|
# @param audience_count [Integer,nil] The number of users included in the audience.
|
|
36
36
|
# @param created [Integer,nil] When the audience was created (in UNIX time).
|
|
37
37
|
# @param request_id [String,nil] The request ID that was specified when the audience was created. This is only included when `audienceGroup.type` is CLICK or IMP.
|
|
@@ -44,7 +44,7 @@ module Line
|
|
|
44
44
|
?type: 'UPLOAD'|'CLICK'|'IMP'|'CHAT_TAG'|'FRIEND_PATH'|'RESERVATION'|'APP_EVENT'|'VIDEO_VIEW'|'WEBTRAFFIC'|'IMAGE_CLICK'|'RICHMENU_IMP'|'RICHMENU_CLICK'|'POP_AD_IMP'|'TRACKINGTAG_WEBTRAFFIC'?,
|
|
45
45
|
?description: String?,
|
|
46
46
|
?status: 'IN_PROGRESS'|'READY'|'FAILED'|'EXPIRED'|'INACTIVE'|'ACTIVATING'?,
|
|
47
|
-
?failed_type: 'AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT'|'INTERNAL_ERROR'
|
|
47
|
+
?failed_type: 'AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT'|'INTERNAL_ERROR'?,
|
|
48
48
|
?audience_count: Integer?,
|
|
49
49
|
?created: Integer?,
|
|
50
50
|
?request_id: String?,
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Webhook Type Definition
|
|
2
|
+
# Webhook event definition of the LINE Messaging API
|
|
3
|
+
#
|
|
4
|
+
# The version of the OpenAPI document: 1.0.0
|
|
5
|
+
#
|
|
6
|
+
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
# https://openapi-generator.tech
|
|
8
|
+
# Do not edit the class manually.
|
|
9
|
+
|
|
10
|
+
module Line
|
|
11
|
+
module Bot
|
|
12
|
+
module V2
|
|
13
|
+
module Webhook
|
|
14
|
+
# Webhook event object which contains the edited message. This event is triggered when a user edits a text message. Currently, message editing is not available in one-on-one chats with LINE Official Accounts, so this event is only triggered in group chats. Multiple messageEdited webhook events may arrive out of order. The event with the largest timestamp represents the latest edit state.
|
|
15
|
+
# @see https://developers.line.biz/en/reference/messaging-api/#edit-event
|
|
16
|
+
class MessageEditedEvent < Event
|
|
17
|
+
attr_reader type: String
|
|
18
|
+
attr_accessor source: Source?
|
|
19
|
+
attr_accessor timestamp: Integer
|
|
20
|
+
attr_accessor mode: 'active'|'standby'
|
|
21
|
+
attr_accessor webhook_event_id: String
|
|
22
|
+
attr_accessor delivery_context: DeliveryContext
|
|
23
|
+
attr_accessor reply_token: String?
|
|
24
|
+
attr_accessor message: MessageContent
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# @param source [Source, Hash[Symbol, untyped], nil]
|
|
28
|
+
# @param timestamp [Integer] Time of the event in milliseconds.
|
|
29
|
+
# @param mode [String] ('active'|'standby')
|
|
30
|
+
# @param webhook_event_id [String] Webhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.
|
|
31
|
+
# @param delivery_context [DeliveryContext, Hash[Symbol, untyped]]
|
|
32
|
+
# @param reply_token [String,nil]
|
|
33
|
+
# @param message [MessageContent, Hash[Symbol, untyped]]
|
|
34
|
+
def initialize: (
|
|
35
|
+
?source: Source?| Hash[Symbol, untyped]?,
|
|
36
|
+
timestamp: Integer,
|
|
37
|
+
mode: 'active'|'standby',
|
|
38
|
+
webhook_event_id: String,
|
|
39
|
+
delivery_context: DeliveryContext| Hash[Symbol, untyped],
|
|
40
|
+
?reply_token: String?,
|
|
41
|
+
message: MessageContent| Hash[Symbol, untyped],
|
|
42
|
+
**untyped dynamic_attributes
|
|
43
|
+
) -> void
|
|
44
|
+
|
|
45
|
+
# Create an instance of the class from a hash
|
|
46
|
+
# @param args [Hash] Hash containing all the required attributes
|
|
47
|
+
# @return [Line::Bot::V2::Webhook::MessageEditedEvent] Instance of the class
|
|
48
|
+
def self.create: (Hash[Symbol, untyped]) -> MessageEditedEvent
|
|
49
|
+
|
|
50
|
+
# @param other [Object] Object to compare
|
|
51
|
+
# @return [Boolean] true if the objects are equal, false otherwise
|
|
52
|
+
def ==: (untyped other) -> bool
|
|
53
|
+
|
|
54
|
+
# @return [Integer] Hash code of the object
|
|
55
|
+
def hash: () -> Integer
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: line-bot-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LINE Corporation
|
|
@@ -71,6 +71,16 @@ files:
|
|
|
71
71
|
- lib/line/bot/v2/insight/model/get_message_event_response_overview.rb
|
|
72
72
|
- lib/line/bot/v2/insight/model/get_number_of_followers_response.rb
|
|
73
73
|
- lib/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rb
|
|
74
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response.rb
|
|
75
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_bounds.rb
|
|
76
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_click.rb
|
|
77
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_daily_metrics.rb
|
|
78
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_impression.rb
|
|
79
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response.rb
|
|
80
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_bounds.rb
|
|
81
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_click.rb
|
|
82
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_impression.rb
|
|
83
|
+
- lib/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_metrics.rb
|
|
74
84
|
- lib/line/bot/v2/insight/model/get_statistics_per_unit_response.rb
|
|
75
85
|
- lib/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rb
|
|
76
86
|
- lib/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rb
|
|
@@ -374,6 +384,7 @@ files:
|
|
|
374
384
|
- lib/line/bot/v2/webhook/model/mention.rb
|
|
375
385
|
- lib/line/bot/v2/webhook/model/mentionee.rb
|
|
376
386
|
- lib/line/bot/v2/webhook/model/message_content.rb
|
|
387
|
+
- lib/line/bot/v2/webhook/model/message_edited_event.rb
|
|
377
388
|
- lib/line/bot/v2/webhook/model/message_event.rb
|
|
378
389
|
- lib/line/bot/v2/webhook/model/module_content.rb
|
|
379
390
|
- lib/line/bot/v2/webhook/model/module_event.rb
|
|
@@ -419,6 +430,16 @@ files:
|
|
|
419
430
|
- sig/line/bot/v2/insight/model/get_message_event_response_overview.rbs
|
|
420
431
|
- sig/line/bot/v2/insight/model/get_number_of_followers_response.rbs
|
|
421
432
|
- sig/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rbs
|
|
433
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response.rbs
|
|
434
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_bounds.rbs
|
|
435
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_click.rbs
|
|
436
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_daily_metrics.rbs
|
|
437
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_daily_response_impression.rbs
|
|
438
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response.rbs
|
|
439
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_bounds.rbs
|
|
440
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_click.rbs
|
|
441
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_impression.rbs
|
|
442
|
+
- sig/line/bot/v2/insight/model/get_rich_menu_insight_summary_response_metrics.rbs
|
|
422
443
|
- sig/line/bot/v2/insight/model/get_statistics_per_unit_response.rbs
|
|
423
444
|
- sig/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rbs
|
|
424
445
|
- sig/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rbs
|
|
@@ -715,6 +736,7 @@ files:
|
|
|
715
736
|
- sig/line/bot/v2/webhook/model/mention.rbs
|
|
716
737
|
- sig/line/bot/v2/webhook/model/mentionee.rbs
|
|
717
738
|
- sig/line/bot/v2/webhook/model/message_content.rbs
|
|
739
|
+
- sig/line/bot/v2/webhook/model/message_edited_event.rbs
|
|
718
740
|
- sig/line/bot/v2/webhook/model/message_event.rbs
|
|
719
741
|
- sig/line/bot/v2/webhook/model/module_content.rbs
|
|
720
742
|
- sig/line/bot/v2/webhook/model/module_event.rbs
|