code: func List(c *messagebird.Client, msgListParams *ListParams) (*MessageList, error) {
  	messageList := &MessageList{}
  	params, err := paramsForMessageList(msgListParams)
  	if err != nil {
  		return messageList, err
  	}
  
  	if err := c.Request(messageList, http.MethodGet, path+"?"+params.Encode(), nil); err != nil {
  		return nil, err
  	}
  
  	return messageList, nil
  }
docs: // List retrieves all messages of the user represented as a MessageList object.