line-bot-api 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e46e17ed076c1ef349b31a9454fe460558d3bfb
4
- data.tar.gz: a2ac700cab74c4532e4946d61a4debfcffe9d6f8
3
+ metadata.gz: f0ff5d8836d29365dc8f80d7caa234495228cbef
4
+ data.tar.gz: f34e7b75396dcc7cf41a1eb98cdbc2c4737c62ba
5
5
  SHA512:
6
- metadata.gz: 9ce2b4e233ca0c9d477e4ed3b63a29dd7f9ce65d969d86da802866f19c912a4148eccb9e85d4b0365a459b2fc722522b5e2ba44f08794797c0bad25dda978949
7
- data.tar.gz: 0ed61719314460020b602fa41784b301fcc25d4f18da65f3055aa5339d75aa67d7f173b04d5d53c68103471f2d695015f5aa13b1822c6a1832b398fef7efcf5e
6
+ metadata.gz: 6242c7d7b6b63933e3f125eb7c68c92f5a8b0811220e656219e659567829df1cf57ec8144e055b38f27b68502bca232577bd2f7d9fe00c86d0da3cd1b189f5cb
7
+ data.tar.gz: af71e03c0d02a5ff32eadbe58e026df8cc78ef0d45925adb1558335d868e4145cb5cdfe5bf774ce781a6c6b6b45c041566c781d4c5d73e2f67d3c62614ac3910
@@ -15,7 +15,7 @@
15
15
  module Line
16
16
  module Bot
17
17
  module API
18
- VERSION = "1.8.0"
18
+ VERSION = "1.9.0"
19
19
  end
20
20
  end
21
21
  end
@@ -363,6 +363,25 @@ module Line
363
363
  delete(endpoint_path)
364
364
  end
365
365
 
366
+ # To link a rich menu to multiple users at a time
367
+ #
368
+ # @param user_ids [Array] ID of the user
369
+ # @param rich_menu_id [String] ID of the uploaded rich menu
370
+ #
371
+ # @return [Net::HTTPResponse]
372
+ def bulk_link_rich_menus(user_ids, rich_menu_id)
373
+ post("/bot/richmenu/bulk/link", {richMenuId: rich_menu_id, userIds: user_ids}.to_json)
374
+ end
375
+
376
+ # To unlink a rich menu from multiple users at a time
377
+ #
378
+ # @param user_ids [Array] ID of the user
379
+ #
380
+ # @return [Net::HTTPResponse]
381
+ def bulk_unlink_rich_menus(user_ids)
382
+ post("/bot/richmenu/bulk/unlink", {userIds: user_ids}.to_json)
383
+ end
384
+
366
385
  # Download an image associated with a rich menu
367
386
  #
368
387
  # @param rich_menu_id [String] ID of an uploaded rich menu
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.8.0
4
+ version: 1.9.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: 2019-03-20 00:00:00.000000000 Z
11
+ date: 2019-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable