@@ -1869,6 +1869,69 @@ paths:
1869
1869
schema :
1870
1870
" $ref " : " #/components/schemas/ErrorResponse"
1871
1871
1872
+ " /v2/bot/membership/{membershipId}/users/ids " :
1873
+ get :
1874
+ externalDocs :
1875
+ url : https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids
1876
+ tags :
1877
+ - messaging-api
1878
+ operationId : getJoinedMembershipUsers
1879
+ description : " Get a list of user IDs who joined the membership."
1880
+ parameters :
1881
+ - name : start
1882
+ in : query
1883
+ required : false
1884
+ description : |+
1885
+ A continuation token to get next remaining membership user IDs.
1886
+ Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request.
1887
+ The continuation token expires in 24 hours (86,400 seconds).
1888
+ schema :
1889
+ type : string
1890
+ - name : limit
1891
+ in : query
1892
+ required : false
1893
+ description : |+
1894
+ The max number of items to return for this API call.
1895
+ The value is set to 300 by default, but the max acceptable value is 1000.
1896
+ schema :
1897
+ type : integer
1898
+ format : int32
1899
+ default : 300
1900
+ maximum : 1000
1901
+ minimum : 1
1902
+ - name : membershipId
1903
+ in : path
1904
+ required : true
1905
+ schema :
1906
+ type : integer
1907
+ description : " Membership plan ID."
1908
+ responses :
1909
+ " 200 " :
1910
+ description : " OK"
1911
+ content :
1912
+ application/json :
1913
+ schema :
1914
+ " $ref " : " #/components/schemas/GetJoinedMembershipUsersResponse"
1915
+ example :
1916
+ userIds :
1917
+ - U4af4980629...
1918
+ - U0c229f96c4...
1919
+ - U95afb1d4df...
1920
+ next : jxEWCEEP...
1921
+
1922
+ " 400 " :
1923
+ description : " `start` is incorrect or expired, or `limit` is under 1 or over 1000."
1924
+ content :
1925
+ application/json :
1926
+ schema :
1927
+ " $ref " : " #/components/schemas/ErrorResponse"
1928
+ " 404 " :
1929
+ description : " Membership ID is not owned by the bot or does not exist."
1930
+ content :
1931
+ application/json :
1932
+ schema :
1933
+ " $ref " : " #/components/schemas/ErrorResponse"
1934
+
1872
1935
" /v2/bot/chat/loading/start " :
1873
1936
post :
1874
1937
externalDocs :
@@ -4836,6 +4899,30 @@ components:
4836
4899
items :
4837
4900
" $ref " : " #/components/schemas/Membership"
4838
4901
4902
+ GetJoinedMembershipUsersResponse :
4903
+ externalDocs :
4904
+ url : https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids
4905
+ description : " List of users who have joined the membership"
4906
+ required :
4907
+ - userIds
4908
+ type : object
4909
+ properties :
4910
+ userIds :
4911
+ type : array
4912
+ maxItems : 1000
4913
+ description : |+
4914
+ A list of user IDs who joined the membership.
4915
+ Users who have not agreed to the bot user agreement, are not following the bot, or are not active will be excluded.
4916
+ If there are no users in the membership, an empty list will be returned.
4917
+ items :
4918
+ type : string
4919
+ next :
4920
+ type : string
4921
+ description : |+
4922
+ A continuation token to get next remaining membership user IDs.
4923
+ Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request.
4924
+ The continuation token expires in 24 hours (86,400 seconds).
4925
+
4839
4926
Subscription :
4840
4927
description : " An array of memberships."
4841
4928
required :
0 commit comments