# EduchatApi.Chat_userApi

All URIs are relative to *https://api.edu.chat*

Method | HTTP request | Description
------------- | ------------- | -------------
[**chatUserCreate**](Chat_userApi.md#chatUserCreate) | **POST** /v1/chat_user/ | Paginated;
[**chatUserDelete**](Chat_userApi.md#chatUserDelete) | **DELETE** /v1/chat_user/{chat}/{user}/ | No documentation beyond REST Standards;
[**chatUserList**](Chat_userApi.md#chatUserList) | **GET** /v1/chat_user/ | Paginated;
[**chatUserPartialUpdate**](Chat_userApi.md#chatUserPartialUpdate) | **PATCH** /v1/chat_user/{chat}/{user}/ | No documentation beyond REST Standards;


<a name="chatUserCreate"></a>
# **chatUserCreate**
> InlineResponse2012 chatUserCreate(opts)

Paginated;

Paginated; Filter by {

### Example
```javascript
var EduchatApi = require('educhat_api');

var apiInstance = new EduchatApi.Chat_userApi();

var opts = { 
  'data': new EduchatApi.Data4() // Data4 | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.chatUserCreate(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **data** | [**Data4**](Data4.md)|  | [optional] 

### Return type

[**InlineResponse2012**](InlineResponse2012.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: Not defined

<a name="chatUserDelete"></a>
# **chatUserDelete**
> InlineResponse2011 chatUserDelete(chat, user)

No documentation beyond REST Standards;

No documentation beyond REST Standards;

### Example
```javascript
var EduchatApi = require('educhat_api');

var apiInstance = new EduchatApi.Chat_userApi();

var chat = "chat_example"; // String | 

var user = "user_example"; // String | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.chatUserDelete(chat, user, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **chat** | **String**|  | 
 **user** | **String**|  | 

### Return type

[**InlineResponse2011**](InlineResponse2011.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="chatUserList"></a>
# **chatUserList**
> InlineResponse2011 chatUserList(opts)

Paginated;

Paginated; Filter by {

### Example
```javascript
var EduchatApi = require('educhat_api');

var apiInstance = new EduchatApi.Chat_userApi();

var opts = { 
  'limit': 56, // Number | Number of results to return per page.
  'offset': 56, // Number | The initial index from which to return the results.
  'id': "id_example", // String | 
  'firstName': "firstName_example", // String | 
  'firstNameIcontains': "firstNameIcontains_example", // String | 
  'lastName': "lastName_example", // String | 
  'lastNameIcontains': "lastNameIcontains_example" // String | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.chatUserList(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **limit** | **Number**| Number of results to return per page. | [optional] 
 **offset** | **Number**| The initial index from which to return the results. | [optional] 
 **id** | **String**|  | [optional] 
 **firstName** | **String**|  | [optional] 
 **firstNameIcontains** | **String**|  | [optional] 
 **lastName** | **String**|  | [optional] 
 **lastNameIcontains** | **String**|  | [optional] 

### Return type

[**InlineResponse2011**](InlineResponse2011.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="chatUserPartialUpdate"></a>
# **chatUserPartialUpdate**
> InlineResponse2012 chatUserPartialUpdate(chat, user, opts)

No documentation beyond REST Standards;

No documentation beyond REST Standards;

### Example
```javascript
var EduchatApi = require('educhat_api');

var apiInstance = new EduchatApi.Chat_userApi();

var chat = "chat_example"; // String | 

var user = "user_example"; // String | 

var opts = { 
  'data': new EduchatApi.Data5() // Data5 | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.chatUserPartialUpdate(chat, user, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **chat** | **String**|  | 
 **user** | **String**|  | 
 **data** | [**Data5**](Data5.md)|  | [optional] 

### Return type

[**InlineResponse2012**](InlineResponse2012.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: Not defined

