# telegram-assistant-connector
Mentortools telegram assistant connector

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.0
- Package version: 0.1.0+2399831551
- Generator version: 7.20.0
- Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen

## Requirements.

Python 3.7+

## Installation & Usage
### pip install

If the python package is hosted on a repository, you can install directly using:

```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)

Then import the package:
```python
import telegram_assistant_connector
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import telegram_assistant_connector
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import time
import telegram_assistant_connector
from telegram_assistant_connector.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = telegram_assistant_connector.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
async with telegram_assistant_connector.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = telegram_assistant_connector.DefaultApi(api_client)

    try:
        # Health Check
        api_response = await api_instance.default_health_check()
        print("The response of DefaultApi->default_health_check:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->default_health_check: %s\n" % e)

```

## Documentation for API Endpoints

All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**default_health_check**](docs/DefaultApi.md#default_health_check) | **GET** / | Health Check
*TelegramConnectorApi* | [**telegram_connector_send_authorization_message**](docs/TelegramConnectorApi.md#telegram_connector_send_authorization_message) | **POST** /v1/bot/auth/{user_id} | Send authorization message
*TelegramConnectorApi* | [**telegram_connector_send_message**](docs/TelegramConnectorApi.md#telegram_connector_send_message) | **POST** /v1/bot/message/send | Send message


## Documentation For Models

 - [HTTPValidationError](docs/HTTPValidationError.md)
 - [LocationInner](docs/LocationInner.md)
 - [SendMessagePayload](docs/SendMessagePayload.md)
 - [ValidationError](docs/ValidationError.md)
 - [WrappedResponseBool](docs/WrappedResponseBool.md)
 - [WrappedResponseInt](docs/WrappedResponseInt.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization

Endpoints do not require authorization.


## Author




