line-bot-api 1.18.0 → 1.19.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/api/version.rb +1 -1
- data/lib/line/bot/client.rb +14 -0
- data/lib/line/bot/event/base.rb +4 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8864bff59b1e7a50a3f63bd2aef939319c9731b9facbb4116d0aa4bb7894101
|
4
|
+
data.tar.gz: df898ac583f61824837b3e92f98867be4aafb74fbdc5b89ad094edf164e098ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 921d2f1896c8c60759eeccbd3ca40a57bd2d401558a1d5d5bedceb967f00d1be6d56b1d886987e7883cd9b2b43541b555ec895759607235265accd787aed6653
|
7
|
+
data.tar.gz: 3a50ac3a250aa087eb7285a7a1144e4f64c15443acaca6d28e747f979198902ef887bc589fad8e31aa74fb526820ebc3eff1e4413f83460b227caa327021e172
|
data/lib/line/bot/api/version.rb
CHANGED
data/lib/line/bot/client.rb
CHANGED
@@ -274,6 +274,20 @@ module Line
|
|
274
274
|
get(endpoint, endpoint_path, credentials)
|
275
275
|
end
|
276
276
|
|
277
|
+
# Get user IDs of who added your LINE Official Account as a friend
|
278
|
+
#
|
279
|
+
# @param continuation_token [String] Identifier to return next page
|
280
|
+
# (next property to be included in the response)
|
281
|
+
#
|
282
|
+
# @return [Net::HTTPResponse]
|
283
|
+
def get_follower_ids(continuation_token = nil)
|
284
|
+
channel_token_required
|
285
|
+
|
286
|
+
endpoint_path = "/bot/followers/ids"
|
287
|
+
endpoint_path += "?start=#{continuation_token}" if continuation_token
|
288
|
+
get(endpoint, endpoint_path, credentials)
|
289
|
+
end
|
290
|
+
|
277
291
|
# Get user IDs of a group
|
278
292
|
#
|
279
293
|
# @param group_id [String] Group's identifier
|
data/lib/line/bot/event/base.rb
CHANGED
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.19.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: 2021-
|
11
|
+
date: 2021-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -121,7 +121,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
|
-
|
124
|
+
rubyforge_project:
|
125
|
+
rubygems_version: 2.7.6
|
125
126
|
signing_key:
|
126
127
|
specification_version: 4
|
127
128
|
summary: SDK of the LINE Messaging API
|