Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Messente API Library

- Messente API version: 1.0.2
- C# package version: 1.0.2
- Messente API version: 1.1.0
- C# package version: 1.1.0

[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.
[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.

## Installation

Install Messente API library via NuGet Package Manager or .NET CLI.

### Package Manager

`Install-Package com.Messente.Api -Version 1.0.2`
`Install-Package com.Messente.Api -Version 1.1.0`

### .NET CLI

`dotnet add package com.Messente.Api --version 1.0.2`
`dotnet add package com.Messente.Api --version 1.1.0`

## Features

Expand Down Expand Up @@ -118,7 +118,7 @@ namespace Example

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)

## Terms

Expand Down
4 changes: 2 additions & 2 deletions docs/BlacklistApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new BlacklistApi();
var phone = phone_example; // string | A phone number
var phone = +37251000000; // string | A phone number

try
{
Expand Down Expand Up @@ -218,7 +218,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new BlacklistApi();
var phone = phone_example; // string | A phone number
var phone = +37251000000; // string | A phone number

try
{
Expand Down
16 changes: 8 additions & 8 deletions docs/ContactsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new ContactsApi();
var groupId = groupId_example; // string | String in UUID format
var phone = phone_example; // string | A phone number
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format
var phone = +37251000000; // string | A phone number

try
{
Expand Down Expand Up @@ -167,7 +167,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new ContactsApi();
var phone = phone_example; // string | A phone number
var phone = +37251000000; // string | A phone number

try
{
Expand Down Expand Up @@ -229,7 +229,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new ContactsApi();
var phone = phone_example; // string | A phone number
var phone = +37251000000; // string | A phone number

try
{
Expand Down Expand Up @@ -292,7 +292,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new ContactsApi();
var phone = phone_example; // string | A phone number
var phone = +37251000000; // string | A phone number

try
{
Expand Down Expand Up @@ -418,8 +418,8 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new ContactsApi();
var groupId = groupId_example; // string | String in UUID format
var phone = phone_example; // string | A phone number
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format
var phone = +37251000000; // string | A phone number

try
{
Expand Down Expand Up @@ -482,7 +482,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new ContactsApi();
var phone = phone_example; // string | A phone number
var phone = +37251000000; // string | A phone number
var contactUpdateFields = new ContactUpdateFields(); // ContactUpdateFields |

try
Expand Down
6 changes: 3 additions & 3 deletions docs/GroupsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new GroupsApi();
var groupId = groupId_example; // string | String in UUID format
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format

try
{
Expand Down Expand Up @@ -161,7 +161,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new GroupsApi();
var groupId = groupId_example; // string | String in UUID format
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format

try
{
Expand Down Expand Up @@ -283,7 +283,7 @@ namespace Example
Configuration.Default.Password = "YOUR_PASSWORD";

var apiInstance = new GroupsApi();
var groupId = groupId_example; // string | String in UUID format
var groupId = 5792a02a-e5c2-422b-a0a0-0ae65d814663; // string | String in UUID format
var groupName = new GroupName(); // GroupName |

try
Expand Down
15 changes: 15 additions & 0 deletions docs/Telegram.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# com.Messente.Api.Model.Telegram
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Sender** | **string** | Phone number or alphanumeric sender name | [optional]
**Validity** | **int?** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional]
**Text** | **string** | Plaintext content for Telegram | [optional]
**ImageUrl** | **string** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" | [optional]
**DocumentUrl** | **string** | URL for the embedded image. Mutually exclusive with \"audio_url\" and \"image_url\" | [optional]
**AudioUrl** | **string** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"image_url\" | [optional]
**Channel** | **string** | The channel used to deliver the message | [optional] [default to ChannelEnum.Telegram]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

4 changes: 2 additions & 2 deletions src/com.Messente.Api/Api/BlacklistApi.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 2 additions & 2 deletions src/com.Messente.Api/Api/ContactsApi.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 2 additions & 2 deletions src/com.Messente.Api/Api/DeliveryReportApi.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 2 additions & 2 deletions src/com.Messente.Api/Api/GroupsApi.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 2 additions & 2 deletions src/com.Messente.Api/Api/OmnimessageApi.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 2 additions & 2 deletions src/com.Messente.Api/Client/ApiClient.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 2 additions & 2 deletions src/com.Messente.Api/Client/ApiException.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 2 additions & 2 deletions src/com.Messente.Api/Client/ApiResponse.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
14 changes: 7 additions & 7 deletions src/com.Messente.Api/Client/Configuration.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand All @@ -29,7 +29,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "1.0.2";
public const string Version = "1.1.0";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -110,7 +110,7 @@ static Configuration()
/// </summary>
public Configuration()
{
UserAgent = "OpenAPI-Generator/1.0.2/csharp";
UserAgent = "OpenAPI-Generator/1.1.0/csharp";
BasePath = "https://api.messente.com/v1";
DefaultHeader = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -183,7 +183,7 @@ public Configuration(
string tempFolderPath = null,
string dateTimeFormat = null,
int timeout = 100000,
string userAgent = "OpenAPI-Generator/1.0.2/csharp"
string userAgent = "OpenAPI-Generator/1.1.0/csharp"
// ReSharper restore UnusedParameter.Local
)
{
Expand Down Expand Up @@ -414,8 +414,8 @@ public static String ToDebugReport()
{
String report = "C# SDK (com.Messente.Api) Debug Report:\n";
report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n";
report += " Version of the API: 1.0.2\n";
report += " SDK Package Version: 1.0.2\n";
report += " Version of the API: 1.1.0\n";
report += " SDK Package Version: 1.1.0\n";

return report;
}
Expand Down
4 changes: 2 additions & 2 deletions src/com.Messente.Api/Client/ExceptionFactory.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Messente API
*
* [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.
* [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.
*
* OpenAPI spec version: 1.0.2
* OpenAPI spec version: 1.1.0
* Contact: messente@messente.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading