# EduchatApi.BotApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**botAddQuestionAnswerPairCreate**](BotApi.md#botAddQuestionAnswerPairCreate) | **POST** /v1/bot/add_question_answer_pair/ | 
[**botCreateChatBotCreate**](BotApi.md#botCreateChatBotCreate) | **POST** /v1/bot/create_chat_bot/ | 
[**botCrowdsourceAdminsOnlyCreate**](BotApi.md#botCrowdsourceAdminsOnlyCreate) | **POST** /v1/bot/crowdsource_admins_only/ | 
[**botJoinChatGroupCreate**](BotApi.md#botJoinChatGroupCreate) | **POST** /v1/bot/join_chat_group/ | 
[**botMakeAdminCreate**](BotApi.md#botMakeAdminCreate) | **POST** /v1/bot/make_admin/ | 
[**botSendAnswerCreate**](BotApi.md#botSendAnswerCreate) | **POST** /v1/bot/send_answer/ | 
[**botValidateCreate**](BotApi.md#botValidateCreate) | **POST** /v1/bot/validate/ | 
[**botViewAnswersList**](BotApi.md#botViewAnswersList) | **GET** /v1/bot/view_answers/ | 
[**botViewQuestionsAnswersList**](BotApi.md#botViewQuestionsAnswersList) | **GET** /v1/bot/view_questions_answers/ | 


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



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

var apiInstance = new EduchatApi.BotApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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



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

var apiInstance = new EduchatApi.BotApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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



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

var apiInstance = new EduchatApi.BotApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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



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

var apiInstance = new EduchatApi.BotApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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



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

var apiInstance = new EduchatApi.BotApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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



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

var apiInstance = new EduchatApi.BotApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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



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

var apiInstance = new EduchatApi.BotApi();

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

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

### Parameters

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

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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



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

var apiInstance = new EduchatApi.BotApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

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



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

var apiInstance = new EduchatApi.BotApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

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

### Authorization

No authorization required

### HTTP request headers

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

