Method: Twilio::REST::Chat::V2::ServiceContext::UserContext::UserChannelList#list
- Defined in:
- lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb
#list(limit: nil, page_size: nil) ⇒ Array
Lists UserChannelInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
49 50 51 52 53 54 |
# File 'lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb', line 49 def list(limit: nil, page_size: nil) self.stream( limit: limit, page_size: page_size ).entries end |