line-bot-api 1.26.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/line/bot/api/version.rb +1 -1
- data/lib/line/bot/client.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1589af1dd6d0ad4aa9a5b3e2868edc83b11ab33967a4a489725de67b1909c781
|
4
|
+
data.tar.gz: 01ee321da5257c341dc289bb8252c2e6fc8f88ee182b36d77df17e3f9c718e37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa697e899d359d36c72ce15471746559e5c2968ef548552e5fb2bac0826798c62690a6471377c7be1d237921e532d7e1be8b5712ebd85130b0c499a40239fe23
|
7
|
+
data.tar.gz: 5f94534088ef554d4e801c60058232dff373ddd4bd6f67c05229ab622d3d7459912fa56b732ebb97b484f75ebcaa36454ee56374077e807fb9ed3f70edb1cb33
|
data/lib/line/bot/api/version.rb
CHANGED
data/lib/line/bot/client.rb
CHANGED
@@ -1162,6 +1162,18 @@ module Line
|
|
1162
1162
|
get(endpoint, endpoint_path, credentials)
|
1163
1163
|
end
|
1164
1164
|
|
1165
|
+
# Gets the status of a narrowcast message.
|
1166
|
+
#
|
1167
|
+
# @param request_id [String] The narrowcast message's request ID. Each Messaging API request has a request ID. Find it in the response headers.
|
1168
|
+
#
|
1169
|
+
# @return [Net::HTTPResponse]
|
1170
|
+
def get_narrowcast_message_status(request_id)
|
1171
|
+
channel_token_required
|
1172
|
+
|
1173
|
+
endpoint_path = "/bot/message/progress/narrowcast?requestId=#{request_id}"
|
1174
|
+
get(endpoint, endpoint_path, credentials)
|
1175
|
+
end
|
1176
|
+
|
1165
1177
|
# Fetch data, get content of specified URL.
|
1166
1178
|
#
|
1167
1179
|
# @param endpoint_base [String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: line-bot-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LINE Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|