Skip to content

Commit f90308d

Browse files
author
Erik Räni
authored
1.1.0 (#5)
[skip ci]
1 parent 3be36f1 commit f90308d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+413
-105
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Messente API Library
22

3-
- Messente API version: 1.0.2
4-
- Python package version: 1.0.4
3+
- Messente API version: 1.1.0
4+
- Python package version: 1.1.0
55

6-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
6+
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
77

88
## Installation
99

docs/Omnimessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**to** | **str** | Phone number in e.164 format |
7-
**messages** | [**list[OneOfViberSMSWhatsApp]**](OneOfViberSMSWhatsApp.md) | An array of messages |
7+
**messages** | [**list[OneOfViberSMSWhatsAppTelegram]**](OneOfViberSMSWhatsAppTelegram.md) | An array of messages |
88
**dlr_url** | **str** | URL where the delivery report will be sent | [optional]
99
**text_store** | [**TextStore**](TextStore.md) | | [optional]
1010
**time_to_send** | **datetime** | Optional parameter for sending messages at some specific time in the future. Time must be specified in the ISO-8601 format. If no timezone is specified, then the timezone is assumed to be UTC Examples: * Time specified with timezone: 2018-06-22T09:05:07+00:00 Time specified in UTC: 2018-06-22T09:05:07Z * Time specified without timezone: 2018-06-22T09:05 (equivalent to 2018-06-22T09:05+00:00) | [optional]

docs/Telegram.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Telegram
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**sender** | **str** | Phone number or alphanumeric sender name | [optional]
7+
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional]
8+
**text** | **str** | Plaintext content for Telegram | [optional]
9+
**image_url** | **str** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" | [optional]
10+
**document_url** | **str** | URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" | [optional]
11+
**audio_url** | **str** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\" | [optional]
12+
**channel** | **str** | The channel used to deliver the message | [optional] [default to 'telegram']
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

messente_api/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"""
66
Messente API
77
8-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
8+
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
99
10-
The version of the OpenAPI document: 1.0.2
10+
The version of the OpenAPI document: 1.1.0
1111
Contact: messente@messente.com
1212
Generated by: https://openapi-generator.tech
1313
"""
1414

1515

1616
from __future__ import absolute_import
1717

18-
__version__ = "1.0.4"
18+
__version__ = "1.1.0"
1919

2020
# import apis into sdk package
2121
from messente_api.api.blacklist_api import BlacklistApi
@@ -60,6 +60,7 @@
6060
from messente_api.models.omnimessage import Omnimessage
6161
from messente_api.models.sms import SMS
6262
from messente_api.models.status import Status
63+
from messente_api.models.telegram import Telegram
6364
from messente_api.models.text_store import TextStore
6465
from messente_api.models.viber import Viber
6566
from messente_api.models.whats_app import WhatsApp

messente_api/api/blacklist_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"""
44
Messente API
55
6-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
6+
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
77
8-
The version of the OpenAPI document: 1.0.2
8+
The version of the OpenAPI document: 1.1.0
99
Contact: messente@messente.com
1010
Generated by: https://openapi-generator.tech
1111
"""

messente_api/api/contacts_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"""
44
Messente API
55
6-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
6+
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
77
8-
The version of the OpenAPI document: 1.0.2
8+
The version of the OpenAPI document: 1.1.0
99
Contact: messente@messente.com
1010
Generated by: https://openapi-generator.tech
1111
"""

messente_api/api/delivery_report_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"""
44
Messente API
55
6-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
6+
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
77
8-
The version of the OpenAPI document: 1.0.2
8+
The version of the OpenAPI document: 1.1.0
99
Contact: messente@messente.com
1010
Generated by: https://openapi-generator.tech
1111
"""

messente_api/api/groups_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"""
44
Messente API
55
6-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
6+
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
77
8-
The version of the OpenAPI document: 1.0.2
8+
The version of the OpenAPI document: 1.1.0
99
Contact: messente@messente.com
1010
Generated by: https://openapi-generator.tech
1111
"""

messente_api/api/omnimessage_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"""
44
Messente API
55
6-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
6+
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
77
8-
The version of the OpenAPI document: 1.0.2
8+
The version of the OpenAPI document: 1.1.0
99
Contact: messente@messente.com
1010
Generated by: https://openapi-generator.tech
1111
"""

messente_api/api_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"""
33
Messente API
44
5-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
5+
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501
66
7-
The version of the OpenAPI document: 1.0.2
7+
The version of the OpenAPI document: 1.1.0
88
Contact: messente@messente.com
99
Generated by: https://openapi-generator.tech
1010
"""
@@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7777
self.default_headers[header_name] = header_value
7878
self.cookie = cookie
7979
# Set default User-Agent.
80-
self.user_agent = 'OpenAPI-Generator/1.0.4/python'
80+
self.user_agent = 'OpenAPI-Generator/1.1.0/python'
8181

8282
def __del__(self):
8383
if self._pool:

0 commit comments

Comments
 (0)