lib/messagebird/client.rb
# Retrieve messages with optional paging and status filter.
Retrieve messages with optional paging and status filter.
Retrieve messages with optional paging and status filter .
def message_list(filters = {})
      params = { limit: 10, offset: 0 }.merge(filters).compact
      query = "messages?#{URI.encode_www_form(params)}"
      List.new(Message, request(:get, query))
    end
def message_list ( filters = { } ) params = { limit : 10 , offset : 0 } . merge ( filters ) . compact query = "messages?#{URI.encode_www_form(params)}" List . new ( Message , request ( :get , query ) ) end
Retrieve messages with optional paging and status filter.
Retrieve messages with optional paging and status filter .
filters
<not_specific>