Method: Line::Bot::V2::MessagingApi::ApiClient#get_followers

Defined in:
lib/line/bot/v2/messaging_api/api/messaging_api_client.rb

#get_followers(start: nil, limit: nil) ⇒ Line::Bot::V2::MessagingApi::GetFollowersResponse, ...

Get a list of users who added your LINE Official Account as a friend This requests to GET https://api.line.me/v2/bot/followers/ids When you want to get HTTP status code or response headers, use #get_followers_with_http_info instead of this.

Parameters:

  • start (String, nil) (defaults to: nil)

    Value of the continuation token found in the next property of the JSON object returned in the response. Include this parameter to get the next array of user IDs.

  • limit (Integer, nil) (defaults to: nil)

    The maximum number of user IDs to retrieve in a single request.

Returns:

See Also:



803
804
805
806
807
808
809
810
811
812
813
# File 'lib/line/bot/v2/messaging_api/api/messaging_api_client.rb', line 803

def get_followers(
  start: nil,
  limit: nil
)
  response_body, _status_code, _headers = get_followers_with_http_info(
    start: start,
    limit: limit
  )

  response_body
end